mirror of
https://github.com/php/php-src.git
synced 2024-10-07 01:36:14 +00:00
21 lines
213 B
Plaintext
21 lines
213 B
Plaintext
|
--TEST--
|
||
|
Testing stack after early function return
|
||
|
--POST--
|
||
|
--GET--
|
||
|
--FILE--
|
||
|
<?php
|
||
|
old_function F (
|
||
|
if(1):
|
||
|
return("Hello");
|
||
|
endif;
|
||
|
);
|
||
|
|
||
|
$i=0;
|
||
|
while($i<2):
|
||
|
echo F();
|
||
|
$i++;
|
||
|
endwhile;
|
||
|
?>
|
||
|
--EXPECT--
|
||
|
HelloHello
|