3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $useragent = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:37.0) Gecko/20100101 Firefox/37.0'; if(strpos('Firefox',$useragent) !== 'false') { echo 'firefox'; } else { echo 'nicht firefox'; }
based on bqDIT
Output for 4.3.0 - 7.2.0
firefox