1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
--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