Re: php_check_syntax removal
| From: | Hannes Magnusson | Date: | Mon, 23 Apr 2007 17:53:04 +0000 |
| Subject: | Re: php_check_syntax removal | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-35255@lists.php.net to get a copy of this message | ||
Hi Joris
On 4/23/07, Joris <joris.schroeven@pandora.be> wrote:
Dear PHP.NET, I am programming some php, and creating sort of template system in it, i write my template file to template.php Now before i load it, i want to check it on errors, i searched at php.net and found the function php_check_suntax, but this functions seems to be removed since php v 5.0.2, i have a newer version, so is there another function/method i could use in my php script to check the file on errors before showing it into the public?You probably want to ask the people over on the PHP General mailing ilst (see: http://php.net/mailing-lists). There is however no built-in function that verifies the syntax anymore, but you could run it through PHP lint (php -l, see: http://php.net/features.commandline). For further assistance, please contact the PHP general mailing list. -Hannes