3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = [ '4X2' => 86, '4X3' => 9, '4X4' => 5, '6X2' => 14, '6X4' => 1 ]; array_walk( $arr, fn(&$v, $k) => $v = [ 'title' => $k, 'search' => "&vconfiguration[]=$k", 'count' => $v ] ); var_export($arr);
Output for git.master_jit, git.master, rfc.property-hooks
array ( '4X2' => array ( 'title' => '4X2', 'search' => '&vconfiguration[]=4X2', 'count' => 86, ), '4X3' => array ( 'title' => '4X3', 'search' => '&vconfiguration[]=4X3', 'count' => 9, ), '4X4' => array ( 'title' => '4X4', 'search' => '&vconfiguration[]=4X4', 'count' => 5, ), '6X2' => array ( 'title' => '6X2', 'search' => '&vconfiguration[]=6X2', 'count' => 14, ), '6X4' => array ( 'title' => '6X4', 'search' => '&vconfiguration[]=6X4', 'count' => 1, ), )

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:
42.8 ms | 406 KiB | 5 Q