您好,我想按此顺序列出该数组中所有可能情况的列表
NUMBER LETTER NUMBER
$a = array("0","1","2","3","4","5","6","7","8","9");
$b = array("A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z");
$c = array("0","1","2","3","4","5","6","7","8","9");
它将开始于
0A0
并以
9Z9
我尝试过这样的事情:
foreach($a as $key1 => $first){
foreach($b as $key2 => $second){
foreach($c as $key3 => $third){
print_r($first[$key1].$second[$key2].$key3[$key3]);
}
}
}
但它不起作用,有什么帮助吗?
精慕HU
米琪卡哇伊