3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $attribute = 'name <>'; $split = preg_split('#(.*)\s?(<=>|<=|>=|<>|<|>|!=|=)#Ui', $attribute, -1, PREG_SPLIT_NO_EMPTY | PREG_SPLIT_DELIM_CAPTURE); print_r($split);
Output for 4.3.0 - 7.1.0
Array ( [0] => name [1] => <> )