Using a Function Call to Pass an Argument to a Function by Reference : Parameters : Functions PHP Source Code


PHP Source Code » Functions » Parameters »

 

Using a Function Call to Pass an Argument to a Function by Reference




<html>
<head>
<title>Using a Function Call to Pass an Argument to a Function by Reference</title>
</head>
<body>
<?php
function addFive$num ){
     $num += 5;
}
$orignum = 20;
addFive&$orignum );
print$orignum );
?>
</body>
</html>

           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo Functions
» Parameters