Aaron Bannert wrote: > > I think a good way to take advantage of the filter system would be > to break the input stream into buckets of two types: constant strings > and PHP script code. As flex/bison needs to be fed more data (from the > yyinput function I think it's called) it could just read data out of > buckets on the brigade. As it generates data, it could spit out buckets > that are fed back into the brigade and passed downstream. The same > would happen to the "constant string" data buckets: they could just > be quickly passed down the filter chain. > > Is this feasible in the SAPI domain? I know very little about the > SAPI, but will it allow me to override the equivalent of the yyinput > function? >
Cept because of the design of PHP/Zend, the entire file needs to be slurped... think compiled instead of interpreted. -- =========================================================================== Jim Jagielski [|] [EMAIL PROTECTED] [|] http://www.jaguNET.com/ "A society that will trade a little liberty for a little order will lose both and deserve neither" - T.Jefferson -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php