renaming for the sake of having better naming

This commit is contained in:
Dan Buch
2011-01-02 23:17:16 -05:00
parent 00969ebd03
commit 43765f44ce
139 changed files with 5 additions and 5 deletions

30
web/html/functions.php Normal file
View File

@@ -0,0 +1,30 @@
<?php
require_once("_head.php");
mkheader("functions!", "#fafafa");
?>
<body>
<!-- ======================================================= -->
<pre><?php
function sum($this, $other=5) {
return $this + $other;
}
print "I am human, I am.\n";
$a = $_GET['a'] ? $_GET['a'] : 72 ;
print "$a plus 5 is " . sum($a, 5) . ".\n";
print "$a plus 5 is " . sum($a) . ".\n";
?></pre>
</body>
</html>