Return to bug22690.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / tests / lang |
Initial revision
--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