3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace GlobalAlliance\Services\Page; use const CONSTANT_NUMBER_ONE; class NavigationStructure { private static $root; private static $list; private static $fullList = array(); private static $fullPaths2NavigationItems = array(); private static $levels2NavigationItems = array(); private static $activeItem = NULL; private static $activeRequestPath = NULL; private static $navigationRoots = array(); static function init() { // For the group guest there are two possible navigations (branded and GA), so we need an array here self::$navigationRoots[CONSTANT_NUMBER_ONE] = array(); } } NavigationStructure::init();
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Undefined constant "CONSTANT_NUMBER_ONE" in /in/Dvq3P:27 Stack trace: #0 /in/Dvq3P(32): GlobalAlliance\Services\Page\NavigationStructure::init() #1 {main} thrown in /in/Dvq3P on line 27
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:
94.58 ms | 401 KiB | 8 Q