note 123468 rejected from class.parseerror by cmb

From: Date: Wed, 26 Dec 2018 09:39:11 +0000
Subject: note 123468 rejected from class.parseerror by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-209951@lists.php.net to get a copy of this message
Note Submitter: mdlamar at gmail dot com ---- 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.

« previous php.notes (#209951) next »