3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php pattern="\( ( (?>[^()]+) | (?R) )* \)"; str="(def a (x) (+ 1 x))(print (a 1))"; var_dump(preg_grep(pattern,str));
Output for 5.3.0 - 5.4.26
Parse error: syntax error, unexpected '=' in /in/7inCS on line 3
Process exited with code 255.