checking PHP-syntax ...
| From: | Ingo Fischer | Date: | Sun, 29 Oct 2000 13:53:14 +0000 |
| Subject: | checking PHP-syntax ... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-22549@lists.php.net to get a copy of this message | ||
Hello !
I have to problem that I need to check the overall-syntax of a piece of PHP-code
before execution it. The piece of PHP-code is entered as a text and is eval'd.
The problem is that when I eval the text and there is an error in it (like someone
entered some normal text) and I get an parse-error and my script stops executing ...
Has anyone any idea how to make a php-syntax check ???
Many thanks for an answer !!
Greetings
Ingo Fischer
Attachment: [application/x-pkcs7-signature] S/MIME Cryptographic Signature smime.p7s
Attachment: [application/x-pkcs7-signature] S/MIME Cryptographic Signature smime.p7s