3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $games = null; if ($_REQUEST['game']) { $games = $_REQUEST['game']; } echo "$games"; include_once "games/$game/content.html"; ?>
Output for 5.3.0 - 7.1.7
Notice: Undefined index: game in /in/R6VX0 on line 3 Notice: Undefined variable: game in /in/R6VX0 on line 8 Warning: include_once(games//content.html): failed to open stream: No such file or directory in /in/R6VX0 on line 8 Warning: include_once(): Failed opening 'games//content.html' for inclusion (include_path='.:') in /in/R6VX0 on line 8
Output for 5.1.0 - 5.2.17
Notice: Undefined index: game in /in/R6VX0 on line 3 Notice: Undefined variable: game in /in/R6VX0 on line 8 Warning: include_once(games//content.html): failed to open stream: No such file or directory in /in/R6VX0 on line 8 Warning: include_once(): Failed opening 'games//content.html' for inclusion (include_path='.:') in /in/R6VX0 on line 8
Output for 5.0.4 - 5.0.5
Notice: Undefined index: game in /in/R6VX0 on line 3 Notice: Undefined variable: game in /in/R6VX0 on line 8 Warning: main(games//content.html): failed to open stream: No such file or directory in /in/R6VX0 on line 8 Warning: main(): Failed opening 'games//content.html' for inclusion (include_path='.:') in /in/R6VX0 on line 8
Output for 4.3.2 - 5.0.3
Notice: Undefined index: game in /in/R6VX0 on line 3 Notice: Undefined variable: game in /in/R6VX0 on line 8 Warning: main(games//content.html): failed to open stream: No such file or directory in /in/R6VX0 on line 8 Warning: main(): Failed opening 'games//content.html' for inclusion (include_path='.:') in /in/R6VX0 on line 8
Output for 4.3.0 - 4.3.1
Notice: Undefined index: game in /in/R6VX0 on line 3 Notice: Undefined variable: game in /in/R6VX0 on line 8 Warning: main(games//content.html) [http://www.php.net/function.main]: failed to create stream: No such file or directory in /in/R6VX0 on line 8 Warning: main() [http://www.php.net/function.main]: Failed opening 'games//content.html' for inclusion (include_path='.:') in /in/R6VX0 on line 8