3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php session_start(); ?> <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Goldstar</title> <?php require_once('includedScripts.php'); ?> </head> <body> <div class="banner"> <div class="userOptions" id="userOptions" style="display: none;"> <?php require_once('userOptions.php'); ?> </div> <div class="navItems"> <?php require_once('navigation.php'); ?> </div> </div> <div class="mainWrapper" id="mainWrapper"> <?php include('news.php'); ?> </div> <div class="footer"> <img src="img/goldstarentertainmentgroup.jpg" height="100%"> <?php require_once('jqueryControls.php'); ?> </div> </div> </body> </html>
Output for 7.3.0rc3
<!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Goldstar</title> Warning: require_once(): open_basedir restriction in effect. File(includedScripts.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/SH4oH on line 9 Warning: require_once(includedScripts.php): failed to open stream: Operation not permitted in /in/SH4oH on line 9 Fatal error: require_once(): Failed opening required 'includedScripts.php' (include_path='.:') in /in/SH4oH on line 9
Process exited with code 255.
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.1.10, 7.2.0, 7.3.0alpha1 - 7.3.0beta1
<!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Goldstar</title> Warning: require_once(includedScripts.php): failed to open stream: No such file or directory in /in/SH4oH on line 9 Fatal error: require_once(): Failed opening required 'includedScripts.php' (include_path='.:') in /in/SH4oH on line 9
Process exited with code 255.
Output for 7.1.20, 7.2.6 - 7.2.8
<!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Goldstar</title> Warning: require_once(): open_basedir restriction in effect. File(includedScripts.php) is not within the allowed path(s): (/tmp:/in) in /in/SH4oH on line 9 Warning: require_once(includedScripts.php): failed to open stream: Operation not permitted in /in/SH4oH on line 9 Fatal error: require_once(): Failed opening required 'includedScripts.php' (include_path='.:') in /in/SH4oH on line 9
Process exited with code 255.
Output for hhvm-3.15.4
<!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Goldstar</title> Fatal error: Uncaught Error: require_once(includedScripts.php): File not found in /in/SH4oH:9 Stack trace: #0 {main}
Process exited with code 255.