php-src/tests/output/ob_010.phpt
Gabriel Caruso ded3d984c6 Use EXPECT instead of EXPECTF when possible
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
2018-02-20 21:53:48 +01:00

14 lines
146 B
PHP

--TEST--
output buffering - fatalism
--FILE--
<?php
function obh($s)
{
return print_r($s, 1);
}
ob_start("obh");
echo "foo\n";
?>
--EXPECT--
foo