note 84681 deleted from function.php-check-syntax by thiago
| From: | thiago@php.net | Date: | Fri, 12 Dec 2008 11:33:12 +0000 |
| Subject: | note 84681 deleted from function.php-check-syntax by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-148063@lists.php.net to get a copy of this message | ||
Note Submitter: Daniel Tome
----
Hi,
All functions that I have tested still fail to report this as an error:
Even the exec('php -l filename.php')
<?php
DELIBERTE PHP ERROR;
?>
That will return as correct syntax but when you run it you get:
Parse error: syntax error, unexpected T_STRING in filename.php on line 2