ID: 29498 Updated by: [EMAIL PROTECTED] Reported By: php at cybertinus dot nl -Status: Open +Status: Bogus Bug Type: PHP options/info functions Operating System: Windows XP Pro and Red Hat 8 PHP Version: 5.0.0 New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php Your code sets error reporting to 0 (zero). Go look again at the meaning of the bitwise and operator. Previous Comments: ------------------------------------------------------------------------ [2004-08-02 21:15:20] php at cybertinus dot nl Description: ------------ As soon as you have E_STRICT in your error_reporting line (In your code, or in php.ini, it's all the same) and you have an error, all that is returned by the code is the Actual result. It doesn't matter if you have more code, or HTML before PHP. This is all you get. Reproduce code: --------------- <?php error_reporting(E_ALL & E_STRICT); echo $foo; ?> Expected result: ---------------- In HTML: <br /> <b>Notice</b>: Udefined variable: foo in <b>/var/www/html/<above_code>.php</b> on line <b>3</b><br /> Actual result: -------------- In HTML: <html><body></body></html> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29498&edit=1