From: mmdrake at bctonline dot com Operating system: Windows PHP version: 4.3.4 PHP Bug Type: PHP options/info functions Bug description: PHP ini E_NOTICE setting ignored
Description: ------------ PHP.ini settings as listed below. In spite of this, notices are written anyway, causing major performance issues when a PHP-Gtk screen has several vars declared on the fly. This worked at one point; no changes have been made to the way the script is called (from a batch file, using php_gtk.exe wrapper); only changes to the code. Can't spot anything that might have this kind of impact, where the ini file is basically ignored. There is only one php.ini file on the machines, so no possibility of wrong file being read. Occurs in both WinNT and Win98. Reproduce code: --------------- PHP.ini has error logging on, with settings as follows: error_reporting = E_ALL & ~E_NOTICE log_errors = On error_log = gtk_error.txt Expected result: ---------------- NO NOTICES, only errors or warnings. Actual result: -------------- All notices are written to the error log, together with warnings and errors. -- Edit bug report at http://bugs.php.net/?id=26865&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26865&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26865&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=26865&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=26865&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=26865&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=26865&r=needscript Try newer version: http://bugs.php.net/fix.php?id=26865&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=26865&r=support Expected behavior: http://bugs.php.net/fix.php?id=26865&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=26865&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=26865&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=26865&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26865&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=26865&r=dst IIS Stability: http://bugs.php.net/fix.php?id=26865&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=26865&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=26865&r=float