> Hmm.. I was wondering if we should go one step further and also provide a > stream to the data. If the most common usage of this construct is going to > be reading the data after __HALT_PHP_PARSER__ then we should optimize for > that case. Something like > > <?php > $data = gzdeflate(file_get_contents("php://data")); > ?> > <?php __DATA__; ?> > ... I think at that point this progresses from "unobtrusive lexer enhancement" into the realm of "magic voodoo fluffiness".
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php