mirror of
https://github.com/php/php-src.git
synced 2024-11-28 20:34:29 +08:00
14 lines
161 B
PHP
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
|