3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo $_SERVER['HTTP_USER_AGENT'] . "\n\n"; $browser = get_browser(null, true); print_r($browser);
Output for 5.3.0 - 5.6.30, 7.0.0 - 7.2.0
Notice: Undefined index: HTTP_USER_AGENT in /in/Z9Fk0 on line 2 Warning: get_browser(): browscap ini directive not set in /in/Z9Fk0 on line 4
Output for hhvm-3.11.1, hhvm-3.13.2 - 3.17.3
Notice: Undefined index: HTTP_USER_AGENT in /in/Z9Fk0 on line 2 Fatal error: Uncaught Error: Call to undefined function get_browser() in /in/Z9Fk0:4 Stack trace: #0 {main}
Process exited with code 255.
Output for hhvm-3.12.14

Process exited with code 137.
Output for hhvm-3.10.1
Notice: Undefined index: HTTP_USER_AGENT in /in/Z9Fk0 on line 2 Fatal error: Call to undefined function get_browser() in /in/Z9Fk0 on line 4
Process exited with code 255.
Output for 5.2.5 - 5.2.17
Notice: Undefined index: HTTP_USER_AGENT in /in/Z9Fk0 on line 2 Warning: get_browser(): browscap ini directive not set in /in/Z9Fk0 on line 4
Output for 4.3.2 - 5.2.4
Notice: Undefined index: HTTP_USER_AGENT in /in/Z9Fk0 on line 2 Warning: get_browser(): browscap ini directive not set. in /in/Z9Fk0 on line 4
Output for 4.3.0 - 4.3.1
Notice: Undefined index: HTTP_USER_AGENT in /in/Z9Fk0 on line 2 Warning: get_browser() [http://www.php.net/function.get-browser]: browscap ini directive not set. in /in/Z9Fk0 on line 4