<html>
<head>
<title>Passing Argument by Reference-aimtocode</title>
</head>
<body>
<?php
function addFive($num) {
$num += 8;
}
function addSix(&$num) {
$num += 5;
}
$orignum = 13;
addFive( $orignum );
echo "Original Value is $orignum<br />";
addSix( $orignum );
echo "Original Value is $orignum<br />";
?>
</body>
</html>