3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php preg_match('/robot|spider|crawler|curl|^$/i', 'Mozilla/5.0 (Macintosh; robot Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.94 Safari/537.36');
based on RWT3X
Output for 4.3.0 - 5.6.21, 7.0.0 - 7.1.0
Output for hhvm-3.12.0

Process exited with code 137.
Output for hhvm-3.10.0

Process exited with code 153.