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:             Assigned
 Type:               Feature/Change Request
 Package:            *General Issues
 Operating System:   Freebsd
 PHP Version:        5.3.3
 Assigned To:        kalle
 Block user comment: N

 New Comment:

Fixed in PHP 5.3.4


Previous Comments:
------------------------------------------------------------------------
[2010-08-11 23:18:46] ka...@php.net

Automatic comment from SVN on behalf of kalle
Revision: http://svn.php.net/viewvc/?view=revision&revision=302119
Log: Seems like this one skipped the commit (E_ERROR -> E_CORE_ERROR)
for zend.ze1_compatibility_mode (re #52570)

------------------------------------------------------------------------
[2010-08-11 23:12:20] ka...@php.net

Automatic comment from SVN on behalf of kalle
Revision: http://svn.php.net/viewvc/?view=revision&revision=302118
Log: Changed deprecated ini options on startup from E_WARNING to
E_DEPRECATED (Fixes #52570)

# Trunk patch will follow shortly

------------------------------------------------------------------------
[2010-08-10 17:50:51] ka...@php.net

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.

------------------------------------------------------------------------
[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