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>