3v4l.org

run code in 300+ PHP versions simultaneously
<?php $output = new JoomlaGCLoader2('front', 'chronoforms6', 'chronoforms', $chronoforms6_setup); $doc = JFactory::getDocument(); $app = JFactory::getApplication(); $activeMenu = $app->getMenu()->getActive(); $menu = $activeMenu->id; if ($activeMenu->params->get('menu-meta_description')) { $doc->setDescription($activeMenu->params->get('menu-meta_description')); } if ($activeMenu->params->get('menu-meta_keywords')){ $doc->setMetadata('keywords', $activeMenu->params->get('menu-meta_keywords')); }
Output for 8.0.0 - 8.0.12, 8.1rc1 - rc3
Fatal error: Uncaught Error: Class "JoomlaGCLoader2" not found in /in/oAr8n:2 Stack trace: #0 {main} thrown in /in/oAr8n on line 2
Process exited with code 255.
Output for 7.1.25 - 7.1.31, 7.2.0 - 7.2.33, 7.3.0 - 7.3.31, 7.4.0 - 7.4.25
Fatal error: Uncaught Error: Class 'JoomlaGCLoader2' not found in /in/oAr8n:2 Stack trace: #0 {main} thrown in /in/oAr8n on line 2
Process exited with code 255.

preferences:
26.17 ms | 461 KiB | 5 Q