ID: 49362
User updated by: tomas dot hlavacek at firma dot volny dot cz
Reported By: tomas dot hlavacek at firma dot volny dot cz
Status: Assigned
Bug Type: PHP options/info functions
Operating System: Windows Server 2008
PHP Version: 5.3.0
Assigned To: kalle
New Comment:
Yes, true. What Error Level Constant is used for showing deprecated ini
settings then?
Previous Comments:
------------------------------------------------------------------------
[2009-08-26 09:52:14] jani@php.net
Assigning to Kalle who added these in the obviously wrong place.
Deprecated ini settings checks can not happen in place where a check for
removed setting is done!
------------------------------------------------------------------------
[2009-08-26 09:10:52] tomas dot hlavacek at firma dot volny dot cz
Yes, I'm pretty sure to have everything updated :)
php.ini:
error_reporting = E_ALL & ~E_DEPRECATED
display_errors = On
Even if I change display_errors=Off, that message will appear.
Take a look at this output:
D:\php5>php --ini
PHP Warning: Directive 'register_long_arrays' is deprecated in PHP 5.3
and grea
ter in Unknown on line 0
Configuration File (php.ini) Path: C:\Windows
Loaded Configuration File: D:\php5\php.ini
Scan for additional .ini files in: (none)
Additional .ini files parsed: (none)
For me, that warning message seems to be hardcoded in php source.
Please revise your code.
------------------------------------------------------------------------
[2009-08-26 09:02:49] jani@php.net
Are you sure you really updated everything? And to turn it off, just
remove E_DEPRECATED from your error_reporting.
------------------------------------------------------------------------
[2009-08-26 07:57:43] tomas dot hlavacek at firma dot volny dot cz
Just tried 5.3.1-dev (VC9 thread safe). Same result.
Changing error reporting settings in php.ini doesn't affect showing
that warning message.
------------------------------------------------------------------------
[2009-08-25 19:39:59] jani@php.net
Please try using this snapshot:
http://snaps.php.net/php5.3-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/49362--
Edit this bug report at http://bugs.php.net/?id=49362&edit=1