3v4l.org

run code in 300+ PHP versions simultaneously
<?php $blah = 'Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0)'; if (preg_match('/MSIE ([0-9]*(?:\\.[0-9]*)?)([0-9.]*);/', $_SERVER['HTTP_USER_AGENT'], $matches)){ var_dump($matches); }

preferences:
35.56 ms | 402 KiB | 5 Q