Home > Archive > PHP Mirrors > April 2007 > php_check_syntax removal
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
php_check_syntax removal
|
|
|
| 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?
Thanks,
Joris Schroeven
| |
| Hannes Magnusson 2007-04-23, 6:59 pm |
| 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 ph
p 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
|
|
|
|
|