11-functions/index.php

Go to the documentation of this file.
00001 <?php
00018 function add($num1, $num2)
00019 {
00020     return $num1 + $num2;
00021 }
00022 
00023 
00029 function main()
00030 {
00031     echo "Sum of 3 and 4 is " . add(3, 4) . "<br/>\n";
00032 }
00033 
00034 
00035 main();
00036 
00037 ?>

Generated on Fri Nov 4 14:16:54 2011 for PHP example documentation by  doxygen 1.4.7