3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php include 'include/Gallery.php';?> <!doctype html> <html> <head> <title>hoi</title> <link HREF="css/stylesheet.css" REL="stylesheet" TYPE="text/css"> <style> <?php echo Gallery::GenerateCSS();?> </style> </head> <body> <?php echo Gallery::Generate();?> </body> </html>
Output for 7.0.0 - 7.1.0
Warning: include(include/Gallery.php): failed to open stream: No such file or directory in /in/4YHfr on line 1 Warning: include(): Failed opening 'include/Gallery.php' for inclusion (include_path='.:') in /in/4YHfr on line 1 <!doctype html> <html> <head> <title>hoi</title> <link HREF="css/stylesheet.css" REL="stylesheet" TYPE="text/css"> <style> Fatal error: Uncaught Error: Class 'Gallery' not found in /in/4YHfr:8 Stack trace: #0 {main} thrown in /in/4YHfr on line 8
Process exited with code 255.
Output for hhvm-3.10.0 - 3.12.0
Warning: File not found: include/Gallery.php in /in/4YHfr on line 1 <!doctype html> <html> <head> <title>hoi</title> <link HREF="css/stylesheet.css" REL="stylesheet" TYPE="text/css"> <style> Fatal error: Class undefined: Gallery in /in/4YHfr on line 8
Process exited with code 255.
Output for 5.1.0 - 5.6.28
Warning: include(include/Gallery.php): failed to open stream: No such file or directory in /in/4YHfr on line 1 Warning: include(): Failed opening 'include/Gallery.php' for inclusion (include_path='.:') in /in/4YHfr on line 1 <!doctype html> <html> <head> <title>hoi</title> <link HREF="css/stylesheet.css" REL="stylesheet" TYPE="text/css"> <style> Fatal error: Class 'Gallery' not found in /in/4YHfr on line 8
Process exited with code 255.
Output for 5.0.0 - 5.0.5
Warning: main(include/Gallery.php): failed to open stream: No such file or directory in /in/4YHfr on line 1 Warning: main(): Failed opening 'include/Gallery.php' for inclusion (include_path='.:') in /in/4YHfr on line 1 <!doctype html> <html> <head> <title>hoi</title> <link HREF="css/stylesheet.css" REL="stylesheet" TYPE="text/css"> <style> Fatal error: Class 'Gallery' not found in /in/4YHfr on line 8
Process exited with code 255.
Output for 4.3.2 - 4.4.9
Warning: main(include/Gallery.php): failed to open stream: No such file or directory in /in/4YHfr on line 1 Warning: main(): Failed opening 'include/Gallery.php' for inclusion (include_path='.:') in /in/4YHfr on line 1 <!doctype html> <html> <head> <title>hoi</title> <link HREF="css/stylesheet.css" REL="stylesheet" TYPE="text/css"> <style> Fatal error: Undefined class name 'gallery' in /in/4YHfr on line 8
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Warning: main(include/Gallery.php) [http://www.php.net/function.main]: failed to create stream: No such file or directory in /in/4YHfr on line 1 Warning: main() [http://www.php.net/function.main]: Failed opening 'include/Gallery.php' for inclusion (include_path='.:') in /in/4YHfr on line 1 <!doctype html> <html> <head> <title>hoi</title> <link HREF="css/stylesheet.css" REL="stylesheet" TYPE="text/css"> <style> Fatal error: Undefined class name 'gallery' in /in/4YHfr on line 8