Sign in
apache
/
netbeans
/
c9ae5f89a8f92e7ca33367c3f2d49de62080ff6c
/
.
/
php
/
php.editor
/
test
/
unit
/
data
/
testfiles
/
gotodeclaration
/
testFuncParamAsReference
/
testFuncParamAsReference.php
blob: f82378faab44011951c16fa31de009b2a89d3abc [
file
]
<?
php
function
funcWithRefParam
(&
$param
)
{
$param
++;
}
$var
=
1
;
echo
"Before value: {$var}\n"
;
funcWithRefParam
(
$var
);
echo
"After value: {$var}\n"
;
?>