History log of /PHP_5_3/ext/standard/streamsfuncs.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5c701d1 03-May-2013 Anatol Belski <ab@php.net> better fix for bug #64770
/PHP_5_3/ext/standard/streamsfuncs.c
b1ea0b7 03-May-2013 Anatol Belski <ab@php.net> Fixed bug #64770 stream_select() fails with pipes

returned by proc_open() on Windows x64
/PHP_5_3/ext/standard/streamsfuncs.c
f082d63 22-Apr-2013 Anatol Belski <ab@php.net> Fixed stream_socket_pair() on Windows x64 and

improved errorhandling in the socketpair() implementation.
/PHP_5_3/ext/standard/streamsfuncs.c
a2045ff 01-Jan-2013 Xinchen Hui <laruence@php.net> Happy New Year~
/PHP_5_3/ext/standard/streamsfuncs.c
bcefc31 24-Feb-2012 Gustavo André dos Santos Lopes <cataphract@php.net> - Better fix for #61115.
- Fixed resource leak in stream_socket_client().
/PHP_5_3/ext/standard/streamsfuncs.c
e4ca0ed 01-Jan-2012 Felipe Pena <felipe@php.net> - Year++
/PHP_5_3/ext/standard/streamsfuncs.c
da0e2a4 01-Feb-2011 Gustavo André dos Santos Lopes <cataphract@php.net> - Fixed several comparisons that always result in true of false
due to signedness of one of the operands, either by removing
dead code or fixing it.
- Thrown some comments around in php_stream_get_record.
- See http://www.mail-archive.com/internals@lists.php.net/msg49525.html
/PHP_5_3/ext/standard/streamsfuncs.c
927bf09 01-Jan-2011 Felipe Pena <felipe@php.net> - Year++
/PHP_5_3/ext/standard/streamsfuncs.c
5eb2646 30-Dec-2010 Gustavo André dos Santos Lopes <cataphract@php.net> - Do not violate php_stream abstraction and use php_stream_tell instead of accessing the field .position.
#Should have no behavior changes.
/PHP_5_3/ext/standard/streamsfuncs.c
c99251f 14-Oct-2010 Gustavo André dos Santos Lopes <cataphract@php.net> - [DOC] Reverted rev #304382 and rev #304380, as I figured out a way to
fix the erratic behavior without breaking backwards compatibility. Namely,
$offset retains SEEK_SET behavior but actually SEEK_CUR is passed to
_php_stream_seek, if possible, by moving the offset stream->position bytes.
- Addresses bug #53006.
/PHP_5_3/ext/standard/streamsfuncs.c
4275e74 06-Sep-2010 Pierre Joye <pajoye@php.net> - timeval element are always 32bit long on Windows
/PHP_5_3/ext/standard/streamsfuncs.c
b298ed5 12-Apr-2010 Pierre Joye <pajoye@php.net> - [doc] merge stream_set_read_buffer, equivalent of stream_set_write_buffer for read operations. Fixing possible bad effects while reading devices
/PHP_5_3/ext/standard/streamsfuncs.c
c4eafdd 08-Apr-2010 Pierre Joye <pajoye@php.net> - WS
/PHP_5_3/ext/standard/streamsfuncs.c
9ba1e81 03-Jan-2010 Sebastian Bergmann <sebastian@php.net> sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
/PHP_5_3/ext/standard/streamsfuncs.c
207d913 24-Dec-2009 Mikko Koppanen <mkoppanen@php.net> Changed stream_resolve_include_path to use zend_resolve_path
backported stream_resolve_include_path to PHP 5.3
backported stream_resolve_include_path test to PHP 5.3
/PHP_5_3/ext/standard/streamsfuncs.c
a94558c 08-Dec-2009 Felipe Pena <felipe@php.net> - Added MAKE_COPY_ZVAL(ppzv, pzv) macro
/PHP_5_3/ext/standard/streamsfuncs.c
d744463 03-Aug-2009 Felipe Pena <felipe@php.net> - CS
/PHP_5_3/ext/standard/streamsfuncs.c
80ec458 03-Aug-2009 Felipe Pena <felipe@php.net> - Improved. No ugly copy. (Tony)
/PHP_5_3/ext/standard/streamsfuncs.c
1648ab5 03-Aug-2009 Felipe Pena <felipe@php.net> - Re-fix stream_is_local() memory leaks
/PHP_5_3/ext/standard/streamsfuncs.c
24086c4 03-Aug-2009 Antony Dovgal <tony2001@php.net> revert bogus memleak fix causing Valgrind to scream
/PHP_5_3/ext/standard/streamsfuncs.c
99013d8 29-Jul-2009 Felipe Pena <felipe@php.net> - Fixed memleak in stream_is_local()
/PHP_5_3/ext/standard/streamsfuncs.c
8ea9eb8 19-Apr-2009 Arnaud Le Blanc <lbarnaud@php.net> MFH: Better fix for #47997
/PHP_5_3/ext/standard/streamsfuncs.c
14c717f 19-Apr-2009 Arnaud Le Blanc <lbarnaud@php.net> Fixed bug #47997 (stream_copy_to_stream returns 1 on empty streams)
/PHP_5_3/ext/standard/streamsfuncs.c
73b1740 23-Jan-2009 Kalle Sommer Nielsen <kalle@php.net> MFH: Windows support for stream_socket_pair(), by moving the socketpair() implementation from ext/sockets to win32/
/PHP_5_3/ext/standard/streamsfuncs.c
61ae60f 08-Jan-2009 Arnaud Le Blanc <lbarnaud@php.net> MFH: Fixed error conditions handling in stream_filter_append()
/PHP_5_3/ext/standard/streamsfuncs.c
08659c2 31-Dec-2008 Sebastian Bergmann <sebastian@php.net> MFH: Bump copyright year, 3 of 3.
/PHP_5_3/ext/standard/streamsfuncs.c
3b9fce6 14-Nov-2008 Arnaud Le Blanc <lbarnaud@php.net> MFH: Fix proto line
/PHP_5_3/ext/standard/streamsfuncs.c
06119f4 13-Nov-2008 Arnaud Le Blanc <lbarnaud@php.net> MFH: Added stream_context_get_params()
/PHP_5_3/ext/standard/streamsfuncs.c
55ccade 04-Nov-2008 Arnaud Le Blanc <lbarnaud@php.net> MDH: Avoids fclose() from complaining that stream_socket_pair() streams
have not been closed
/PHP_5_3/ext/standard/streamsfuncs.c
55e7b35 04-Nov-2008 Arnaud Le Blanc <lbarnaud@php.net> MFH: Fixed bug #46024 (stream_select() doesn't return the correct number)
/PHP_5_3/ext/standard/streamsfuncs.c
16bce25 30-Oct-2008 Felipe Pena <felipe@php.net> - Fixed memory leak when using offset out of range. (php_stream_copy_to_mem returns 0, but the empty string is alloced)
/PHP_5_3/ext/standard/streamsfuncs.c
1eb552a 30-Oct-2008 Felipe Pena <felipe@php.net> - Fix the fix
- Improved test
/PHP_5_3/ext/standard/streamsfuncs.c
bfa5404 30-Oct-2008 Felipe Pena <felipe@php.net> - MFH: Fixed bug #46426 (3rd parameter offset of stream_get_contents not works for "0")
/PHP_5_3/ext/standard/streamsfuncs.c
5d804d1 26-Oct-2008 Felipe Pena <felipe@php.net> - MFH: Fixed bug #46388 (stream_notification_callback inside of object destroys object variables)
/PHP_5_3/ext/standard/streamsfuncs.c
d69dfa4 21-Oct-2008 Arnaud Le Blanc <lbarnaud@php.net> MFH: initialize optional vars
/PHP_5_3/ext/standard/streamsfuncs.c
97e667d 02-Oct-2008 Antony Dovgal <tony2001@php.net> MFH: use HashPosition to prevent race condition in multithreaded env
/PHP_5_3/ext/standard/streamsfuncs.c
0c74588 08-Sep-2008 Felipe Pena <felipe@php.net> - Fixed some wrong format parameters
/PHP_5_3/ext/standard/streamsfuncs.c
eea3226 16-Aug-2008 Hannes Magnusson <bjori@php.net> MFH: [DOC] Added stream_context_set_default() function. (Davey Shafik)
/PHP_5_3/ext/standard/streamsfuncs.c
28a2239 23-Jul-2008 Antony Dovgal <tony2001@php.net> MFH: invert the logics - FLAG_FCLOSE -> FLAG_NO_FCLOSE
/PHP_5_3/ext/standard/streamsfuncs.c
fdfbfb9 22-Jul-2008 Felipe Pena <felipe@php.net> - MFH: Fixed bug #44246 (closedir() accepts a file resource opened by fopen())
/PHP_5_3/ext/standard/streamsfuncs.c
1ca8daa 21-Jul-2008 Jani Taskinen <jani@php.net> MFH: sync
/PHP_5_3/ext/standard/streamsfuncs.c
cf7e15c 11-Jul-2008 Antony Dovgal <tony2001@php.net> MFH: manage references of stream context properly
/PHP_5_3/ext/standard/streamsfuncs.c
5fe7909 20-Jun-2008 Felipe Pena <felipe@php.net> - New parameter parsing API
/PHP_5_3/ext/standard/streamsfuncs.c
94697ac 04-May-2008 Etienne Kneuss <colder@php.net> MFH: Fix protos
/PHP_5_3/ext/standard/streamsfuncs.c
ef78497 14-Apr-2008 Hannes Magnusson <bjori@php.net> MFH: Add "params" argument to stream_context_create()
/PHP_5_3/ext/standard/streamsfuncs.c
eb5afe0 14-Apr-2008 Antony Dovgal <tony2001@php.net> fix ZTS build and sync with HEAD
/PHP_5_3/ext/standard/streamsfuncs.c
5fcd852 13-Apr-2008 Hannes Magnusson <bjori@php.net> Fixed bug#44712 (stream_context_set_params segfaults on invalid arguments)
/PHP_5_3/ext/standard/streamsfuncs.c
84a8bb0 10-Mar-2008 Felipe Pena <felipe@php.net> MFH: New way for check void parameters
/PHP_5_3/ext/standard/streamsfuncs.c
c466f23 03-Feb-2008 Ilia Alshanetsky <iliaa@php.net> Fixed bug #44028 (crash inside stream_socket_enable_crypto() when enabling
encryption without crypto type)
/PHP_5_3/ext/standard/streamsfuncs.c
d1dded8 31-Dec-2007 Sebastian Bergmann <sebastian@php.net> MFH: Bump copyright year, 2 of 2.
/PHP_5_3/ext/standard/streamsfuncs.c
794217e 23-Nov-2007 Stanislav Malyshev <stas@php.net> fix proto
/PHP_5_3/ext/standard/streamsfuncs.c
cbf466a 20-Nov-2007 Johannes Schlüter <johannes@php.net> MFH: Add stream_supports_lock() function (Benjamin Schulz)
/PHP_5_3/ext/standard/streamsfuncs.c
1ab7f53 08-Nov-2007 Dmitry Stogov <dmitry@php.net> Fixed bug #43216 (stream_is_local() returns false on "file://")
/PHP_5_3/ext/standard/streamsfuncs.c
3db75dc 10-Oct-2007 Jani Taskinen <jani@php.net> MFH
/PHP_5_3/ext/standard/streamsfuncs.c
13ea8ee 10-Oct-2007 Jani Taskinen <jani@php.net> MFH
/PHP_5_3/ext/standard/streamsfuncs.c
4b4d634 07-Oct-2007 Yiduo (David) Wang <davidw@php.net> MFH: Added macros for managing zval refcounts and is_ref statuses
/PHP_5_3/ext/standard/streamsfuncs.c
6723ed1 30-Sep-2007 Jani Taskinen <jani@php.net> MFH: Nuked ending dots from error messages
/PHP_5_3/ext/standard/streamsfuncs.c
539f67e 09-Jul-2007 Dmitry Stogov <dmitry@php.net> Added ability to create local or remote (URL) user streams
Local user streams must not be able to open(), URLs if allow_url_include is off
Implemented new function stream_is_local()
[
- stream_wrapper_register() extended with additional optional argument "flags"
of type long. This time only one flag is implemented
- STREAM_IS_URL, that means that userstream wrapper is remote (URL).
By default stream is local.
- stream_is_local() is a new function that accepts stream and tell if this
stream is local or remote (URL)
]
/PHP_5_3/ext/standard/streamsfuncs.c
4de76f0 09-Apr-2007 Dmitry Stogov <dmitry@php.net> Fixed 64-bit support
/PHP_5_3/ext/standard/streamsfuncs.c
ebd7c13 19-Jan-2007 Antony Dovgal <tony2001@php.net> MFH: fix #40168
/PHP_5_3/ext/standard/streamsfuncs.c
4223aa4 01-Jan-2007 Sebastian Bergmann <sebastian@php.net> MFH: Bump year.
/PHP_5_3/ext/standard/streamsfuncs.c
6ac8ffd 25-Dec-2006 Antony Dovgal <tony2001@php.net> MFH
/PHP_5_3/ext/standard/streamsfuncs.c
03312cc 19-Dec-2006 Dmitry Stogov <dmitry@php.net> Added function stream_socket_shutdown(). It is a wraper for system shutdown() function, that shut downs part of a full-duplex connection
/PHP_5_3/ext/standard/streamsfuncs.c
adf3158 11-Oct-2006 Sara Golemon <pollita@php.net> MFH(r-1.96) Bugfix#38649 Optional param not initialized
/PHP_5_3/ext/standard/streamsfuncs.c
8581c73 03-Oct-2006 Ilia Alshanetsky <iliaa@php.net> optimize zend_hash_init() with known hash table sizes.
/PHP_5_3/ext/standard/streamsfuncs.c
281536e 29-Sep-2006 Hannes Magnusson <bjori@php.net> fix protos
/PHP_5_3/ext/standard/streamsfuncs.c
f4a75d9 11-Sep-2006 Ilia Alshanetsky <iliaa@php.net> Fixed bug #38096 (large timeout values ignored on 32bit machines in
stream_socket_accept() and stream_socket_client()).
/PHP_5_3/ext/standard/streamsfuncs.c
c2a38c6 31-Aug-2006 Antony Dovgal <tony2001@php.net> more z/Z fixes
/PHP_5_3/ext/standard/streamsfuncs.c
54dba63 14-Jul-2006 Antony Dovgal <tony2001@php.net> rephrase the error message (fixes #38106)
/PHP_5_3/ext/standard/streamsfuncs.c
69d6fe4 12-Jul-2006 Antony Dovgal <tony2001@php.net> it's usually good idea to initialize variables
especially if you rely on their values
/PHP_5_3/ext/standard/streamsfuncs.c
ec420c3 26-Jun-2006 Hannes Magnusson <bjori@php.net> Updated protos & vim folding
/PHP_5_3/ext/standard/streamsfuncs.c
223d122 26-Jun-2006 Hannes Magnusson <bjori@php.net> MFH: use the ZEND_ACC_DEPRECATED flag rather than custom warnings
/PHP_5_3/ext/standard/streamsfuncs.c
9ea8d8d 19-Apr-2006 Antony Dovgal <tony2001@php.net> MFH: fix typo
/PHP_5_3/ext/standard/streamsfuncs.c
7c42ddb 14-Apr-2006 Antony Dovgal <tony2001@php.net> fix #37077 (stream_socket_server() leaks when the port is not allowed)
/PHP_5_3/ext/standard/streamsfuncs.c
bace0de 03-Apr-2006 Antony Dovgal <tony2001@php.net> fix spelling in error messages:
greater/less thEn -> greater/less thAn
/PHP_5_3/ext/standard/streamsfuncs.c
6d494f9 23-Feb-2006 Ilia Alshanetsky <iliaa@php.net> Fixed bug #35900 (stream_select() should warning when tv_sec is negative).
/PHP_5_3/ext/standard/streamsfuncs.c
b90d985 01-Feb-2006 Antony Dovgal <tony2001@php.net> MFH: fix #36242 (Possible memory corruption in stream_select())
/PHP_5_3/ext/standard/streamsfuncs.c
5bd9322 01-Jan-2006 foobar <sniper@php.net> bump year and license version
/PHP_5_3/ext/standard/streamsfuncs.c
23e671a 03-Aug-2005 foobar <sniper@php.net> - Bumber up year
/PHP_5_3/ext/standard/streamsfuncs.c
c933634 05-Jul-2005 Ilia Alshanetsky <iliaa@php.net> Fixed crash inside stream_get_line() when length parameter equals 0.
/PHP_5_3/ext/standard/streamsfuncs.c
bcd33d5 17-Jun-2005 Ilia Alshanetsky <iliaa@php.net> Added offset parameter to the stream_copy_to_stream() function.
/PHP_5_3/ext/standard/streamsfuncs.c
29ede46 29-Mar-2005 Sara Golemon <pollita@php.net> BugFix #31137 stream_filter_remove() segfaults when stream already closed
/PHP_5_3/ext/standard/streamsfuncs.c
5bd7be9 13-Mar-2005 Ilia Alshanetsky <iliaa@php.net> Fixed compiler warning.
/PHP_5_3/ext/standard/streamsfuncs.c
4e39089 11-Mar-2005 Marcus Boerger <helly@php.net> - Do not touch return_valu's refcount or is_ref
/PHP_5_3/ext/standard/streamsfuncs.c
58c6ed3 15-Jan-2005 foobar <sniper@php.net> CS fix
/PHP_5_3/ext/standard/streamsfuncs.c
9de934c 14-Jan-2005 Dmitry Stogov <dmitry@php.net> Fixed SIGSEGV in ext/standard/tests/network/tcp4loop.phpt and ext/standard/tests/network/unixloop.phpt
/PHP_5_3/ext/standard/streamsfuncs.c
c4bc5b7 04-Jan-2005 Wez Furlong <wez@php.net> Fix #31408: memory leak in stream_socket_recvfrom
/PHP_5_3/ext/standard/streamsfuncs.c
843807c 25-Dec-2004 Wez Furlong <wez@php.net> When a socket is non-blocking, don't block ssl enabled sockets.
Allow for non-blocking negotiation when calling stream_socket_enable_crypto().
That function will return the foolowing values:

false - negotiation failed
0 - try again when more data is available (only for non-blocking sockets)
true - ssl was enabled
/PHP_5_3/ext/standard/streamsfuncs.c
e1f3bea 23-Dec-2004 Wez Furlong <wez@php.net> really don't blow up
/PHP_5_3/ext/standard/streamsfuncs.c
d3d757d 23-Dec-2004 Wez Furlong <wez@php.net> don't crash...
/PHP_5_3/ext/standard/streamsfuncs.c
419bbff 13-Dec-2004 Wez Furlong <wez@php.net> Make it really build...
/PHP_5_3/ext/standard/streamsfuncs.c
d10b86f 12-Dec-2004 Wez Furlong <wez@php.net> Add stream_socket_pair(), a streams based version of socketpair().
Modified patch from Vincent [six at t0x dot net]
/PHP_5_3/ext/standard/streamsfuncs.c
2390ca7 12-Oct-2004 Ilia Alshanetsky <iliaa@php.net> MFH: Added optional offset parameter to stream_get_contents().
/PHP_5_3/ext/standard/streamsfuncs.c
5c04e39 11-Oct-2004 Ilia Alshanetsky <iliaa@php.net> Fixed bug #30362 (stream_get_line() not handling end string correctly).
/PHP_5_3/ext/standard/streamsfuncs.c
99e290f 17-Sep-2004 Wez Furlong <wez@php.net> Fix for Bug #24189: possibly unsafe select(2) usage.
We avoid the problem by using poll(2).

On systems without poll(2) (older bsd-ish systems, and win32), we emulate
poll(2) using select(2) and check for valid descriptors before attempting
to access them via the descriptor sets.

If an out-of-range descriptor is detected, an E_WARNING is raised suggesting
that PHP should be recompiled with a larger FD_SETSIZE (and also with a
suggested value).

Most uses of select(2) in the source are to poll a single descriptor, so
a couple of handy wrapper functions have been added to make this easier.

A configure option --enable-fd-setsize has been added to both the unix and
win32 builds; on unix we default to 16384 and on windows we default to 256.
Windows FD_SETSIZE imposes a limit on the maximum number of descriptors that
can be select()ed at once, whereas the unix FD_SETSIZE limit is based on the
highest numbered descriptor; 256 should be plenty for PHP scripts under windows
(the default OS setting is 64).

The win32 specific parts are untested; will do that now.
/PHP_5_3/ext/standard/streamsfuncs.c
3455038 14-Sep-2004 Sara Golemon <pollita@php.net> Added stream_filter_remove() to cancel a stream filter.

Register filters as resources when
instantiated by stream_filter_(ap|pre)pend().

Export php_stream_filter_flush() internal function to wind buffered data
out of a particular filter until consumed by a later filter or sent to
stream->readbuffer or stream->ops->write()
/PHP_5_3/ext/standard/streamsfuncs.c
d0ce636 06-Aug-2004 Wez Furlong <wez@php.net> Avoid possible segfault when using stream_socket_client with bogus flags.
/PHP_5_3/ext/standard/streamsfuncs.c
47e7fef 31-Jul-2004 Wez Furlong <wez@php.net> Allow win32 stuff to build non-zts.
Fix stream crypto func (again? didn't I already commit that?)
/PHP_5_3/ext/standard/streamsfuncs.c
45ddc6a 28-Jul-2004 Ilia Alshanetsky <iliaa@php.net> Better address availability check.
/PHP_5_3/ext/standard/streamsfuncs.c
445daac 28-Jul-2004 Ilia Alshanetsky <iliaa@php.net> Fixed possible crash in stream_socket_recvfrom() when length parameter has
a negative value.
/PHP_5_3/ext/standard/streamsfuncs.c
17adf43 22-Jul-2004 Wez Furlong <wez@php.net> Added stream_context_get_default() which returns the default context option.
You may then set options that affect streams operations for the whole script.

Added stream_socket_enable_crypto() which allows you to turn on or off a crypto
layer (eg: SSL/TLS) on stream, if supported by the underlying transport.

Registered a bunch of constants for that.
/PHP_5_3/ext/standard/streamsfuncs.c
5232a5a 16-Jun-2004 Ard Biesheuvel <abies@php.net> 64-bit bugsquash party
/PHP_5_3/ext/standard/streamsfuncs.c
81f05c1 25-Feb-2004 Ard Biesheuvel <abies@php.net> Wordsize fixes
/PHP_5_3/ext/standard/streamsfuncs.c
b2bc520 23-Feb-2004 Ard Biesheuvel <abies@php.net> 64-bit fixes
/PHP_5_3/ext/standard/streamsfuncs.c
dbeb415 08-Jan-2004 Andi Gutmans <andi@php.net> - A belated happy holidays and PHP 5
/PHP_5_3/ext/standard/streamsfuncs.c
7a9cf22 05-Dec-2003 Wez Furlong <wez@php.net> Probable fix for #26534
/PHP_5_3/ext/standard/streamsfuncs.c
37f135c 29-Nov-2003 Wez Furlong <wez@php.net> Add stream_socket_sendto and stream_socket_recvfrom which work very much
like sendto() and recvfrom() syscalls.
/PHP_5_3/ext/standard/streamsfuncs.c
e1bdc33 28-Nov-2003 Ilia Alshanetsky <iliaa@php.net> More memory leak fixes for stream contexts.
/PHP_5_3/ext/standard/streamsfuncs.c
43698d6 27-Nov-2003 Wez Furlong <wez@php.net> initialize this one to be safe
/PHP_5_3/ext/standard/streamsfuncs.c
3ab8d26 03-Nov-2003 Derick Rethans <derick@php.net> - Always store the URI path in the streams structure, and expose it with
stream_get_meta_data().
/PHP_5_3/ext/standard/streamsfuncs.c
628afb4 08-Oct-2003 Wez Furlong <wez@php.net> Implement stream_get_contents, which is somewhat akin to file_get_contents,
except that it works on an already opened stream.
/PHP_5_3/ext/standard/streamsfuncs.c
7eea652 22-Jul-2003 Jason Greene <jason@php.net> Fix EINVAL errors for OS's (Solaris + BSD) that do not appreciate microseconds >= 1 second
Patch submitted from meebery@php.net
/PHP_5_3/ext/standard/streamsfuncs.c
5ecc91c 28-Jun-2003 Wez Furlong <wez@php.net> Merge selectable descriptor casting from PHP_4_3 branch.
/PHP_5_3/ext/standard/streamsfuncs.c
2e4ef86 27-Jun-2003 Sara Golemon <pollita@php.net> MFB
Plug leak in context notifiers, implement notifier->dtor
/PHP_5_3/ext/standard/streamsfuncs.c
496d17b 19-Jun-2003 Sara Golemon <pollita@php.net> Quiet down decode_context_param when stream (not context) is passed.
Switch stream_socket_*() to use macro for retrieving context from zval.
/PHP_5_3/ext/standard/streamsfuncs.c
7ef01f0 19-Jun-2003 Ilia Alshanetsky <iliaa@php.net> Reverting previous patch (not necessary, thanks Pollita ;) )
/PHP_5_3/ext/standard/streamsfuncs.c
a370ceb 19-Jun-2003 Ilia Alshanetsky <iliaa@php.net> Fixed memory leak, when invalid context is specified.
/PHP_5_3/ext/standard/streamsfuncs.c
cbfb63c 19-Jun-2003 Ilia Alshanetsky <iliaa@php.net> Fixed possible crashes in streams code
/PHP_5_3/ext/standard/streamsfuncs.c
897e6a4 17-Jun-2003 Sara Golemon <pollita@php.net> No need to allocate a hashtable when return_value is just going to be overwriten
/PHP_5_3/ext/standard/streamsfuncs.c
2f4e91b 16-Jun-2003 Sara Golemon <pollita@php.net> optionvalue is being copied via zval_copy_ctor, there's no need to addref the original
/PHP_5_3/ext/standard/streamsfuncs.c
99db196 13-Jun-2003 Sara Golemon <pollita@php.net> Plug leak (context options not freed)
Make contexts auto-registered, ensures userland contexts
and C API contexts are both dealt with on request shutdown.
Also brings contexts in keeping with streams which are already
auto-registered.
/PHP_5_3/ext/standard/streamsfuncs.c
f68c7ff 10-Jun-2003 James Cox <imajes@php.net> updating license information in the headers.
/PHP_5_3/ext/standard/streamsfuncs.c
1011d19 02-Jun-2003 Wez Furlong <wez@php.net> Add "seekable" flag to stream_get_meta_data()
# Caveat Emptor: some streams don't know if they are seekable until
# sometime tries to seek first (user streams).
/PHP_5_3/ext/standard/streamsfuncs.c
2d1a6e5 21-May-2003 Wez Furlong <wez@php.net> MFB context refcounting and text-mode fopen fixes
/PHP_5_3/ext/standard/streamsfuncs.c
7c8c09b 20-Apr-2003 Sara Golemon <pollita@php.net> Revert change to stream_copy_to_stream()
/PHP_5_3/ext/standard/streamsfuncs.c
6dde464 19-Apr-2003 Sara Golemon <pollita@php.net> Let stream_copy_to_stream() accept either stream resource or filename/url string. If filename, open the file, do the copy, then close it.
/PHP_5_3/ext/standard/streamsfuncs.c
49b43ad 16-Apr-2003 Moriyoshi Koizumi <moriyoshi@php.net> Changed stream filter factory to be capable of accepting a zval as a parameter
instead of a string
/PHP_5_3/ext/standard/streamsfuncs.c
c64256e 04-Apr-2003 Wez Furlong <wez@php.net> Warning fix
/PHP_5_3/ext/standard/streamsfuncs.c
a65564f 04-Apr-2003 Sara Golemon <pollita@php.net> User shouldn't have to initialize this pass-by-ref parameter
/PHP_5_3/ext/standard/streamsfuncs.c
0148c0c 04-Apr-2003 Wez Furlong <wez@php.net> Simplify and enhance readability.
/PHP_5_3/ext/standard/streamsfuncs.c
b2d4514 04-Apr-2003 Sara Golemon <pollita@php.net> Added stream_get_transports()
/PHP_5_3/ext/standard/streamsfuncs.c
0fd995f 18-Mar-2003 Wez Furlong <wez@php.net> Add the mode string that was used to open the stream to the meta data,
as requested by Philip Olson.
/PHP_5_3/ext/standard/streamsfuncs.c
558db0d 01-Mar-2003 Wez Furlong <wez@php.net> Expose php_stream_copy_to_stream as stream_copy_to_stream(); a high
performance alternative to looping reads and writes.
/PHP_5_3/ext/standard/streamsfuncs.c
349ce76 28-Feb-2003 Wez Furlong <wez@php.net> Tidy up stupid signed/unsigned issues with win32 by introducing a php_socket_t typedef.
/PHP_5_3/ext/standard/streamsfuncs.c
1b53a2d 28-Feb-2003 Wez Furlong <wez@php.net> New user-space functions:
. stream_socket_client() - similar to fsockopen(), but more powerful.
. stream_socket_server() - Creates a server socket.
. stream_socket_accept() - Accept a client connection.
. stream_socket_get_name() - Get local or remote name of socket.

Tidy up some leaks and debug printfs.
Move more streams functions into streamsfuncs.c and streamsfuncs.h.
/PHP_5_3/ext/standard/streamsfuncs.c
493ef36 27-Feb-2003 Wez Furlong <wez@php.net> Update win32 build.
Since msvc sucks, I had to rename ext/standard/streams.c to ext/standed/streamsfuncs.c
/PHP_5_3/ext/standard/streamsfuncs.c