[EDIT]On re-reading your original post, I'm not sure now that I understand the original question, so this may not be what you're looking for.[/EDIT]
<?php
$arr1 = $arr2 = $arr3 = array (
"A", "a", "B","b","C", "c","D", "d","E", "e","F", "f","G", "g",
"H", "h","I", "i","J", "j","K", "k","L", "l","M", "m","N", "n",
"O", "o","P", "p","Q", "q","R", "r","S", "s","T", "t","U", "u",
"V", "v","W", "w","X", "x","Y", "y","Z", "z","0", "1","2", "3",
"4", "5","6", "7","8", "9","!", "@","#", "$","%", "^","&", "*",
"(", ")", "/","_", "-"
);
foreach($arr1 as $c1)
{
foreach($arr2 as $c2)
{
foreach($arr3 as $c3)
{
echo $c1.$c2.$c3."<br />\n";
}
flush();
}
}
?>
Just be advised that you are talking about 753 combinations, or 421,875 lines of output in this implementation.