Edit report at http://bugs.php.net/bug.php?id=14210&edit=1

 ID:                 14210
 Updated by:         [email protected]
 Reported by:        teo at gecadsoftware dot com
 Summary:            Can we have ZEND_HANDLE_STREAM?
-Status:             Open
+Status:             Closed
 Type:               Feature/Change Request
-Package:            Feature/Change Request
+Package:            Scripting Engine problem
 Operating System:   any
 PHP Version:        4.0CVS-2001-11-24
-Assigned To:        
+Assigned To:        jani
 Block user comment: N
 Private report:     N

 New Comment:

AFAICT from this quite short report, this has been possible since PHP
5.x at least..


Previous Comments:
------------------------------------------------------------------------
[2001-11-24 11:32:09] teo at gecadsoftware dot com

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 this bug report at http://bugs.php.net/bug.php?id=14210&edit=1

Reply via email to