3v4l.org

run code in 300+ PHP versions simultaneously
<?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 8.0.0 - 8.0.12, 8.0.14 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
Warning: define(): Argument #3 ($case_insensitive) is ignored since declaration of case-insensitive constants is no longer supported in /in/CrlOA on line 5 Warning: include(): open_basedir restriction in effect. File(config/config.inc.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/CrlOA on line 6 Warning: include(config/config.inc.php): Failed to open stream: Operation not permitted 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(): open_basedir restriction in effect. File(LIBRARY/dbo.lib.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/CrlOA on line 7 Warning: include(LIBRARY/dbo.lib.php): Failed to open stream: Operation not permitted 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 8.0.13
Warning: define(): Argument #3 ($case_insensitive) is ignored since declaration of case-insensitive constants is no longer supported in /in/CrlOA on line 5 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 7.4.33
Deprecated: define(): Declaration of case-insensitive constants is deprecated in /in/CrlOA on line 5 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 7.3.0 - 7.3.31, 7.4.0 - 7.4.25, 7.4.27 - 7.4.32
Deprecated: define(): Declaration of case-insensitive constants is deprecated in /in/CrlOA on line 5 Warning: include(): open_basedir restriction in effect. File(config/config.inc.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/CrlOA on line 6 Warning: include(config/config.inc.php): failed to open stream: Operation not permitted 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(): open_basedir restriction in effect. File(LIBRARY/dbo.lib.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/CrlOA on line 7 Warning: include(LIBRARY/dbo.lib.php): failed to open stream: Operation not permitted 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 7.0.0 - 7.0.20, 7.1.0 - 7.1.10, 7.3.32 - 7.3.33, 7.4.26
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 7.1.25, 7.2.0 - 7.2.33
Warning: include(): open_basedir restriction in effect. File(config/config.inc.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/CrlOA on line 6 Warning: include(config/config.inc.php): failed to open stream: Operation not permitted 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(): open_basedir restriction in effect. File(LIBRARY/dbo.lib.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/CrlOA on line 7 Warning: include(LIBRARY/dbo.lib.php): failed to open stream: Operation not permitted 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 7.1.20
Warning: include(): open_basedir restriction in effect. File(config/config.inc.php) is not within the allowed path(s): (/tmp:/in) in /in/CrlOA on line 6 Warning: include(config/config.inc.php): failed to open stream: Operation not permitted 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(): open_basedir restriction in effect. File(LIBRARY/dbo.lib.php) is not within the allowed path(s): (/tmp:/in) in /in/CrlOA on line 7 Warning: include(LIBRARY/dbo.lib.php): failed to open stream: Operation not permitted 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.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 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.1.6, 5.2.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.3.11, 4.4.0 - 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

preferences:
267.97 ms | 403 KiB | 370 Q