mirror of
https://github.com/php/php-src.git
synced 2026-03-28 02:02:32 +01:00
# 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
15 lines
257 B
PHP
15 lines
257 B
PHP
--TEST--
|
|
output buffering - failure
|
|
--FILE--
|
|
<?php
|
|
/*
|
|
* apparently the error handler cannot get the current function name on shutdown
|
|
*/
|
|
ob_start("str_rot13");
|
|
echo "foo\n";
|
|
?>
|
|
--EXPECTF--
|
|
foo
|
|
|
|
Warning: Wrong parameter count for (null)() in %s on line %d
|