3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $attribute = 'name ='; $split = preg_split('#(.*)\s?(<=>|<=|>=|<>|<|>|!=|=|not|between)?#SUi', $attribute, -1, PREG_SPLIT_NO_EMPTY | PREG_SPLIT_DELIM_CAPTURE); print_r($split);
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.13.2, 7.0.0 - 7.1.0
Array ( [0] => n [1] => a [2] => m [3] => e [4] => = )