Bug #14210: Can we have ZEND_HANDLE_STREAM?

From: Date: Sat, 24 Nov 2001 16:32:09 +0000
Subject: Bug #14210: Can we have ZEND_HANDLE_STREAM?
Groups: php.dev 
Request: Send a blank email to php-dev+get-71535@lists.php.net to get a copy of this message
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



Thread (1 message)

  • teo at gecadsoftware dot com
« previous php.dev (#71535) next »