Re: function proposal - php_check_syntax_string
| From: | Marcus Boerger | Date: | Mon, 21 Feb 2005 22:07:27 +0000 |
| Subject: | Re: function proposal - php_check_syntax_string | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-15140@lists.php.net to get a copy of this message | ||
Hello Frédéric,
Monday, February 21, 2005, 1:56:01 PM, you wrote:
> Hello Marcus,
> | have you experimented with php_check_syntax() and temporairy streams?
> tell me if i'm wrong.
> I think it could be possible to use php_lint_script and do compiler read
> variable instead of file
> - set zend_file_handle->type = ZEND_HANDLE_STREAM
> - define two functions for reader and closer to do the job
> (zend_stream.h#36)
at least it sounds reasonable, you should give it a try :-)
Best regards,
Marcus mailto:helly@php.net