php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #14210 Can we have ZEND_HANDLE_STREAM?
Submitted: 2001-11-24 11:32 UTC Modified: 2010-12-17 14:22 UTC
From: teo at gecadsoftware dot com Assigned: jani (profile)
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0CVS-2001-11-24 OS: any
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: teo at gecadsoftware dot com
New email:
PHP Version: OS:

 

 [2001-11-24 11:32 UTC] 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?

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-12-17 14:22 UTC] jani@php.net
-Status: Open +Status: Closed -Package: Feature/Change Request +Package: Scripting Engine problem -Assigned To: +Assigned To: jani
 [2010-12-17 14:22 UTC] jani@php.net
AFAICT from this quite short report, this has been possible since PHP 5.x at least..
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 06 20:01:35 2025 UTC