3v4l.org

run code in 300+ PHP versions simultaneously
<?php spl_autoload_extensions(".php"); spl_autoload_register(); require_once 'config.php'; $driver = Handy\Core\Config\ConfigHelper::get('CACHE_DRIVER'); $cache = new Handy\Core\Cache\CacheDriver(Handy\Core\Config\ConfigHelper::get('CACHE_DRIVER')); Handy\Core\ObjectStorage\Storage::saveObject('cache', $cache); if (Handy\Core\Config\ConfigHelper::get('ACTIVE_RECORD_STATUS') == true) { require_once 'ActiveRecord/ActiveRecord.php'; ActiveRecord\Config::initialize(function ($config) { $config->set_model_directory('Handy/Modules/Model/'); $config->set_connections(array('development' => Handy\Core\Config\ConfigHelper::get('ACTIVE_RECORD_DRIVER_DEVELOPMENT'), 'production' => Handy\Core\Config\ConfigHelper::get('ACTIVE_RECORD_DRIVER_PRODUCTION'))); $config->set_default_connection(Handy\Core\Config\ConfigHelper::get('DEVELOPMENT_ENV')); }); } if(Handy\Core\Config\ConfigHelper::get('TWIG_STATUS') == true) { require_once 'Twig/Autoloader.php'; Twig_Autoloader::register(); $loader = new Twig_Loader_Filesystem('Handy/Modules/View'); $twig = new Twig_Environment($loader, array( 'cache' => Handy\Core\Config\ConfigHelper::get('DIRECTORY_CACHE').'/template/', 'debug' => ((Handy\Core\Config\ConfigHelper::get('DEVELOPMENT_ENV') == 'development') ? true : false) ) ); Handy\Core\ObjectStorage\Storage::saveObject('twig', $twig); } require_once 'routes.php';
Output for git.master, git.master_jit, rfc.property-hooks
Warning: require_once(): open_basedir restriction in effect. File(config.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/HHCkh on line 4 Warning: require_once(config.php): Failed to open stream: Operation not permitted in /in/HHCkh on line 4 Fatal error: Uncaught Error: Failed opening required 'config.php' (include_path='.:') in /in/HHCkh:4 Stack trace: #0 {main} thrown in /in/HHCkh on line 4
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:
64.99 ms | 401 KiB | 8 Q