Req #14210 [Opn->Csd]: Can we have ZEND_HANDLE_STREAM?
| From: | jani@php.net | Date: | Fri, 17 Dec 2010 13:22:04 +0000 |
| Subject: | Req #14210 [Opn->Csd]: Can we have ZEND_HANDLE_STREAM? | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-157050@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=14210&edit=1
ID: 14210
Updated by: jani@php.net
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