3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array(); $arr['a'] = 123; $arr['f'] = 345; $arr['b'] = 678; var_dump($arr); var_dump($arr[0]); var_dump($arr[1]); var_dump($arr[2]);
Output for git.master, git.master_jit, rfc.property-hooks
array(3) { ["a"]=> int(123) ["f"]=> int(345) ["b"]=> int(678) } Warning: Undefined array key 0 in /in/YvEl2 on line 9 NULL Warning: Undefined array key 1 in /in/YvEl2 on line 10 NULL Warning: Undefined array key 2 in /in/YvEl2 on line 11 NULL

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:
41.84 ms | 402 KiB | 8 Q