mirror of
https://github.com/php/php-src.git
synced 2024-11-27 11:53:33 +08:00
4ce0141713
# scan README.NEW-OUTPUT-API to get a grasp # tree has been tagged with BEFORE_NEW_OUTPUT_API # # TODO: # - improve existing output handlers # - move zlib.output_compression cruft from SAPI.c to zlib.c # - output_encoding handling was ambigious, resp. is undefined yet # - more tests
13 lines
143 B
PHP
13 lines
143 B
PHP
--TEST--
|
|
output buffering - ob_get_flush
|
|
--FILE--
|
|
<?php
|
|
ob_start();
|
|
echo "foo\n";
|
|
var_dump(ob_get_flush());
|
|
?>
|
|
--EXPECT--
|
|
foo
|
|
string(4) "foo
|
|
"
|