First Draft
First Draft of the Example Files
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
$a1 = "WILLIAM";
|
||||
$a2 = "henry";
|
||||
$a3 = "gatES";
|
||||
|
||||
echo $a1 . " " . $a2 . " " . $a3 . "<br>";
|
||||
fix_names($a1, $a2, $a3);
|
||||
echo $a1 . " " . $a2 . " " . $a3;
|
||||
|
||||
function fix_names(&$n1, &$n2, &$n3)
|
||||
{
|
||||
$n1 = ucfirst(strtolower($n1));
|
||||
$n2 = ucfirst(strtolower($n2));
|
||||
$n3 = ucfirst(strtolower($n3));
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user