]> granicus.if.org Git - php/commit
Added ob_get_status() to get array of buffers and it's status.
authorYasuo Ohgaki <yohgaki@php.net>
Fri, 1 Mar 2002 03:05:50 +0000 (03:05 +0000)
committerYasuo Ohgaki <yohgaki@php.net>
Fri, 1 Mar 2002 03:05:50 +0000 (03:05 +0000)
commit82a8d372e5fcbee52769f2c376fad34fec4bf63e
treee43c8ad75de35a270e87f87067a379f39c4cf6db
parent28c5d0f0458304fe6048318567ced2c4610bce19
Added ob_get_status() to get array of buffers and it's status.
(DO NOT document this function yet)

Fixed crash bug with ob_end_*() function. ob_end_*() will not delete
buffers that may not be deleted.

php_start_ob_buffer() and php_ob_set_internal_handler() takes parameter for
if the buffer created may be deleted or not.

Added 3rd parameter "bool erase" to ob_start(). If FALSE, buffer may not be
deleted until script finshes.

Changed ob_*() function that have void return type to bool. All ob_*()
functions return TRUE for success, FALSE for failure.

@ - Added ob_get_status() to get array of buffers and it's status. (Yasuo)
@ - Fixed crash bug with ob_end_*() function. ob_end_*() will not delete
@   buffers that may not be deleted. (Yasuo)
@ - Added 3rd parameter "bool erase" to ob_start(). If FALSE, buffer may not be
@   deleted until script finshes. (Yasuo)
@ - Changed ob_*() function that have void return type to bool. All ob_*()
@   functions return TRUE for success, FALSE for failure. (Yasuo)
ext/session/session.c
ext/standard/basic_functions.c
ext/standard/var.c
ext/zlib/zlib.c
main/main.c
main/output.c
main/php_output.h