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();
|
||||
echo $a1 . " " . $a2 . " " . $a3;
|
||||
|
||||
function fix_names()
|
||||
{
|
||||
global $a1; $a1 = ucfirst(strtolower($a1));
|
||||
global $a2; $a2 = ucfirst(strtolower($a2));
|
||||
global $a3; $a3 = ucfirst(strtolower($a3));
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user