1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/tests/output/ob_014.phpt
2020-09-09 10:47:43 +02:00

16 lines
240 B
PHP

--TEST--
output buffering - failure
--FILE--
<?php
ob_start("str_rot13");
echo "foo\n";
try {
ob_end_flush();
} catch (TypeError $e) {
echo $e->getMessage(), "\n";
}
?>
--EXPECT--
foo
str_rot13() expects exactly 1 argument, 2 given