3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array('224' => 1, '23' =>2, '1'=> 3, '1231' => 4); Var_dump($arr); $products = array_keys($arr); Var_dump($products);
Output for rfc.property-hooks, git.master, git.master_jit
array(4) { [224]=> int(1) [23]=> int(2) [1]=> int(3) [1231]=> int(4) } array(4) { [0]=> int(224) [1]=> int(23) [2]=> int(1) [3]=> int(1231) }

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:
52.27 ms | 1470 KiB | 4 Q