From:             
Operating system: Windows XP
PHP version:      5.3.2
Package:          Program Execution
Bug Type:         Bug
Bug description:ereg() no longer works as in earlier versions

Description:
------------
PHP scripts that use the ereg() function and which worked properly in
earlier versions may no longer work because of a change in the way ereg()
deals with function arguments. Namely, ereg() now seems to check the
"expected argument" type and throws an error if the argument is of a
different type.

I came across this bug on a brand new, clean install of Drupal 6.3 with the
Ubercart ecommerce package. With PHP 5.3 running, certain images would not
display and multiple warning messages would pop up, each of them detailing
the culprit as ereg(). Simply by changing the running PHP version to 5.2.11
cured all problems.


-- 
Edit bug report at http://bugs.php.net/bug.php?id=51413&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=51413&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=51413&r=trysnapshot53
Try a snapshot (PHP 6.0):            
http://bugs.php.net/fix.php?id=51413&r=trysnapshot60
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=51413&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=51413&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=51413&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=51413&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=51413&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=51413&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=51413&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=51413&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=51413&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=51413&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=51413&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=51413&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=51413&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=51413&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=51413&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=51413&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=51413&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=51413&r=mysqlcfg

Reply via email to