3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json='{"0":{"role_id":1,"username":"me@gmail.com","date_time":"2013-01-13 14:01:00"},"status":"success"}'; $obj=json_decode($json); var_dump($obj); var_dump($obj->{"0"}->username);
Output for git.master, git.master_jit, rfc.property-hooks
object(stdClass)#2 (2) { ["0"]=> object(stdClass)#1 (3) { ["role_id"]=> int(1) ["username"]=> string(12) "me@gmail.com" ["date_time"]=> string(19) "2013-01-13 14:01:00" } ["status"]=> string(7) "success" } string(12) "me@gmail.com"

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