Edit report at http://bugs.php.net/bug.php?id=52570&edit=1

 ID:                 52570
 Updated by:         ka...@php.net
 Reported by:        bernardo at datamex dot com dot br
 Summary:            register_globals on in php 5.3
-Status:             Open
+Status:             Assigned
 Type:               Feature/Change Request
 Package:            *General Issues
 Operating System:   Freebsd
 PHP Version:        5.3.3
-Assigned To:        
+Assigned To:        kalle
 Block user comment: N

 New Comment:

Yep thats right in 5.3 it throws a regular E_WARNING, whereas in 5.4 it
will throw an E_CORE_WARNING. So disabling E_DEPRECATED in your php.ini
won't disable those warnings although the error message indicates its a
deprecation.



However I'm going to commit a patch that changes it back to E_DEPRECATED
as my original patch had before it was committed, and the E_ERROR for
zend.ze1_compatibility_mode will be changed to an E_CORE_ERROR.


Previous Comments:
------------------------------------------------------------------------
[2010-08-09 21:38:41] bernardo at datamex dot com dot br

Description:
------------
Because the message below: 



Warning: Directive 'register_globals' is deprecated in PHP 5.3...



is generated as a PHP Warning and not Deprecated?



Think about how to upgrade php to 5.3 on a server where there are
several customers with scripts that use register globals on



I would leave as register globals on and 

error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED &
~E_USER_DEPRECATED, thus omitting the message register globals is
deprecated



------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=52570&edit=1

Reply via email to