mirror of
https://github.com/php/php-src.git
synced 2024-12-12 03:15:29 +08:00
ded3d984c6
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
14 lines
146 B
PHP
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
|