mirror of
https://github.com/php/php-src.git
synced 2025-01-02 08:54:04 +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
|