mirror of
https://github.com/php/php-src.git
synced 2024-10-06 09:16:11 +00:00
19 lines
184 B
PHP
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
|