Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (17 sloc) 184 Bytes
--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