ID:               49362
 Updated by:       j...@php.net
 Reported By:      tomas dot hlavacek at firma dot volny dot cz
 Status:           Assigned
 Bug Type:         PHP options/info functions
 Operating System: *
 PHP Version:      5.3, 6
 Assigned To:      kalle
 New Comment:

Correction: E_ERROR of course. :)


Previous Comments:
------------------------------------------------------------------------

[2009-08-26 11:08:07] j...@php.net

And in HEAD these should be E_FATAL errors.

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

[2009-08-26 09:59:19] tomas dot hlavacek at firma dot volny dot cz

Yes, true. What Error Level Constant is used for showing deprecated ini
settings then?

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

[2009-08-26 09:52:14] j...@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] j...@php.net

Are you sure you really updated everything? And to turn it off, just
remove E_DEPRECATED from your error_reporting.

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

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

Reply via email to