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('/ |,|\)|\(|\;|\.|\^[a-z]/',$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/jRkpG on line 4 Array ( [0] => 3v4l [1] => org [2] => - [3] => online [4] => PHP [5] => shell [6] => [7] => test [8] => in [9] => 80+ [10] => different [11] => PHP [12] => 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/jRkpG on line 4 Array ( [0] => 3v4l [1] => org [2] => - [3] => online [4] => PHP [5] => shell [6] => [7] => test [8] => in [9] => 80+ [10] => different [11] => PHP [12] => versions! )