mirror of
https://github.com/php/php-src.git
synced 2024-10-20 07:53:58 +00:00
13 lines
212 B
Plaintext
13 lines
212 B
Plaintext
|
--TEST--
|
||
|
Bug #22690 (ob_start() is broken with create_function() callbacks)
|
||
|
--FILE--
|
||
|
<?php
|
||
|
$foo = create_function('$s', 'return strtoupper($s);');
|
||
|
ob_start($foo);
|
||
|
echo $foo("bar\n");
|
||
|
?>
|
||
|
bar
|
||
|
--EXPECT--
|
||
|
BAR
|
||
|
BAR
|