Skip to content

Commit

Permalink
Updating Function Operation
Browse files Browse the repository at this point in the history
  • Loading branch information
Al-Shafi-Github committed Jul 20, 2023
1 parent dbf5b8d commit a5c6859
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Functions.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?php
function happy_birthday($first_name, $age)
{
echo "Happy Birthday dear {$first_name}!" . PHP_EOL;
echo "Happy Birthday to you! <br>";
echo "Happy Birthday dear {$first_name}!" . PHP_EOL;
echo "You are {$age} years old! <br><br>" . PHP_EOL;
}
happy_birthday("Spongebob", 30);
happy_birthday("Patrick", 35);
happy_birthday("Squidward", 45);

0 comments on commit a5c6859

Please sign in to comment.