3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $REQUEST_URI = '/static/thumbs/hell.jpg'; if (!preg_match('/static\/thumbs|screens|video|strip)\//', $REQUEST_URI)) { echo 'no enter here'; }else{ echo 'hello'; }
Output for 4.3.11 - 5.6.30, 7.0.0 - 7.2.0
Warning: preg_match(): Compilation failed: unmatched parentheses at offset 34 in /in/W6h2g on line 3 no enter here
Output for 4.3.0 - 4.3.10, hhvm-3.10.1 - 3.17.3
Warning: Compilation failed: unmatched parentheses at offset 34 in /in/W6h2g on line 3 no enter here