3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arTemplateFunction = function(&$AR_this) { $local = new ar_core_pinpSandbox($AR_this); ?><?php $local->load('mod_edit.php'); $local->graphicsURL = pinp_ar::_acquire('settings.graphicsURL'); $local->site = pinp_ar::_acquire('settings.site'); $local->siteURL = pinp_ar::_acquire('settings.siteURL'); $local->editURL = pinp_edit::_getEditMode() ? $local->siteURL . pinp_edit::_getEditTemplate() : $local->siteURL; $local->section = pinp_ar::_getvar('section'); ?> <!DOCTYPE html> <html lang="en"> <head> <link rel="stylesheet" href="<?php echo $local->graphicsURL; ?>layout.css" type="text/css"> <link rel="stylesheet" href="<?php echo $local->graphicsURL; ?>style.css" type="text/css"> <title><?php echo $local->this->nlsdata->name; ?></title> <script type="text/javascript" src="<?php echo $local->graphicsURL; ?>ariadne.load.js?muze+muze.event"></script> <script type="text/javascript" src="<?php echo $local->graphicsURL; ?>search.js"></script> <meta charset="UTF-8"> </head> <body class="<?php echo $local->this->type; ?>"> <div id="header"> <?php pinp_ar::_get( $local->site )->_call( 'view.title.html' ); pinp_ar::_call( 'view.searchform.html' ); echo ar('html')->_menu() ->_template('menu.item.html') ->_setAttribute('id', 'menu') ->_current( $local->section ? $local->section : $local->editURL ) ->_fill( array( $local->editURL => 'Home' ), pinp_ar::_get( $local->site ) ->_find( "object.implements='psection' and object.parent='".($local->site)."'" ) ->_order('object.priority ASC') ); ?> </div> <hr class="noscreen"> <?php };$arTemplateFunction() ?>
based on haCMN
Output for 7.1.0 - 7.2.0
Fatal error: Uncaught ArgumentCountError: Too few arguments to function {closure}(), 0 passed in /in/9biVs on line 38 and exactly 1 expected in /in/9biVs:1 Stack trace: #0 /in/9biVs(38): {closure}() #1 {main} thrown in /in/9biVs on line 1
Process exited with code 255.
Output for 7.0.0 - 7.0.20
Warning: Missing argument 1 for {closure}(), called in /in/9biVs on line 38 and defined in /in/9biVs on line 1 Fatal error: Uncaught Error: Class 'ar_core_pinpSandbox' not found in /in/9biVs:1 Stack trace: #0 /in/9biVs(38): {closure}() #1 {main} thrown in /in/9biVs on line 1
Process exited with code 255.
Output for 5.3.18 - 5.6.21
Warning: Missing argument 1 for {closure}(), called in /in/9biVs on line 38 and defined in /in/9biVs on line 1 Fatal error: Class 'ar_core_pinpSandbox' not found in /in/9biVs on line 1
Process exited with code 255.