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('/(?=[A-Z])/',$subject); print_r($arr); print_r($arr1);
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
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! ) Array ( [0] => 3v4l.org - online [1] => P [2] => H [3] => P shell, test in 80+ different [4] => P [5] => H [6] => P versions! )