dis-bench / src /php /php-src /tests /lang /017.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
227 Bytes
--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