3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $alphas = range('A', 'Z'); $cols = $alphas; foreach ($alphas as $alpha) { foreach ($alphas as $alpha2) { $cols[] = $alpha . '' . $alpha2; } } var_dump($cols);
Output for 7.3.0rc3
array(702) { [0]=> string(1) "A" [1]=> string(1) "B" [2]=> string(1) "C" [3]=> string(1) "D" [4]=> string(1) "E" [5]=> string(1) "F" [6]=> string(1) "G" [7]=> string(1) "H" [8]=> string(1) "I" [9]=> string(1) "J" [10]=> string(1) "K" [11]=> string(1) "L" [12]=> string(1) "M" [13]=> string(1) "N" [14]=> string(1) "O" [15]=> string(1) "P" [16]=> string(1) "Q" [17]=> string(1) "R" [18]=> string(1) "S" [19]=> string(1) "T" [20]=> string(1) "U" [21]=> string(1) "V" [22]=> string(1) "W" [23]=> string(1) "X" [24]=> string(1) "Y" [25]=> string(1) "Z" [26]=> string(2) "AA" [27]=> string(2) "AB" [28]=> string(2) "AC" [29]=> string(2) "AD" [30]=> string(2) "AE" [31]=> string(2) "AF" [32]=> string(2) "AG" [33]=> string(2) "AH" [34]=> string(2) "AI" [35]=> string(2) "AJ" [36]=> string(2) "AK" [37]=> string(2) "AL" [38]=> string(2) "AM" [39]=> string(2) "AN" [40]=> string(2) "AO" [41]=> string(2) "AP" [42]=> string(2) "AQ" [43]=> string(2) "AR" [44]=> string(2) "AS" [45]=> string(2) "AT" [46]=> string(2) "AU" [47]=> string(2) "AV" [48]=> string(2) "AW" [49]=> string(2) "AX" [50]=> string(2) "AY" [51]=> string(2) "AZ" [52]=> string(2) "BA" [53]=> string(2) "BB" [54]=> string(2) "BC" [55]=> string(2) "BD" [56]=> string(2) "BE" [57]=> string(2) "BF" [58]=> string(2) "BG" [59]=> string(2) "BH" [60]=> string(2) "BI" [61]=> string(2) "BJ" [62]=> string(2) "BK" [63]=> string(2) "BL" [64]=> string(2) "BM" [65]=> string(2) "BN" [66]=> string(2) "BO" [67]=> string(2) "BP" [68]=> string(2) "BQ" [69]=> string(2) "BR" [70]=> string(2) "BS" [71]=> string(2) "BT" [72]=> string(2) "BU" [73]=> string(2) "BV" [74]=> string(2) "BW" [75]=> string(2) "BX" [76]=> string(2) "BY" [77]=> string(2) "BZ" [78]=> string(2) "CA" [79]=> string(2) "CB" [80]=> string(2) "CC" [81]=> string(2) "CD" [82]=> string(2) "CE" [83]=> string(2) "CF" [84]=> string(2) "CG" [85]=> string(2) "CH" [86]=> string(2) "CI" [87]=> string(2) "CJ" [88]=> string(2) "CK" [89]=> string(2) "CL" [90]=> string(2) "CM" [91]=> string(2) "CN" [92]=> string(2) "CO" [93]=> string(2) "CP" [94]=> string(2) "CQ" [95]=> string(2) "CR" [96]=> string(2) "CS" [97]=> string(2) "CT" [98]=> string(2) "CU" [99]=> string(2) "CV" [100]=> string(2) "CW" [101]=> string(2) "CX" [102]=> string(2) "CY" [103]=> string(2) "CZ" [104]=> string(2) "DA" [105]=> string(2) "DB" [106]=> string(2) "DC" [107]=> string(2) "DD" [108]=> string(2) "DE" [109]=> string(2) "DF" [110]=> string(2) "DG" [111]=> string(2) "DH" [112]=> string(2) "DI" [113]=> string(2) "DJ" [114]=> string(2) "DK" [115]=> string(2) "DL" [116]=> string(2) "DM" [117]=> string(2) "DN" [118]=> string(2) "DO" [119]=> string(2) "DP" [120]=> string(2) "DQ" [121]=> string(2) "DR" [122]=> string(2) "DS" [123]=> string(2) "DT" [124]=> string(2) "DU" [125]=> string(2) "DV" [126]=> string(2) "DW" [127]=> string(2) "DX" [128]=> string(2) "DY" [129]=> string(2) "DZ" [130]=> string(2) "EA" [131]=> string(2) "EB" [132]=> string(2) "EC" [133]=> string(2) "ED" [134]=> string(2) "EE" [135]=> string(2) "EF" [136]=> string(2) "EG" [137]=> string(2) "EH" [138]=> string(2) "EI" [139]=> string(2) "EJ" [140]=> string(2) "EK" [141]=> string(2) "EL" [142]=> string(2) "EM" [143]=> string(2) "EN" [144]=> string(2) "EO" [145]=> string(2) "EP" [146]=> string(2) "EQ" [147]=> string(2) "ER" [148]=> string(2) "ES" [149]=> string(2) "ET" [150]=> string(2) "EU" [151]=> string(2) "EV" [152]=> string(2) "EW" [153]=> string(2) "EX" [154]=> string(2) "EY" [155]=> string(2) "EZ" [156]=> string(2) "FA" [157]=> string(2) "FB" [158]=> string(2) "FC" [159]=> string(2) "FD" [160]=> string(2) "FE" [161]=> string(2) "FF" [162]=> string(2) "FG" [163]=> string(2) "FH" [164]=> string(2) "FI" [165]=> string(2) "FJ" [166]=> string(2) "FK" [167]=> string(2) "FL" [168]=> string(2) "FM" [169]=> string(2) "FN" [170]=> string(2) "FO" [171]=> string(2) "FP" [172]=> string(2) "FQ" [173]=> string(2) "FR" [174]=> string(2) "FS" [175]=> string(2) "FT" [176]=> string(2) "FU" [177]=> string(2) "FV" [178]=> string(2) "FW" [179]=> string(2) "FX" [180]=> string(2) "FY" [181]=> string(2) "FZ" [182]=> string(2) "GA" [183]=> string(2) "GB" [184]=> string(2) "GC" [185]=> string(2) "GD" [186]=> string(2) "GE" [187]=> string(2) "GF" [188]=> string(2) "GG" [189]=> string(2) "GH" [190]=> string(2) "GI" [191]=> string(2) "GJ" [192]=> string(2) "GK" [193]=> string(2) "GL" [194]=> string(2) "GM" [195]=> string(2) "GN" [196]=> string(2) "GO" [197]=> string(2) "GP" [198]=> string(2) "GQ" [199]=> string(2) "GR" [200]=> string(2) "GS" [201]=> string(2) "GT" [202]=> string(2) "GU" [203]=> string(2) "GV" [204]=> string(2) "GW" [205]=> string(2) "GX" [206]=> string(2) "GY" [207]=> string(2) "GZ" [208]=> string(2) "HA" [209]=> string(2) "HB" [210]=> string(2) "HC" [211]=> string(2) "HD" [212]=> string(2) "HE" [213]=> string(2) "HF" [214]=> string(2) "HG" [215]=> string(2) "HH" [216]=> string(2) "HI" [217]=> string(2) "HJ" [218]=> string(2) "HK" [219]=> string(2) "HL" [220]=> string(2) "HM" [221]=> string(2) "HN" [222]=> string(2) "HO" [223]=> string(2) "HP" [224]=> string(2) "HQ" [225]=> string(2) "HR" [226]=> string(2) "HS" [227]=> string(2) "HT" [228]=> string(2) "HU" [229]=> string(2) "HV" [230]=> string(2) "HW" [231]=> string(2) "HX" [232]=> string(2) "HY" [233]=> string(2) "HZ" [234]=> string(2) "IA" [235]=> string(2) "IB" [236]=> string(2) "IC" [237]=> string(2) "ID" [238]=> string(2) "IE" [239]=> string(2) "IF" [240]=> string(2) "IG" [241]=> string(2) "IH" [242]=> string(2) "II" [243]=> string(2) "IJ" [244]=> string(2) "IK" [245]=> string(2) "IL" [246]=> string(2) "IM" [247]=> string(2) "IN" [248]=> string(2) "IO" [249]=> string(2) "IP" [250]=> string(2) "IQ" [251]=> string(2) "IR" [252]=> string(2) "IS" [253]=> string(2) "IT" [254]=> string(2) "IU" [255]=> string(2) "IV" [256]=> string(2) "IW" [257]=> string(2) "IX" [258]=> string(2) "IY" [259]=> string(2) "IZ" [260]=> string(2) "JA" [261]=> string(2) "JB" [262]=> string(2) "JC" [263]=> string(2) "JD" [264]=> string(2) "JE" [265]=> string(2) "JF" [266]=> string(2) "JG" [267]=> string(2) "JH" [268]=> string(2) "JI" [269]=> string(2) "JJ" [270]=> string(2) "JK" [271]=> string(2) "JL" [272]=> string(2) "JM" [273]=> string(2) "JN" [274]=> string(2) "JO" [275]=> string(2) "JP" [276]=> string(2) "JQ" [277]=> string(2) "JR" [278]=> string(2) "JS" [279]=> string(2) "JT" [280]=> string(2) "JU" [281]=> string(2) "JV" [282]=> string(2) "JW" [283]=> string(2) "JX" [284]=> string(2) "JY" [285]=> string(2) "JZ" [286]=> string(2) "KA" [287]=> string(2) "KB" [288]=> string(2) "KC" [289]=> string(2) "KD" [290]=> string(2) "KE" [291]=> string(2) "KF" [292]=> string(2) "KG" [293]=> string(2) "KH" [294]=> string(2) "KI" [295]=> string(2) "KJ" [296]=> string(2) "KK" [297]=> string(2) "KL" [298]=> string(2) "KM" [299]=> string(2) "KN" [300]=> string(2) "KO" [301]=> string(2) "KP" [302]=> string(2) "KQ" [303]=> string(2) "KR" [304]=> string(2) "KS" [305]=> string(2) "KT" [306]=> string(2) "KU" [307]=> string(2) "KV" [308]=> string(2) "KW" [309]=> string(2) "KX" [310]=> string(2) "KY" [311]=> string(2) "KZ" [312]=> string(2) "LA" [313]=> string(2) "LB" [314]=> string(2) "LC" [315]=> string(2) "LD" [316]=> string(2) "LE" [317]=> string(2) "LF" [318]=> string(2) "LG" [319]=> string(2) "LH" [320]=> string(2) "LI" [321]=> string(2) "LJ" [322]=> string(2) "LK" [323]=> string(2) "LL" [324]=> string(2) "LM" [325]=> string(2) "LN" [326]=> string(2) "LO" [327]=> string(2) "LP" [328]=> string(2) "LQ" [329]=> string(2) "LR" [330]=> string(2) "LS" [331]=> string(2) "LT" [332]=> string(2) "LU" [333]=> string(2) "LV" [334]=> string(2) "LW" [335]=> string(2) "LX" [336]=> string(2) "LY" [337]=> string(2) "LZ" [338]=> string(2) "MA" [339]=> string(2) "MB" [340]=> string(2) "MC" [341]=> string(2) "MD" [342]=> string(2) "ME" [343]=> string(2) "MF" [344]=> string(2) "MG" [345]=> string(2) "MH" [346]=> string(2) "MI" [347]=> string(2) "MJ" [348]=> string(2) "MK" [349]=> string(2) "ML" [350]=> string(2) "MM" [351]=> string(2) "MN" [352]=> string(2) "MO" [353]=> string(2) "MP" [354]=> string(2) "MQ" [355]=> string(2) "MR" [356]=> string(2) "MS" [357]=> string(2) "MT" [358]=> string(2) "MU" [359]=> string(2) "MV" [360]=> string(2) "MW" [361]=> string(2) "MX" [362]=> string(2) "MY" [363]=> string(2) "MZ" [364]=> string(2) "NA" [365]=> string(2) "NB" [366]=> string(2) "NC" [367]=> string(2) "ND" [368]=> string(2) "NE" [369]=> string(2) "NF" [370]=> string(2) "NG" [371]=> string(2) "NH" [372]=> string(2) "NI" [373]=> string(2) "NJ" [374]=> string(2) "NK" [375]=> string(2) "NL" [376]=> string(2) "NM" [377]=> string(2) "NN" [378]=> string(2) "NO" [379]=> string(2) "NP" [380]=> string(2) "NQ" [381]=> string(2) "NR" [382]=> string(2) "NS" [383]=> string(2) "NT" [384]=> string(2) "NU" [385]=> string(2) "NV" [386]=> string(2) "NW" [387]=> string(2) "NX" [388]=> string(2) "NY" [389]=> string(2) "NZ" [390]=> string(2) "OA" [391]=> string(2) "OB" [392]=> string(2) "OC" [393]=> string(2) "OD" [394]=> string(2) "OE" [395]=> string(2) "OF" [396]=> string(2) "OG" [397]=> string(2) "OH" [398]=> string(2) "OI" [399]=> string(2) "OJ" [400]=> string(2) "OK" [401]=> string(2) "OL" [402]=> string(2) "OM" [403]=> string(2) "ON" [404]=> string(2) "OO" [405]=> string(2) "OP" [406]=> string(2) "OQ" [407]=> string(2) "OR" [408]=> string(2) "OS" [409]=> string(2) "OT" [410]=> string(2) "OU" [411]=> string(2) "OV" [412]=> string(2) "OW" [413]=> string(2) "OX" [414]=> string(2) "OY" [415]=> string(2) "OZ" [416]=> string(2) "PA" [417]=> string(2) "PB" [418]=> string(2) "PC" [419]=> string(2) "PD" [420]=> string(2) "PE" [421]=> string(2) "PF" [422]=> string(2) "PG" [423]=> string(2) "PH" [424]=> string(2) "PI" [425]=> string(2) "PJ" [426]=> string(2) "PK" [427]=> string(2) "PL" [428]=> string(2) "PM" [429]=> string(2) "PN" [430]=> string(2) "PO" [431]=> string(2) "PP" [432]=> string(2) "PQ" [433]=> string(2) "PR" [434]=> string(2) "PS" [435]=> string(2) "PT" [436]=> string(2) "PU" [437]=> string(2) "PV" [438]=> string(2) "PW" [439]=> string(2) "PX" [440]=> string(2) "PY" [441]=> string(2) "PZ" [442]=> string(2) "QA" [443]=> string(2) "QB" [444]=> string(2) "QC" [445]=> string(2) "QD" [446]=> string(2) "QE" [447]=> string(2) "QF" [448]=> string(2) "QG" [449]=> string(2) "QH" [450]=> string(2) "QI" [451]=> string(2) "QJ" [452]=> string(2) "QK" [453]=> string(2) "QL" [454]=> string(2) "QM" [455]=> string(2) "QN" [456]=> string(2) "QO" [457]=> string(2) "QP" [458]=> string(2) "QQ" [459]=> string(2) "QR" [460]=> string(2) "QS" [461]=> string(2) "QT" [462]=> string(2) "QU" [463]=> string(2) "QV" [464]=> string(2) "QW" [465]=> string(2) "QX" [466]=> string(2) "QY" [467]=> string(2) "QZ" [468]=> string(2) "RA" [469]=> string(2) "RB" [470]=> string(2) "RC" [471]=> string(2) "RD" [472]=> string(2) "RE" [473]=> string(2) "RF" [474]=> string(2) "RG" [475]=> string(2) "RH" [476]=> string(2) "RI" [477]=> string(2) "RJ" [478]=> string(2) "RK" [479]=> string(2) "RL" [480]=> string(2) "RM" [481]=> string(2) "RN" [482]=> string(2) "RO" [483]=> string(2) "RP" [484]=> string(2) "RQ" [485]=> string(2) "RR" [486]=> string(2) "RS" [487]=> string(2) "RT" [488]=> string(2) "RU" [489]=> string(2) "RV" [490]=> string(2) "RW" [491]=> string(2) "RX" [492]=> string(2) "RY" [493]=> string(2) "RZ" [494]=> string(2) "SA" [495]=> string(2) "SB" [496]=> string(2) "SC" [497]=> string(2) "SD" [498]=> string(2) "SE" [499]=> string(2) "SF" [500]=> string(2) "SG" [501]=> string(2) "SH" [502]=> string(2) "SI" [503]=> string(2) "SJ" [504]=> string(2) "SK" [505]=> string(2) "SL" [506]=> string(2) "SM" [507]=> string(2) "SN" [508]=> string(2) "SO" [509]=> string(2) "SP" [510]=> string(2) "SQ" [511]=> string(2) "SR" [512]=> string(2) "SS" [513]=> string(2) "ST" [514]=> string(2) "SU" [515]=> string(2) "SV" [516]=> string(2) "SW" [517]=> string(2) "SX" [518]=> string(2) "SY" [519]=> string(2) "SZ" [520]=> string(2) "TA" [521]=> string(2) "TB" [522]=> string(2) "TC" [523]=> string(2) "TD" [524]=> string(2) "TE" [525]=> string(2) "TF" [526]=> string(2) "TG" [527]=> string(2) "TH" [528]=> string(2) "TI" [529]=> string(2) "TJ" [530]=> string(2) "TK" [531]=> string(2) "TL" [532]=> string(2) "TM" [533]=> string(2) "TN" [534]=> string(2) "TO" [535]=> string(2) "TP" [536]=> string(2) "TQ" [537]=> string(2) "TR" [538]=> string(2) "TS" [539]=> string(2) "TT" [540]=> string(2) "TU" [541]=> string(2) "TV" [542]=> string(2) "TW" [543]=> string(2) "TX" [544]=> string(2) "TY" [545]=> string(2) "TZ" [546]=> string(2) "UA" [547]=> string(2) "UB" [548]=> string(2) "UC" [549]=> string(2) "UD" [550]=> string(2) "UE" [551]=> string(2) "UF" [552]=> string(2) "UG" [553]=> string(2) "UH" [554]=> string(2) "UI" [555]=> string(2) "UJ" [556]=> string(2) "UK" [557]=> string(2) "UL" [558]=> string(2) "UM" [559]=> string(2) "UN" [560]=> string(2) "UO" [561]=> string(2) "UP" [562]=> string(2) "UQ" [563]=> string(2) "UR" [564]=> string(2) "US" [565]=> string(2) "UT" [566]=> string(2) "UU" [567]=> string(2) "UV" [568]=> string(2) "UW" [569]=> string(2) "UX" [570]=> string(2) "UY" [571]=> string(2) "UZ" [572]=> string(2) "VA" [573]=> string(2) "VB" [574]=> string(2) "VC" [575]=> string(2) "VD" [576]=> string(2) "VE" [577]=> string(2) "VF" [578]=> string(2) "VG" [579]=> string(2) "VH" [580]=> string(2) "VI" [581]=> string(2) "VJ" [582]=> string(2) "VK" [583]=> string(2) "VL" [584]=> string(2) "VM" [585]=> string(2) "VN" [586]=> string(2) "VO" [587]=> string(2) "VP" [588]=> string(2) "VQ" [589]=> string(2) "VR" [590]=> string(2) "VS" [591]=> string(2) "VT" [592]=> string(2) "VU" [593]=> string(2) "VV" [594]=> string(2) "VW" [595]=> string(2) "VX" [596]=> string(2) "VY" [597]=> string(2) "VZ" [598]=> string(2) "WA" [599]=> string(2) "WB" [600]=> string(2) "WC" [601]=> string(2) "WD" [602]=> string(2) "WE" [603]=> string(2) "WF" [604]=> string(2) "WG" [605]=> string(2) "WH" [606]=> string(2) "WI" [607]=> string(2) "WJ" [608]=> string(2) "WK" [609]=> string(2) "WL" [610]=> string(2) "WM" [611]=> string(2) "WN" [612]=> string(2) "WO" [613]=> string(2) "WP" [614]=> string(2) "WQ" [615]=> string(2) "WR" [616]=> string(2) "WS" [617]=> string(2) "WT" [618]=> string(2) "WU" [619]=> string(2) "WV" [620]=> string(2) "WW" [621]=> string(2) "WX" [622]=> string(2) "WY" [623]=> string(2) "WZ" [624]=> string(2) "XA" [625]=> string(2) "XB" [626]=> string(2) "XC" [627]=> string(2) "XD" [628]=> string(2) "XE" [629]=> string(2) "XF" [630]=> string(2) "XG" [631]=> string(2) "XH" [632]=> string(2) "XI" [633]=> string(2) "XJ" [634]=> string(2) "XK" [635]=> string(2) "XL" [636]=> string(2) "XM" [637]=> string(2) "XN" [638]=> string(2) "XO" [639]=> string(2) "XP" [640]=> string(2) "XQ" [641]=> string(2) "XR" [642]=> string(2) "XS" [643]=> string(2) "XT" [644]=> string(2) "XU" [645]=> string(2) "XV" [646]=> string(2) "XW" [647]=> string(2) "XX" [648]=> string(2) "XY" [649]=> string(2) "XZ" [650]=> string(2) "YA" [651]=> string(2) "YB" [652]=> string(2) "YC" [653]=> string(2) "YD" [654]=> string(2) "YE" [655]=> string(2) "YF" [656]=> string(2) "YG" [657]=> string(2) "YH" [658]=> string(2) "YI" [659]=> string(2) "YJ" [660]=> string(2) "YK" [661]=> string(2) "YL" [662]=> string(2) "YM" [663]=> string(2) "YN" [664]=> string(2) "YO" [665]=> string(2) "YP" [666]=> string(2) "YQ" [667]=> string(2) "YR" [668]=> string(2) "YS" [669]=> string(2) "YT" [670]=> string(2) "YU" [671]=> string(2) "YV" [672]=> string(2) "YW" [673]=> string(2) "YX" [674]=> string(2) "YY" [675]=> string(2) "YZ" [676]=> string(2) "ZA" [677]=> string(2) "ZB" [678]=> string(2) "ZC" [679]=> string(2) "ZD" [680]=> string(2) "ZE" [681]=> string(2) "ZF" [682]=> string(2) "ZG" [683]=> string(2) "ZH" [684]=> string(2) "ZI" [685]=> string(2) "ZJ" [686]=> string(2) "ZK" [687]=> string(2) "ZL" [688]=> string(2) "ZM" [689]=> string(2) "ZN" [690]=> string(2) "ZO" [691]=> string(2) "ZP" [692]=> string(2) "ZQ" [693]=> string(2) "ZR" [694]=> string(2) "ZS" [695]=> string(2) "ZT" [696]=> string(2) "ZU" [697]=> string(2) "ZV" [698]=> string(2) "ZW" [699]=> string(2) "ZX" [700]=> string(2) "ZY" [701]=> string(2) "ZZ" }