blob: 0f88fe21d7f41cab80eb79caa4b2341250e9d606 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
--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
|