3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php ob_start( ); session_start( ); define( "SEVENPANEL", 1, true ); include( "config/config.inc.php" ); include( "LIBRARY/dbo.lib.php" ); $sevendbo = new SevenDBO( $db['db_name'], $db['db_user'], $db['db_pass'] ); $sevendbo->doquery('SELECT site_path,lang FROM _WEBSETTINGS'); $pathr = $sevendbo->result('site_path'); $path = 'http://'.$_SERVER['HTTP_HOST'].'/'.$pathr. TEMPLATE . TEMPLATE_DIR; $base_url = 'http://'.$_SERVER['HTTP_HOST'].'/'.$pathr; $launguage = $sevendbo->result('lang'); include( "inc_sql/base_url.php" ); include( "inc_sql/lang.php" ); include( "LIBRARY/cache.lib.php" ); include( "inc_sql/cache.php" ); define( "cache_mode", $cache_mode ); define( "cache_time", $cache_time ); include( "LIBRARY/template.lib.php" ); ?>
Output for 7.0.0 - 7.1.0
Warning: include(config/config.inc.php): failed to open stream: No such file or directory in /in/CrlOA on line 6 Warning: include(): Failed opening 'config/config.inc.php' for inclusion (include_path='.:') in /in/CrlOA on line 6 Warning: include(LIBRARY/dbo.lib.php): failed to open stream: No such file or directory in /in/CrlOA on line 7 Warning: include(): Failed opening 'LIBRARY/dbo.lib.php' for inclusion (include_path='.:') in /in/CrlOA on line 7 Fatal error: Uncaught Error: Class 'SevenDBO' not found in /in/CrlOA:8 Stack trace: #0 {main} thrown in /in/CrlOA on line 8
Process exited with code 255.
Output for 5.2.3 - 5.6.25
Warning: include(config/config.inc.php): failed to open stream: No such file or directory in /in/CrlOA on line 6 Warning: include(): Failed opening 'config/config.inc.php' for inclusion (include_path='.:') in /in/CrlOA on line 6 Warning: include(LIBRARY/dbo.lib.php): failed to open stream: No such file or directory in /in/CrlOA on line 7 Warning: include(): Failed opening 'LIBRARY/dbo.lib.php' for inclusion (include_path='.:') in /in/CrlOA on line 7 Fatal error: Class 'SevenDBO' not found in /in/CrlOA on line 8
Process exited with code 255.
Output for 5.1.0 - 5.2.2
Warning: session_start(): Cannot send session cookie - headers already sent in /in/CrlOA on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent in /in/CrlOA on line 4 Warning: include(config/config.inc.php): failed to open stream: No such file or directory in /in/CrlOA on line 6 Warning: include(): Failed opening 'config/config.inc.php' for inclusion (include_path='.:') in /in/CrlOA on line 6 Warning: include(LIBRARY/dbo.lib.php): failed to open stream: No such file or directory in /in/CrlOA on line 7 Warning: include(): Failed opening 'LIBRARY/dbo.lib.php' for inclusion (include_path='.:') in /in/CrlOA on line 7 Fatal error: Class 'SevenDBO' not found in /in/CrlOA on line 8
Process exited with code 255.
Output for 5.0.0 - 5.0.5
Warning: session_start(): Cannot send session cookie - headers already sent in /in/CrlOA on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent in /in/CrlOA on line 4 Warning: main(config/config.inc.php): failed to open stream: No such file or directory in /in/CrlOA on line 6 Warning: main(): Failed opening 'config/config.inc.php' for inclusion (include_path='.:') in /in/CrlOA on line 6 Warning: main(LIBRARY/dbo.lib.php): failed to open stream: No such file or directory in /in/CrlOA on line 7 Warning: main(): Failed opening 'LIBRARY/dbo.lib.php' for inclusion (include_path='.:') in /in/CrlOA on line 7 Fatal error: Class 'SevenDBO' not found in /in/CrlOA on line 8
Process exited with code 255.
Output for 4.3.2 - 4.4.9
Warning: session_start(): Cannot send session cookie - headers already sent in /in/CrlOA on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent in /in/CrlOA on line 4 Warning: main(config/config.inc.php): failed to open stream: No such file or directory in /in/CrlOA on line 6 Warning: main(): Failed opening 'config/config.inc.php' for inclusion (include_path='.:') in /in/CrlOA on line 6 Warning: main(LIBRARY/dbo.lib.php): failed to open stream: No such file or directory in /in/CrlOA on line 7 Warning: main(): Failed opening 'LIBRARY/dbo.lib.php' for inclusion (include_path='.:') in /in/CrlOA on line 7 Fatal error: Cannot instantiate non-existent class: sevendbo in /in/CrlOA on line 8
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Warning: session_start() [http://www.php.net/function.session-start]: Cannot send session cookie - headers already sent in /in/CrlOA on line 4 Warning: session_start() [http://www.php.net/function.session-start]: Cannot send session cache limiter - headers already sent in /in/CrlOA on line 4 Warning: main(config/config.inc.php) [http://www.php.net/function.main]: failed to create stream: No such file or directory in /in/CrlOA on line 6 Warning: main() [http://www.php.net/function.main]: Failed opening 'config/config.inc.php' for inclusion (include_path='.:') in /in/CrlOA on line 6 Warning: main(LIBRARY/dbo.lib.php) [http://www.php.net/function.main]: failed to create stream: No such file or directory in /in/CrlOA on line 7 Warning: main() [http://www.php.net/function.main]: Failed opening 'LIBRARY/dbo.lib.php' for inclusion (include_path='.:') in /in/CrlOA on line 7 Fatal error: Cannot instantiate non-existent class: sevendbo in /in/CrlOA on line 8