xref: /PHP-8.2/tests/lang/010.phpt (revision f8d79582)
1--TEST--
2Testing function parameter passing with a return value
3--FILE--
4<?php
5function test ($b) {
6    $b++;
7    return($b);
8}
9$a = test(1);
10echo $a;
11?>
12--EXPECT--
132
14