3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = json_decode('{"3":{"friend":45,"all":100},"2":{"friend":30,"all":50},"1":{"friend":25,"all":25}}'); $b = 3; var_dump($a->$b); /*var_dump($a['3']); var_dump($a["3"]); var_dump($a[(string) 3]);*/

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

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