Created
March 31, 2016 13:03
-
-
Save Dexus/1ee14f30fb2a4c3baa993921da584a5d 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 | |
$results = []; | |
foreach (range('A', 'Z') as $character) { | |
$results[$character] = []; | |
foreach (range(1, 26) as $number) { | |
$results[$character][] = $character . $number; | |
} | |
} | |
foreach ($results as $result) { | |
echo implode(', ', $result) . PHP_EOL; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment