3v4l.org

run code in 300+ PHP versions simultaneously
<?php $attribute = 'name <>'; $split = preg_split('#(.*)\s?(<=>|<=|>=|<>|<|>|!=|=|not|between)#i', $attribute, -1, PREG_SPLIT_NO_EMPTY | PREG_SPLIT_DELIM_CAPTURE); print_r($split);

preferences:
35.68 ms | 402 KiB | 5 Q