php-src/tests/lang/012.phpt
2004-05-19 08:45:46 +00:00

19 lines
184 B
PHP

--TEST--
Testing stack after early function return
--FILE--
<?php
function F () {
if(1) {
return("Hello");
}
}
$i=0;
while ($i<2) {
echo F();
$i++;
}
?>
--EXPECT--
HelloHello