Ilia Alshanetsky wrote:script_* is good, I have no naming preference. I am more interested to know whether this functionality is something we need or not...
it is not needed, you can just do
system("php -l filename");
instead ;)
actually i would love to have php_check_syntax() as it would simplify my CVS commit check scripts but i would like to have it return the actual error message as string on errors
IMHO it should be php_check_syntax() and not script_check_syntax() to make clear what it actualy checks (it won't check the syntax of my shell, awk or perl scripts, would it? ;)
Yeah, I guess that makes sense :)
Andi
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php