RE: Can't get PHP errors to display or log consistently

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday, March 16, 2007 4:04 PM Robert Cummings
<mailto:robert@xxxxxxxxxxxxx> said:

Update:

Now that I've corrected my mistake in php.ini and set the level of error
reporting that I want I can see *most* errors.

But shouldn't the following produce a visible error?

<?php

error_reporting(E_ALL);
ini_set('display_errors','On');

x
echo 'hello';

?>

If I comment the x I see 'hello'. If I uncomment the x I don't see
anything.



Thanks,
Chris.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux