First Draft
First Draft of the Example Files
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
$names = fix_names("WILLIAM", "henry", "gatES");
|
||||
echo $names[0] . " " . $names[1] . " " . $names[2];
|
||||
|
||||
function fix_names($n1, $n2, $n3)
|
||||
{
|
||||
$n1 = ucfirst(strtolower($n1));
|
||||
$n2 = ucfirst(strtolower($n2));
|
||||
$n3 = ucfirst(strtolower($n3));
|
||||
|
||||
return array($n1, $n2, $n3);
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user