php-src/tests/lang/010.phpt
2004-05-19 08:45:46 +00:00

14 lines
161 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