3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $foo = "bar"; echo strlen($foo); if("a" == "a"){echo "yay";} echo $_SERVER["HTTP_USER_AGENT"]; ?>
Output for 5.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
3yay Notice: Undefined index: HTTP_USER_AGENT in /in/CeYCE on line 5
Output for hhvm-3.10.0

Process exited with code 153.
Output for 4.3.0 - 5.2.17
3yay Notice: Undefined index: HTTP_USER_AGENT in /in/CeYCE on line 5