Hi Ivan,

>     php://memory/<id>
>     php://temp/<id>/maxmemory:<size>

It's not that hard to write such an function in php.
(http://www.php.net/manual/en/function.stream-wrapper-register.php).

I even once wrote an handler like "string://data-right-here" which
allows to read (only) the "data-right-here" as a file. (I used it for
a function which required a file and does not support strings
directly, and instead of php://memory all data is freed when no longer
used)

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to