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('#[:;^[[:space:]]]+#', $string, -1, PREG_SPLIT_NO_EMPTY); print_r($x);
Output for 4.3.0 - 4.4.8, 5.0.0 - 5.2.5, 5.3.19 - 5.3.29, 5.4.9 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
Array ( [0] => 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; )
Output for hhvm-3.10.0

Process exited with code 153.
Output for 4.4.9, 5.2.6 - 5.3.18, 5.4.0 - 5.4.8
Warning: preg_split(): Compilation failed: POSIX named classes are supported only within a class at offset 0 in /in/qLQO7 on line 18