php-src/tests/output/ob_014.phpt
Michael Wallner 0ff7bc29d9 - fix tests to comply with upgraded string.c
- use add_next_index_zval() when listing handlers
2006-08-22 08:16:37 +00:00

15 lines
268 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: (null)() expects exactly 1 parameter, 2 given in %s on line %d