[thelist] [PHP tip] error suppression

Paul Bennett paul at teltest.com
Thu Sep 18 21:14:54 CDT 2003

<tip type="PHP error suppression">
If you have a function call with error suppression in your script like so:

@logEvent ( $event, $_SERVER['PHP_SELF'];

and the function is in an include file that you FORGET TO INCLUDE in the 

The function call will not only fail silently (as expected)


the script execution will also halt wherever the function call fails 

You have been warned

	Paul Bennett						
	Internet Developer				
	Teltest Electronic Design		
Email: paul at teltest.com				
Phone: 64 4 237 4557					
Web: http://www.teltest.com		
Wap: http://wap.teltest.com			

More information about the thelist mailing list