From: Jared dot Williams1 at ntlworld dot com Operating system: Win200 PHP version: 4CVS-2006-05-17 (snap) PHP Bug Type: Scripting Engine problem Bug description: Can not turn off E_STRICT messages
Description: ------------ Setting error_reporting to 0, doesnt not prevent E_STRICT warnings. Reproduce code: --------------- E:\php5.2-win32>php -r "var_dump(get_cfg_var('cfg_file_path')); var_dump(error_reporting());" string(23) "E:\php5.2-win32\php.ini" int(0) <- error_reporting is 0 E:\php5.2-win32>go-pear PHP Strict Standards: Assigning the return value of new by reference is deprecated in phar://go-pear.phar/PEAR.php on line 563 PHP Strict Standards: Assigning the return value of new by reference is deprecated in phar://go-pear.phar/PEAR.php on line 566 Expected result: ---------------- No PHP Strict Standard warnings. -- Edit bug report at http://bugs.php.net/?id=37478&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37478&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=37478&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37478&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=37478&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=37478&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=37478&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=37478&r=needscript Try newer version: http://bugs.php.net/fix.php?id=37478&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=37478&r=support Expected behavior: http://bugs.php.net/fix.php?id=37478&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=37478&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=37478&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=37478&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37478&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=37478&r=dst IIS Stability: http://bugs.php.net/fix.php?id=37478&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=37478&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=37478&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=37478&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=37478&r=mysqlcfg