Created
April 8, 2013 05:44
-
-
Save hbsnow/5334487 to your computer and use it in GitHub Desktop.
PHPでAからZのアルファベットを連続して出力する
This file contains 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
// 小文字 | |
for($i=0; $i<26; $i++){ | |
echo chr(97+$i); | |
} | |
// 大文字 | |
for($i=0; $i<26; $i++){ | |
echo chr(65+$i); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment