Created
November 11, 2016 08:27
-
-
Save praswicaksono/2e17089bf5fafc4d7ab736c97626f557 to your computer and use it in GitHub Desktop.
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 | |
for ($i = 0; $i < 10; $i++) { | |
for ($x = 0; $x < 10; $x++) { | |
if ($i == 0 || $i == 9) { | |
echo '*'; | |
continue; | |
} | |
if ($x == 0 || $x == 9) { | |
echo '*'; | |
continue; | |
} | |
echo ' '; | |
} | |
echo PHP_EOL; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment