From: fernando dot wendt at gmail dot com Operating system: Windows XP PHP version: 5.3.0 PHP Bug Type: *Configuration Issues Bug description: E_DEPRECATED looks like a fatal error, even off
Description: ------------ PHP is ignoring the php.ini error_reporting configuration, and is always hangin up scripts with the E_DEPRACATED message. The default error_reporting = E_ALL & ~E_DEPRACATED is not working. All depracated warnings are working as fatal errors, and i believe that was not the intention it supposed to do. The only way to avoid this (at least on my workaround) is setting up the display_errors = Off (even on my workstation). Reproduce code: --------------- Try some script that have depracated function or issue to work. It will freeze as a fatal error, pointing a depracated message. Expected result: ---------------- First, it should respect the php.ini ~E_DEPRECATED flag and then show deprecated issues as warnings, not as fatal errors. Actual result: -------------- php.ini ~E_DEPRECATED is not working: his behavior looks like a fatal error, and is not being respected if is on or off. -- Edit bug report at http://bugs.php.net/?id=49387&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49387&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49387&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49387&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=49387&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49387&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=49387&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=49387&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=49387&r=needscript Try newer version: http://bugs.php.net/fix.php?id=49387&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=49387&r=support Expected behavior: http://bugs.php.net/fix.php?id=49387&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=49387&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=49387&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=49387&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49387&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=49387&r=dst IIS Stability: http://bugs.php.net/fix.php?id=49387&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=49387&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=49387&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=49387&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=49387&r=mysqlcfg
