php-src/tests/lang/010.phpt
2020-02-03 22:52:20 +01:00

14 lines
167 B
PHP

--TEST--
Testing function parameter passing with a return value
--FILE--
<?php
function test ($b) {
$b++;
return($b);
}
$a = test(1);
echo $a;
?>
--EXPECT--
2