Passing an Argument to a Function by Value : Parameters : Functions PHP Source Code


PHP Source Code » Functions » Parameters »

 

Passing an Argument to a Function by Value






<html>
<head>
<title>Passing an Argument to a Function by Value</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