3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = json_decode(json_encode(array('a' => array('b','c'),'d' => array('e' => array('f','g'),'h' => 'i')))); var_dump($a->d->e);

Shows result from various feature-branches currently under review from the php developers. Contact me to have additional branches featured.

Output for Typed properties v2
array(2) { [0]=> string(1) "f" [1]=> string(1) "g" }
Output for Array change keys
array(2) { [0]=> string(1) "f" [1]=> string(1) "g" }
Output for Lexical anon
array(2) { [0]=> string(1) "f" [1]=> string(1) "g" }

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