1
0
mirror of https://github.com/php/php-src.git synced 2026-04-19 22:11:12 +02:00
Files
archived-php-src/tests/output/ob_014.phpt
2019-03-11 11:32:20 +01:00

16 lines
241 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 parameter, 2 given