|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-05-27 10:09 UTC] jani@php.net
[2009-05-29 15:15 UTC] aaron dot chmelik at gmail dot com
[2009-06-02 08:00 UTC] jani@php.net
[2009-06-02 18:47 UTC] aaron dot chmelik at gmail dot com
[2009-06-02 21:55 UTC] jani@php.net
[2009-06-02 23:05 UTC] aaron dot chmelik at gmail dot com
[2009-06-03 21:17 UTC] jani@php.net
[2011-04-24 01:29 UTC] aosmith at gmail dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 04 05:00:01 2025 UTC |
Description: ------------ PHP has ceased reporting any errors. I recently installed the GD libs, but haven't made any changes to the error reporting in the php.ini file, any changes to httpd.conf for error reporting or .htaccess at all (recently). I am running PHP 5.2.9 on Mac OSX 10.5.6 with Apache 2.2.9. I would provide a URL for replicating the issue, but I am running PHP on a local system, and am ignoring all outside requests to apache. I ran phpinfo(), the error_reporting value is 6143 (E_ALL) Reproduce code: --------------- <?php require("dbconnect.php"); //this file does not exist $test = mysql_query("SELECT * FROM applicants WHERE this = 'test'"); //again, does not exist if(!$test){ echo "Error"; } while($testdisp = mysql_fetch_array($test)){ echo $testdisp['this']; } ?> Expected result: ---------------- It should give me an error that the file doesn't exist. I have tested this with a number of errors, both non-fatal and fatal, and have received NO results Actual result: -------------- If I don't comment out the require line, I get the word "Error" echoed from my scripted error checking. If I don't comment out the require line, I get a blank page. I don't get any errors from PHP.