3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $attributes['action'] = 'listor2der'; switch($attributes['action']) { case "list": echo 'List!'; break; case "listorder": echo 'Listorder!'; break; case "order.php": echo 'Regex works!'; break; default: echo 'Regex doesn\'t work((('; break; }
Output for 4.3.0 - 7.1.0
Regex doesn't work(((