From: teo@gecadsoftware.com
Operating system: any
PHP version: 4.0CVS-2001-11-24
PHP Bug Type: Feature/Change Request
Bug description: Can we have ZEND_HANDLE_STREAM?
I saw zend_file_handle has defined FSTREAM and STDIOSTREAM but couldn't
find any example of use.
Is it possible to use a stream instead? i.e.
fh.type = ZEND_HANDLE_STREAM;
fh.handle = (char *)some_string;
For example, in tux one can do tux(
TUX_ACTION_READ_OBJECT,req), so I was thinking to pass on req->object_addr
(filled in with the file content fetched by tux).
So what do you think?
--
Edit bug report at: http://bugs.php.net/?id=14210&edit=1