3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $attribute = 'name ='; $split = preg_split('#(?U.*)\s?(<=>|<=|>=|<>|<|>|!=|=|not|between)#Ui', $attribute, -1, PREG_SPLIT_NO_EMPTY | PREG_SPLIT_DELIM_CAPTURE); print_r($split);
Output for 4.4.9, 5.2.6 - 7.2.0
Warning: preg_split(): Compilation failed: unrecognized character after (? or (?- at offset 3 in /in/jTJ1R on line 4
Output for 4.3.11 - 4.4.8, 5.0.0 - 5.2.5
Warning: preg_split(): Compilation failed: unrecognized character after (? at offset 3 in /in/jTJ1R on line 4
Output for 4.3.0 - 4.3.10
Warning: Compilation failed: unrecognized character after (? at offset 3 in /in/jTJ1R on line 4