Tue Oct 28, 2008 1:54 pm
<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>
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.