3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php ini_set('browscap', true); $browser = get_browser(); echo $browser->parent;
Output for 7.2.0 - 7.2.8
Warning: get_browser(): browscap ini directive not set in /in/DfSmd on line 5 Notice: Trying to get property 'parent' of non-object in /in/DfSmd on line 7
Output for 5.4.34 - 7.1.20
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.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