Re: function proposal - php_check_syntax_string
| From: | Frédéric LECOINTRE | Date: | Mon, 21 Feb 2005 12:56:01 +0000 |
| Subject: | Re: function proposal - php_check_syntax_string | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-15136@lists.php.net to get a copy of this message | ||
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)
fred