3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $subject = "3v4l.org - online PHP shell, test in 80+ different PHP versions!"; $arr = preg_split('/ |,|\)|\(|\;|\.|\-/',$subject); $arr1 = preg_split('\\s+',$subject); print_r($arr); print_r($arr1);
Output for 4.3.11 - 5.6.28, 7.0.0 - 7.1.0
Warning: preg_split(): Delimiter must not be alphanumeric or backslash in /in/qqqRS on line 4 Array ( [0] => 3v4l [1] => org [2] => [3] => [4] => online [5] => PHP [6] => shell [7] => [8] => test [9] => in [10] => 80+ [11] => different [12] => PHP [13] => versions! )
Output for 4.3.0 - 4.3.10, hhvm-3.10.0 - 3.12.0
Warning: Delimiter must not be alphanumeric or backslash in /in/qqqRS on line 4 Array ( [0] => 3v4l [1] => org [2] => [3] => [4] => online [5] => PHP [6] => shell [7] => [8] => test [9] => in [10] => 80+ [11] => different [12] => PHP [13] => versions! )