3v4l.org

run code in 300+ PHP versions simultaneously
<?php $items = array( 'main' => array( 'label' => ('MENU'), 'entries'=> array('dash1'=> array('label'=>'Dashboard 1', 'icon' => 'fas fa-wallet'), 'dash2'=> array('label'=> 'Dashboard 2', 'icon' => 'fas fa-tachometer-alt'), 'dash3'=> array('label'=> 'Dashboard 3', 'icon' => 'fas fa-tachometer-alt') ) ) ); $new_items=array('newdash'=>array('label'=>'New Dashboard', 'icon' => 'fas fa-wallet' ) ) ; $items['main']['entries']['newdash'] = $new_items['newdash']; print_r($items);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [main] => Array ( [label] => MENU [entries] => Array ( [dash1] => Array ( [label] => Dashboard 1 [icon] => fas fa-wallet ) [dash2] => Array ( [label] => Dashboard 2 [icon] => fas fa-tachometer-alt ) [dash3] => Array ( [label] => Dashboard 3 [icon] => fas fa-tachometer-alt ) [newdash] => Array ( [label] => New Dashboard [icon] => fas fa-wallet ) ) ) )

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:
136.58 ms | 408 KiB | 5 Q