Re: validate_file() and strip_file()

From: Date: Wed, 19 Nov 2003 19:43:17 +0000
Subject: Re: validate_file() and strip_file()
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-5577@lists.php.net to get a copy of this message
At 08:11 PM 11/19/2003 +0100, Hartmut Holzgraefe wrote:
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

« previous php.internals (#5577) next »