3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $snubmers = array(); for ( $i = 0; $i < 199; $i++ ) { $snumber = str_split( substr( md5( $i ), 0, 9 ) ); array_splice( $snumber, 3, 0, '-' ); array_splice( $snumber, 7, 0, '-' ); $snumbers[] = strtoupper( implode( '', $snumber ) ); } print_r( $snumbers );
Output for 5.0.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Array ( [0] => CFC-D20-849 [1] => C4C-A42-38A [2] => C81-E72-8D9 [3] => ECC-BC8-7E4 [4] => A87-FF6-79A [5] => E4D-A3B-7FB [6] => 167-909-1C5 [7] => 8F1-4E4-5FC [8] => C9F-0F8-95F [9] => 45C-48C-CE2 [10] => D3D-944-680 [11] => 651-2BD-43D [12] => C20-AD4-D76 [13] => C51-CE4-10C [14] => AAB-323-892 [15] => 9BF-31C-7FF [16] => C74-D97-B01 [17] => 70E-FDF-2EC [18] => 6F4-922-F45 [19] => 1F0-E3D-AD9 [20] => 98F-137-082 [21] => 3C5-9DC-048 [22] => B6D-767-D2F [23] => 376-93C-FC7 [24] => 1FF-1DE-774 [25] => 8E2-96A-067 [26] => 4E7-32C-ED3 [27] => 02E-74F-10E [28] => 33E-75F-F09 [29] => 6EA-9AB-1BA [30] => 341-73C-B38 [31] => C16-A53-20F [32] => 636-4D3-F0F [33] => 182-BE0-C5C [34] => E36-985-3DF [35] => 1C3-83C-D30 [36] => 19C-A14-E7E [37] => A5B-FC9-E07 [38] => A57-71B-CE9 [39] => D67-D8A-B4F [40] => D64-592-0E3 [41] => 341-6A7-5F4 [42] => A1D-0C6-E83 [43] => 17E-621-66F [44] => F71-771-63C [45] => 6C8-349-CC7 [46] => D9D-4F4-95E [47] => 67C-6A1-E7C [48] => 642-E92-EFB [49] => F45-7C5-45A [50] => C0C-7C7-6D3 [51] => 283-802-3A7 [52] => 9A1-158-154 [53] => D82-C8D-161 [54] => A68-4EC-EEE [55] => B53-B3A-3D6 [56] => 9F6-140-8E3 [57] => 72B-32A-1F7 [58] => 66F-041-E16 [59] => 093-F65-E08 [60] => 072-B03-0BA [61] => 7F3-9F8-317 [62] => 44F-683-A84 [63] => 03A-FDB-D66 [64] => EA5-D2F-1C4 [65] => FC4-90C-A45 [66] => 329-5C7-6AC [67] => 735-B90-B45 [68] => A3F-390-D88 [69] => 14B-FA6-BB1 [70] => 7CB-BC4-09E [71] => E2C-420-D92 [72] => 32B-B90-E89 [73] => D2D-DEA-18F [74] => AD6-1AB-143 [75] => D09-BF4-154 [76] => FBD-793-9D6 [77] => 28D-D2C-795 [78] => 35F-4A8-D46 [79] => D1F-E17-3D0 [80] => F03-3AB-37C [81] => 43E-C51-7D6 [82] => 977-8D5-D21 [83] => FE9-FC2-89C [84] => 68D-30A-959 [85] => 3EF-815-416 [86] => 93D-B85-ED9 [87] => C7E-124-9FF [88] => 2A3-8A4-A93 [89] => 764-796-6B7 [90] => 861-398-5EC [91] => 542-29A-BFC [92] => 92C-C22-753 [93] => 98D-CE8-3DA [94] => F4B-9EC-30A [95] => 812-B4B-A28 [96] => 266-57D-5FF [97] => E2E-F52-4FB [98] => ED3-D2C-219 [99] => AC6-27A-B1C [100] => F89-913-9DF [101] => 38B-3EF-F8B [102] => EC8-956-637 [103] => 697-4CE-5AC [104] => C9E-107-4F5 [105] => 65B-9EE-A6E [106] => F09-35E-4CD [107] => A97-DA6-29B [108] => A3C-65C-297 [109] => 272-3D0-92B [110] => 5F9-3F9-835 [111] => 698-D51-A19 [112] => 7F6-FFA-A6B [113] => 732-78A-4A8 [114] => 5FD-0B3-7CD [115] => 2B4-492-8AE [116] => C45-147-DEE [117] => EB1-60D-E1D [118] => 5EF-059-938 [119] => 07E-1CD-7DC [120] => DA4-FB5-C6E [121] => 4C5-6FF-4CE [122] => A0A-080-F42 [123] => 202-CB9-62A [124] => C8F-FE9-A58 [125] => 3DE-F18-4AD [126] => 069-059-B7E [127] => EC5-DEC-CA5 [128] => 76D-C61-1D6 [129] => D1F-491-A40 [130] => 9B8-619-251 [131] => 1AF-A34-A7F [132] => 65D-ED5-353 [133] => 9FC-3D7-152 [134] => 025-22A-2B2 [135] => 7F1-DE2-9E6 [136] => 42A-0E1-88F [137] => 398-8C7-F88 [138] => 013-D40-716 [139] => E00-DA0-3B6 [140] => 138-597-4ED [141] => 0F2-8B5-D49 [142] => A8B-AA5-655 [143] => 903-CE9-225 [144] => 0A0-9C8-844 [145] => 2B2-4D4-950 [146] => A5E-001-323 [147] => 8D5-E95-7F2 [148] => 47D-1E9-905 [149] => F22-170-62E [150] => 7EF-605-FC8 [151] => A8F-15E-DA8 [152] => 37A-749-D80 [153] => B3E-3E3-93C [154] => 1D7-F7A-BC1 [155] => 2A7-9EA-27C [156] => 1C9-AC0-159 [157] => 6C4-B76-1A2 [158] => 064-096-632 [159] => 140-F69-69D [160] => B73-CE3-98C [161] => BD4-C9A-B73 [162] => 82A-A4B-0AF [163] => 077-7D5-C17 [164] => FA7-CDF-AD1 [165] => 976-652-7F2 [166] => 7E7-757-B1E [167] => 587-8A7-AB8 [168] => 006-F52-E91 [169] => 363-663-881 [170] => 149-E96-77A [171] => A4A-042-CF4 [172] => 1FF-8A7-B5D [173] => F7E-6C8-550 [174] => BF8-229-696 [175] => 821-612-428 [176] => 38A-F86-134 [177] => 96D-A2F-590 [178] => 8F8-551-796 [179] => 8F5-329-5A7 [180] => 045-117-B0E [181] => FC2-213-097 [182] => 4C5-BDE-74A [183] => CED-EBB-6E8 [184] => 6CD-D60-EA0 [185] => EEC-CA5-B63 [186] => 987-2ED-9FC [187] => 31F-EFC-0E5 [188] => 9DC-B88-E01 [189] => A25-57A-7B2 [190] => CFE-CDB-276 [191] => 0AA-188-3C6 [192] => 58A-2FC-6ED [193] => BD6-86F-D64 [194] => A59-7E5-050 [195] => 033-6DC-BAB [196] => 084-B6F-BB1 [197] => 85D-8CE-590 [198] => 0E6-597-2DC )
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: str_split() in /in/UuRmX on line 6
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: str_split() in /in/UuRmX on line 6
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: str_split() in /in/UuRmX on line 6