mirror of
https://github.com/php/php-src.git
synced 2024-10-07 09:46:10 +00:00
19 lines
233 B
Plaintext
19 lines
233 B
Plaintext
|
--TEST--
|
||
|
Testing user-defined function falling out of an If into another
|
||
|
--POST--
|
||
|
--GET--
|
||
|
--FILE--
|
||
|
<?php $a = 1;
|
||
|
old_function Test $a (
|
||
|
if($a<3):
|
||
|
return(3);
|
||
|
endif;
|
||
|
);
|
||
|
|
||
|
if($a < Test($a)):
|
||
|
echo "$a\n";
|
||
|
$a++;
|
||
|
endif?>
|
||
|
--EXPECT--
|
||
|
1
|