mirror of
https://github.com/php/php-src.git
synced 2024-12-19 15:00:15 +08:00
16 lines
244 B
PHP
16 lines
244 B
PHP
--TEST--
|
|
output buffering - failure
|
|
--FILE--
|
|
<?php
|
|
ob_start("str_rot13", 1);
|
|
try {
|
|
echo "foo\n";
|
|
} catch (TypeError $e) {
|
|
echo $e->getMessage(), "\n";
|
|
}
|
|
ob_end_flush();
|
|
?>
|
|
--EXPECT--
|
|
foo
|
|
str_rot13() expects exactly 1 parameter, 2 given
|