blob: 203d7cebe38d3ec01d0f055edd80571ca44bf0b9 (
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
|