3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $string = ' background-image: url(../images/....png); height: 32px; width: 32px; margin: 0px; -webkit-transition: all ease 0.4s; -moz-transition: all ease 0.4s; -o-transition: all ease 0.4s; -ms-transition: all ease 0.4s; transition: all ease 0.4s; opacity:0.70; filter:alpha(opacity=70); /* For IE8 and earlier */ overflow: hidden; '; $x = preg_split('##', $string, -1, PREG_SPLIT_NO_EMPTY | PREG_SPLIT_DELIM_CAPTURE); print_r($x);
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Array ( [0] => [1] => [2] => [3] => [4] => [5] => [6] => b [7] => a [8] => c [9] => k [10] => g [11] => r [12] => o [13] => u [14] => n [15] => d [16] => - [17] => i [18] => m [19] => a [20] => g [21] => e [22] => : [23] => [24] => u [25] => r [26] => l [27] => ( [28] => . [29] => . [30] => / [31] => i [32] => m [33] => a [34] => g [35] => e [36] => s [37] => / [38] => . [39] => . [40] => . [41] => . [42] => p [43] => n [44] => g [45] => ) [46] => ; [47] => [48] => [49] => [50] => [51] => [52] => h [53] => e [54] => i [55] => g [56] => h [57] => t [58] => : [59] => [60] => 3 [61] => 2 [62] => p [63] => x [64] => ; [65] => [66] => [67] => [68] => [69] => [70] => w [71] => i [72] => d [73] => t [74] => h [75] => : [76] => [77] => 3 [78] => 2 [79] => p [80] => x [81] => ; [82] => [83] => [84] => [85] => [86] => [87] => m [88] => a [89] => r [90] => g [91] => i [92] => n [93] => : [94] => [95] => 0 [96] => p [97] => x [98] => ; [99] => [100] => [101] => [102] => [103] => [104] => - [105] => w [106] => e [107] => b [108] => k [109] => i [110] => t [111] => - [112] => t [113] => r [114] => a [115] => n [116] => s [117] => i [118] => t [119] => i [120] => o [121] => n [122] => : [123] => [124] => a [125] => l [126] => l [127] => [128] => e [129] => a [130] => s [131] => e [132] => [133] => 0 [134] => . [135] => 4 [136] => s [137] => ; [138] => [139] => [140] => [141] => [142] => [143] => - [144] => m [145] => o [146] => z [147] => - [148] => t [149] => r [150] => a [151] => n [152] => s [153] => i [154] => t [155] => i [156] => o [157] => n [158] => : [159] => [160] => a [161] => l [162] => l [163] => [164] => e [165] => a [166] => s [167] => e [168] => [169] => 0 [170] => . [171] => 4 [172] => s [173] => ; [174] => [175] => [176] => [177] => [178] => [179] => - [180] => o [181] => - [182] => t [183] => r [184] => a [185] => n [186] => s [187] => i [188] => t [189] => i [190] => o [191] => n [192] => : [193] => [194] => a [195] => l [196] => l [197] => [198] => e [199] => a [200] => s [201] => e [202] => [203] => 0 [204] => . [205] => 4 [206] => s [207] => ; [208] => [209] => [210] => [211] => [212] => [213] => - [214] => m [215] => s [216] => - [217] => t [218] => r [219] => a [220] => n [221] => s [222] => i [223] => t [224] => i [225] => o [226] => n [227] => : [228] => [229] => a [230] => l [231] => l [232] => [233] => e [234] => a [235] => s [236] => e [237] => [238] => 0 [239] => . [240] => 4 [241] => s [242] => ; [243] => [244] => [245] => [246] => [247] => [248] => t [249] => r [250] => a [251] => n [252] => s [253] => i [254] => t [255] => i [256] => o [257] => n [258] => : [259] => [260] => a [261] => l [262] => l [263] => [264] => e [265] => a [266] => s [267] => e [268] => [269] => 0 [270] => . [271] => 4 [272] => s [273] => ; [274] => [275] => [276] => [277] => [278] => [279] => o [280] => p [281] => a [282] => c [283] => i [284] => t [285] => y [286] => : [287] => 0 [288] => . [289] => 7 [290] => 0 [291] => ; [292] => [293] => [294] => [295] => [296] => [297] => f [298] => i [299] => l [300] => t [301] => e [302] => r [303] => : [304] => a [305] => l [306] => p [307] => h [308] => a [309] => ( [310] => o [311] => p [312] => a [313] => c [314] => i [315] => t [316] => y [317] => = [318] => 7 [319] => 0 [320] => ) [321] => ; [322] => [323] => / [324] => * [325] => [326] => F [327] => o [328] => r [329] => [330] => I [331] => E [332] => 8 [333] => [334] => a [335] => n [336] => d [337] => [338] => e [339] => a [340] => r [341] => l [342] => i [343] => e [344] => r [345] => [346] => * [347] => / [348] => [349] => [350] => [351] => [352] => [353] => o [354] => v [355] => e [356] => r [357] => f [358] => l [359] => o [360] => w [361] => : [362] => [363] => h [364] => i [365] => d [366] => d [367] => e [368] => n [369] => ; [370] => [371] => )