On Sun, Nov 13, 2011 at 4:26 PM, Reindl Harald wrote: Am 13.11.2011 16:11, schrieb Laruence:
i think / hope this is an accident
if the ob_functions(9 are replaced in any way this is not a doc-problem
it would be a major BC-break and destroy all my work of the last 10 years
rely on ob_start(), ob_get_contents(), ob_get_clean() and the fact
that multiple ob_start() can work inside another one as example to
include module-files using normal output-functions, buffer the output
and replace a palceholder in a template with the buffer while we are
in another template (site-template, list-templates, item-templates)
I see these functions present in the current trunk:
ob_functions in current trunk/5.4 branch:
tyrael@chronos:~/checkouts/php-src/trunk$ ./sapi/cli/php -r
'var_dump(get_defined_functions());'|grep 'ob_'
string(8) "ob_start"
string(8) "ob_flush"
string(8) "ob_clean"
string(12) "ob_end_flush"
string(12) "ob_end_clean"
string(12) "ob_get_flush"
string(12) "ob_get_clean"
string(13) "ob_get_length"
string(12) "ob_get_level"
string(13) "ob_get_status"
string(15) "ob_get_contents"
string(17) "ob_implicit_flush"
string(16) "ob_list_handlers"
tyrael@chronos:~/checkouts/php-src/branches/PHP_5_4$ ./sapi/cli/php -r
'var_dump(get_defined_functions());'|grep 'ob_'
string(8) "ob_start"
string(8) "ob_flush"
string(8) "ob_clean"
string(12) "ob_end_flush"
string(12) "ob_end_clean"
string(12) "ob_get_flush"
string(12) "ob_get_clean"
string(13) "ob_get_length"
string(12) "ob_get_level"
string(13) "ob_get_status"
string(15) "ob_get_contents"
string(17) "ob_implicit_flush"
string(16) "ob_list_handlers"
ob functions in 5.3:
tyrael@chronos:~/checkouts/php-src/branches/PHP_5_4$ php -r
'var_dump(get_defined_functions());'|grep 'ob_'
string(12) "ob_gzhandler"
string(16) "ob_iconv_handler"
string(8) "ob_start"
string(8) "ob_flush"
string(8) "ob_clean"
string(12) "ob_end_flush"
string(12) "ob_end_clean"
string(12) "ob_get_flush"
string(12) "ob_get_clean"
string(13) "ob_get_length"
string(12) "ob_get_level"
string(13) "ob_get_status"
string(15) "ob_get_contents"
string(17) "ob_implicit_flush"
string(16) "ob_list_handlers"
as you can see, there is 2 functions gone in 5.4/trunk:
string(12) "ob_gzhandler"
string(16) "ob_iconv_handler"