Skip to content

Instantly share code, notes, and snippets.

@hailwood
Created April 29, 2015 03:45
<?php
for($i = 1; $i <= 10; $i++){
for($j = 1; $j <= (11-($i?:1)); $j++){
echo $i.chr(64+$j)."\n";
}
echo "--\n\n";
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment