Bug #17784 Updated: fopen() 4th parameter not document
| From: | philip@php.net | Date: | Tue, 16 Jul 2002 22:07:59 +0000 |
| Subject: | Bug #17784 Updated: fopen() 4th parameter not document | ||
| References: | 1 | Groups: | php.bugs php.doc |
| Request: | Send a blank email to php-bugs+get-14352@lists.php.net to get a copy of this message | ||
ID: 17784
Updated by: philip@php.net
Reported By: mfischer@php.net
Status: Open
Bug Type: Documentation problem
PHP Version: 4.0CVS-2002-06-16
Assigned To: philip
New Comment:
This has been briefly documented, I lack the knowledge to take it
further. Here's some related information:
Re: [PHP-DEV] streams and options
http://marc.theaimsgroup.com/?l=php-dev&m=101922976301407
Also, in NEWS:
PHP now has a new stream system that allows it to
do some clever stuff with fopen() and fsockopen().
As a result:
. URL wrappers natively supports https:// URLs
. fsockopen() adds support for ssl:// and tls://
connections via TCP/IP
. copy($srcfilename, $destfilename) can now be used with
URL wrappers
. zlib wrappers/streams can be used even on systems
without fopencookie()
. Added 'compress.bzip2://' stream and wrapper support.
. Added user-space streams - it is now possible to define
a class in PHP code and register it as a URL wrapper.
. Most extensions now support streams when passing files,
which means that those extensions will support URL
wrappers. (Wez)
More related php-dev threads:
Stream Filters and Interfaces (a bit long)
http://marc.theaimsgroup.com/?l=php-dev&m=101924701219677
URLs, fopen wrappers and RFC 2718
http://marc.theaimsgroup.com/?l=php-dev&m=101915071800583
Am unassigning from self, remains open.
Previous Comments:
------------------------------------------------------------------------
[2002-07-14 13:50:37] philip@php.net
Still open, I'll document it.
------------------------------------------------------------------------
[2002-07-14 08:20:43] wez@php.net
Just a quick note, because the docs haven't shown up on
the site yet, and I don't have time to resync my phpdoc
tree - the zcontext is for specifying tuning parameters
and callbacks. I did post an example to php-dev a while
back.
I will properly document this stuff when my workload
decreases to something just below fever pitch.
------------------------------------------------------------------------
[2002-07-01 17:34:37] jan@php.net
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a
documentation
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.
------------------------------------------------------------------------
[2002-06-16 10:02:35] mfischer@php.net
The 'zcontext' parameter is not documented.
It allows the reusing of an already stream (?), docs and examples
should be really done.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17784&edit=1