On Sun, Mar 18, 2012 at 2:18 PM, Tim Streater <t...@clothears.org.uk> wrote:
> On 18 Mar 2012 at 17:46, Simon J Welsh <si...@welsh.co.nz> wrote:
>
>> This is expected. The error doesn't occur to the second file is included, so
>> everything in the first included file is parsed and run before execution is
>> halted.
>
> Simon,
>
> Thanks for that. Looks like I should be able to catch most places where an 
> error might occur.

I tend to do a syntax check with php -l on the command line after
editing to see whatever errors might occur before I run the code on
the web site.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to