summaryrefslogtreecommitdiff
path: root/tests/lang/010.phpt
blob: 603abe34d561357e2d057f8931503189d37bdce1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--TEST--
Testing function parameter passing with a return value
--FILE--
<?php
function test ($b) {
	$b++;
	return($b);
}
$a = test(1);
echo $a;
?>
--EXPECT--
2