Return to Snippet

Revision: 30657
at August 19, 2010 00:27 by Moridin


Initial Code
<?php

// file name: checkerrors.php

error_reporting(E_ALL);
ini_set("display_errors", 1); 
include('file_with_errors.php');

Initial URL

                                

Initial Description
Allows you to still view PHP parse errors, even if you don't have write access to your php.ini file. Since PHP pages are parsed before being executed, parse errors won't show up even if you turn on display_errors in the page you are checking.

Initial Title
View PHP Parse Errors

Initial Tags
php

Initial Language
PHP