1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/tests/lang/017.phpt
2020-02-03 22:52:20 +01:00

19 lines
227 B
PHP

--TEST--
Testing user-defined function falling out of an If into another
--FILE--
<?php
$a = 1;
function Test ($a) {
if ($a<3) {
return(3);
}
}
if ($a < Test($a)) {
echo "$a\n";
$a++;
}
?>
--EXPECT--
1