note 123468 added to class.parseerror
| From: | mdlamar at gmail dot com | Date: | Tue, 25 Dec 2018 23:39:29 +0000 |
| Subject: | note 123468 added to class.parseerror | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-209949@lists.php.net to get a copy of this message | ||
So, I make cache files that don't finish writing completely sometimes resulting in parse
errors. php_check_syntax worked back in the day (PHP 5 < 5.0.5) but now doing exec('php -l
' . $file); seems dirty. Any better way to do this in PHP 6? I see in PHP 7 it can be caught
but 6 is high and dry. Email me or comment back here if you have a comment about this subject.
----
Server IP: 208.43.231.9
Probable Submitter: 2a01:4a0:38:1::3 (proxied: 72.239.36.177)
----
Manual Page -- http://php.net/manual/en/class.parseerror.php
Edit -- https://master.php.net/note/edit/123468
Del: integrated -- https://master.php.net/note/delete/123468/integrated
Del: useless -- https://master.php.net/note/delete/123468/useless
Del: bad code -- https://master.php.net/note/delete/123468/bad+code
Del: spam -- https://master.php.net/note/delete/123468/spam
Del: non-english -- https://master.php.net/note/delete/123468/non-english
Del: in docs -- https://master.php.net/note/delete/123468/in+docs
Del: other reasons-- https://master.php.net/note/delete/123468
Reject -- https://master.php.net/note/reject/123468
Search -- https://master.php.net/manage/user-notes.php