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 git.master, git.master_jit, rfc.property-hooks
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.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
45.71 ms | 402 KiB | 8 Q