ID: 39492 Updated by: [EMAIL PROTECTED] Reported By: frederic dot linot at free dot fr Status: Open -Bug Type: Output Control +Bug Type: Feature/Change Request Operating System: mandriva 2006 PHP Version: 5.2.0 New Comment:
Reclassified as feature request. Previous Comments: ------------------------------------------------------------------------ [2006-11-13 09:34:57] frederic dot linot at free dot fr Reproduce code was not complete, sorry.. (last line was omitted) Here is : error_reporting(E_ALL) ; ini_set('error_log', 'errors.txt') ; ini_set('html_errors', false) ; ini_set('error_append_string', " -- ".$_SERVER['REQUEST_URI']) ; ini_set('log_errors', true) ; ini_set('display_errors', true) ; trigger_error("Show me the error_append_string please !") ; ------------------------------------------------------------------------ [2006-11-13 09:31:56] frederic dot linot at free dot fr Description: ------------ error_append_string directive not used when error is logged in a file. Just used when error is displayed on screen. Reproduce code: --------------- error_reporting(E_ALL) ; ini_set('error_log', 'errors.txt') ; ini_set('html_errors', false) ; ini_set('error_append_string', " -- ".$_SERVER['REQUEST_URI']) ; ini_set('log_errors', true) ; ini_set('display_errors', true) ; Expected result: ---------------- in errors.txt file : Notice: Show me the error_append_string please ! in /home/fred/www/EasyZik-2006-10-29/test.php on line 9 -- /test.php on screen : Notice: Show me the error_append_string please ! in /home/fred/www/EasyZik-2006-10-29/test.php on line 9 -- /test.php Actual result: -------------- in errors.txt file : Notice: Show me the error_append_string please ! in /home/fred/www/EasyZik-2006-10-29/test.php on line 9 on screen : Notice: Show me the error_append_string please ! in /home/fred/www/EasyZik-2006-10-29/test.php on line 9 -- /test.php ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39492&edit=1