Re: Parse errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Mar 18, 2012 at 2:18 PM, Tim Streater <tim@xxxxxxxxxxxxxxxx> wrote:
> On 18 Mar 2012 at 17:46, Simon J Welsh <simon@xxxxxxxxxxx> 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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux