3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php ini_set('browscap', true); $browser = get_browser(); echo $browser->parent;
Output for 5.4.34 - 5.6.28, 7.0.0 - 7.1.0
Warning: get_browser(): browscap ini directive not set in /in/DfSmd on line 5 Notice: Trying to get property of non-object in /in/DfSmd on line 7
Output for hhvm-3.10.0 - 3.12.0
Fatal error: Call to undefined function get_browser() in /in/DfSmd on line 5
Process exited with code 255.
Output for 5.2.5 - 5.4.32
Warning: ini_set() has been disabled for security reasons in /in/DfSmd on line 3 Warning: get_browser(): browscap ini directive not set in /in/DfSmd on line 5 Notice: Trying to get property of non-object in /in/DfSmd on line 7
Output for 5.0.0 - 5.2.4
Warning: ini_set() has been disabled for security reasons in /in/DfSmd on line 3 Warning: get_browser(): browscap ini directive not set. in /in/DfSmd on line 5 Notice: Trying to get property of non-object in /in/DfSmd on line 7
Output for 4.3.5 - 4.4.9
Warning: ini_set() has been disabled for security reasons in /in/DfSmd on line 3 Warning: get_browser(): browscap ini directive not set. in /in/DfSmd on line 5
Output for 4.3.2 - 4.3.4
Warning: ini_set,pcntl_fork() has been disabled for security reasons in /in/DfSmd on line 3 Warning: get_browser(): browscap ini directive not set. in /in/DfSmd on line 5
Output for 4.3.1
Warning: ini_set,pcntl_fork() has been disabled for security reasons in /in/DfSmd on line 3 Warning: get_browser() [http://www.php.net/function.get-browser]: browscap ini directive not set. in /in/DfSmd on line 5
Output for 4.3.0
Warning: get_browser() [http://www.php.net/function.get-browser]: browscap ini directive not set. in /in/DfSmd on line 5