Re: Streamy PHP parser input?

From: Date: Mon, 10 Jun 2002 21:38:44 +0000
Subject: Re: Streamy PHP parser input?
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-85110@lists.php.net to get a copy of this message
There should be a way of doing that within the framework of flex by redefining YY_INPUT and hacking around flex. You can, by the way, provide a char * string, that already works today (look at zend_eval_string() or zend_prepare_string_for_scanning()). Zeev At 12:23 AM 6/11/2002, Justin Erenkrantz wrote:
One of the major problems with the apache2filter is that it can not work with any other resource output filter. So, a configuration like (I would like to use this configuration): AddOutputFilterByType BUCKETEER text/html AddType text/html .php AddOutputFilter PHP .php can not work because the bucketeer filter reads the data and does not produce FILE buckets but rather POOL buckets - which is allowed under the httpd-2.0 filter scheme. My personal favorite would be to combine PHP and mod_include so you could have a file containing mod_include and PHP directives. What would we have to do remove the file descriptor requirement for the Zend Engine and PHP? (All of us on the httpd-2.0 side of things would like to see this happen.) AIUI, all input to the Zend Engine must be file-based (there is no API in PHP to pass char*s either). httpd-2.0 can feed the parser char*'s and then indicate when the stream is over. Then, the output can be generated by the PHP engine. Thanks in advance. -- justin -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.dev (#85110) next »