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 ) ); //$snumber = array_splice( $snumber, 3, 0, '-' ); //$snumbers[] = array_splice( $snumber, 6, 0, '-' ); $snumber = str_split( substr( md5( $i . 'dev' ), 0, 9 ) ); $snumber = array_splice( $snumber, 3, 0, '-' ); $snumbers[] = $snumber; } print_r( $snumbers );
Output for 5.0.0 - 7.1.0
Array ( [0] => Array ( ) [1] => Array ( ) [2] => Array ( ) [3] => Array ( ) [4] => Array ( ) [5] => Array ( ) [6] => Array ( ) [7] => Array ( ) [8] => Array ( ) [9] => Array ( ) [10] => Array ( ) [11] => Array ( ) [12] => Array ( ) [13] => Array ( ) [14] => Array ( ) [15] => Array ( ) [16] => Array ( ) [17] => Array ( ) [18] => Array ( ) [19] => Array ( ) [20] => Array ( ) [21] => Array ( ) [22] => Array ( ) [23] => Array ( ) [24] => Array ( ) [25] => Array ( ) [26] => Array ( ) [27] => Array ( ) [28] => Array ( ) [29] => Array ( ) [30] => Array ( ) [31] => Array ( ) [32] => Array ( ) [33] => Array ( ) [34] => Array ( ) [35] => Array ( ) [36] => Array ( ) [37] => Array ( ) [38] => Array ( ) [39] => Array ( ) [40] => Array ( ) [41] => Array ( ) [42] => Array ( ) [43] => Array ( ) [44] => Array ( ) [45] => Array ( ) [46] => Array ( ) [47] => Array ( ) [48] => Array ( ) [49] => Array ( ) [50] => Array ( ) [51] => Array ( ) [52] => Array ( ) [53] => Array ( ) [54] => Array ( ) [55] => Array ( ) [56] => Array ( ) [57] => Array ( ) [58] => Array ( ) [59] => Array ( ) [60] => Array ( ) [61] => Array ( ) [62] => Array ( ) [63] => Array ( ) [64] => Array ( ) [65] => Array ( ) [66] => Array ( ) [67] => Array ( ) [68] => Array ( ) [69] => Array ( ) [70] => Array ( ) [71] => Array ( ) [72] => Array ( ) [73] => Array ( ) [74] => Array ( ) [75] => Array ( ) [76] => Array ( ) [77] => Array ( ) [78] => Array ( ) [79] => Array ( ) [80] => Array ( ) [81] => Array ( ) [82] => Array ( ) [83] => Array ( ) [84] => Array ( ) [85] => Array ( ) [86] => Array ( ) [87] => Array ( ) [88] => Array ( ) [89] => Array ( ) [90] => Array ( ) [91] => Array ( ) [92] => Array ( ) [93] => Array ( ) [94] => Array ( ) [95] => Array ( ) [96] => Array ( ) [97] => Array ( ) [98] => Array ( ) [99] => Array ( ) [100] => Array ( ) [101] => Array ( ) [102] => Array ( ) [103] => Array ( ) [104] => Array ( ) [105] => Array ( ) [106] => Array ( ) [107] => Array ( ) [108] => Array ( ) [109] => Array ( ) [110] => Array ( ) [111] => Array ( ) [112] => Array ( ) [113] => Array ( ) [114] => Array ( ) [115] => Array ( ) [116] => Array ( ) [117] => Array ( ) [118] => Array ( ) [119] => Array ( ) [120] => Array ( ) [121] => Array ( ) [122] => Array ( ) [123] => Array ( ) [124] => Array ( ) [125] => Array ( ) [126] => Array ( ) [127] => Array ( ) [128] => Array ( ) [129] => Array ( ) [130] => Array ( ) [131] => Array ( ) [132] => Array ( ) [133] => Array ( ) [134] => Array ( ) [135] => Array ( ) [136] => Array ( ) [137] => Array ( ) [138] => Array ( ) [139] => Array ( ) [140] => Array ( ) [141] => Array ( ) [142] => Array ( ) [143] => Array ( ) [144] => Array ( ) [145] => Array ( ) [146] => Array ( ) [147] => Array ( ) [148] => Array ( ) [149] => Array ( ) [150] => Array ( ) [151] => Array ( ) [152] => Array ( ) [153] => Array ( ) [154] => Array ( ) [155] => Array ( ) [156] => Array ( ) [157] => Array ( ) [158] => Array ( ) [159] => Array ( ) [160] => Array ( ) [161] => Array ( ) [162] => Array ( ) [163] => Array ( ) [164] => Array ( ) [165] => Array ( ) [166] => Array ( ) [167] => Array ( ) [168] => Array ( ) [169] => Array ( ) [170] => Array ( ) [171] => Array ( ) [172] => Array ( ) [173] => Array ( ) [174] => Array ( ) [175] => Array ( ) [176] => Array ( ) [177] => Array ( ) [178] => Array ( ) [179] => Array ( ) [180] => Array ( ) [181] => Array ( ) [182] => Array ( ) [183] => Array ( ) [184] => Array ( ) [185] => Array ( ) [186] => Array ( ) [187] => Array ( ) [188] => Array ( ) [189] => Array ( ) [190] => Array ( ) [191] => Array ( ) [192] => Array ( ) [193] => Array ( ) [194] => Array ( ) [195] => Array ( ) [196] => Array ( ) [197] => Array ( ) [198] => Array ( ) )
Output for 4.4.5 - 4.4.9
<br /> <b>Fatal error</b>: Call to undefined function: str_split() in <b>/in/H9e3u</b> on line <b>9</b><br />
Process exited with code 255.
Output for 4.3.2 - 4.4.4
<br /> <b>Fatal error</b>: Call to undefined function: str_split() in <b>/in/H9e3u</b> on line <b>9</b><br />
Process exited with code 255.
Output for 4.3.0 - 4.3.1
<br /> <b>Fatal error</b>: Call to undefined function: str_split() in <b>/in/H9e3u</b> on line <b>9</b><br />