dis-bench / src /php /php-src /tests /output /ob_014.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
240 Bytes
--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