3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $attribute = 'name <>'; $split = preg_split('#(.*)\s?(<=>|<=|>=|<>|<|>|!=|=|not|between)#i', $attribute, -1, PREG_SPLIT_DELIM_CAPTURE); print_r($split);
Output for 4.3.0 - 7.1.10
Array ( [0] => [1] => name < [2] => > [3] => )