On Wed, 08 Dec 2010 15:10:30 -0000, Clint Byrum <cl...@ubuntu.com> wrote:
On Wed, 2010-12-08 at 01:11 +0000, Gustavo Lopes wrote:
For instance, current scripts can, in POST requests, read any number of
times from php://input or $HTTP_RAW_POST_DATA (to simplify, let's say we
even let go $HTTP_RAW_POST_DATA). For this to be possible, you would
have to have the data in memory because you're reading from php://input
the
first time, you can't know if it will be read a second time, so you
either break BC or keep everything in memory just in case there's a
second read
-- and then you're where you started.
This example would be solved if during the lazy load you change the
php://input stream to point at the memory location that you read it
into.
I'm sorry, this doesn't make any sense. "The memory location you read
into"? Who says you read the post data *into* something, much less a
memory location?
--
Gustavo Lopes
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php