Error Handling
I just switched from a server with php4 to 5 and have a question about the error handling on the developement side. When I am working I am using this code at the top of the page.
<?php
ini_set('display_errors', '1');
ini_set('display_startup_errors', '1');
ini_set('error_reporting', E_ALL | E_NOTICE);
?>
Now my question is if the only other code on the page is something I know will throw an error like
<?php
kjhh
?>
It will throw the error. What confuses me is If I have any other code on the page it will only display a blank page(the page works without me purposefully causing the error), can somebody tell me why this is?
Thank You
Mike
__________________
Peace
Mike
http://www.eclecticpixel.com
|