Click to See Complete Forum and Search --> : Check for errors in a file


Kr|Z
08-02-2003, 05:48 PM
Anybody know if there is a way to check if theres any errors in a php file?

Bootsman123
08-03-2003, 02:08 AM
Yes, run it with full error reporting on.

Kr|Z
08-03-2003, 05:45 AM
I ment to check it with php. A php-script that can check another php-file for errors

Bootsman123
08-03-2003, 05:56 AM
Why would you want a php-script to look through another php-script when you could also use a debugger.

Kr|Z
08-03-2003, 06:49 AM
Its for a template script that makes a temporary php-file from a template. I want it to find out if the temporary php-file has any parse-errors.

Bootsman123
08-03-2003, 07:53 AM
I don't think something like that exists.

Kr|Z
08-03-2003, 09:17 AM
thanks anyway