]> granicus.if.org Git - php/commit
Finalize the closing process of persistent streams. The current
authorIlia Alshanetsky <iliaa@php.net>
Tue, 29 Jul 2003 18:26:34 +0000 (18:26 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Tue, 29 Jul 2003 18:26:34 +0000 (18:26 +0000)
commit4d98e9ec970ed72848c82f7ed0fe7060ad37f66d
tree68f321d17dd025f0b430f45bb69810c86823723e
parent7b18132dbab996cd4a7962907e45a2925ca3544d
Finalize the closing process of persistent streams. The current
behavior/API is as follows:

1) To close a persistent use php_stream_pclose(), it will close the stream
and remove it from the persistent list.

2) Inside PHP code only explicit fclose() will close persistent streams,
all other actions such as unset() or assigning a value to stream handle
will not.

3) Regular streams can still be closed by either fclose(), unset() or an
assignment of a value to the stream handler.
ext/dba/dba.c
ext/standard/file.c
main/php_streams.h
main/streams/streams.c