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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 00:01:41 2024 UTC