Last active
December 13, 2019 14:52
-
-
Save mostafasoufi/9bf570af5a148fd6a4422332e23fde11 to your computer and use it in GitHub Desktop.
Print my name with foreach in PHP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// TASK 1 - print out your name with one of php loops | |
foreach (str_split('Mostafa') as $char) { | |
echo $char; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment