You are here: php error_reporting - error not appearing? « PHP Language « IT news, forums, messages
php error_reporting - error not appearing?

Posted by Rob D on 10/29/07 19:53

Hello,

I'm finding an unterminated string error NOT being reported in the
following script, and I can't understand why, any ideas please:

ini_set('display_errors',TRUE);
ini_set('display_startup_errors',TRUE);
ini_set('error_reporting', E_ALL | E_STRICT );

// this error, undefined index, gets reported $test=$_GET['test'];
echo $test;
// this error, missing quote, doesn't echo "starting this script;


running a phpinfo() query in this file, with the error commented out,
shows that the error level is set correctly and display errors is on,
I don't understand why some errors are shown and others not - this
same code displays the error on a couple of other servers I use with
no apparent difference in the error levels or reporting type.

Thanks, Rob

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация