Created
February 7, 2013 03:10
-
-
Save ChrisMorrisOrg/4728085 to your computer and use it in GitHub Desktop.
Because loops are fun.
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 | |
function trialphangle(){ | |
$characters = "abcdefghiklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890+_)(*&^%$#@!~=-`|}{\":?><\][';/.,"; | |
$len = 2; | |
for($i = 0; $i < $len; $i++){ | |
for($j = 0; $j < strlen($characters); $j++){ | |
print substr($characters, $j, $j+2)."\n"; | |
} | |
} | |
} | |
trialphangle(); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment