3v4l.org

run code in 300+ PHP versions simultaneously
<?php $f = json_decode('{ "id": "POST_ID", "from": { "id": "POST_FROM_ID", "name": "FULL NAME" }, "created_time": { "date": "2017-04-28 05:20:59.000000", "timezone_type": 1, "timezone": "+00:00" }, "updated_time": { "date": "2017-04-28 06:20:16.000000", "timezone_type": 1, "timezone": "+00:00" }, "comments": [ { "from": { "id": "COMMENT_FROM_ID", "name": "FULL NAME" }, "id": "COMMENT_ID" }, { "from": { "id": "COMMENT_FROM_ID", "name": "FULL NAME" }, "id": "COMMENT_ID" } ] }'); var_dump($f);
Output for git.master, git.master_jit, rfc.property-hooks
object(stdClass)#1 (5) { ["id"]=> string(7) "POST_ID" ["from"]=> object(stdClass)#2 (2) { ["id"]=> string(12) "POST_FROM_ID" ["name"]=> string(9) "FULL NAME" } ["created_time"]=> object(stdClass)#3 (3) { ["date"]=> string(26) "2017-04-28 05:20:59.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+00:00" } ["updated_time"]=> object(stdClass)#4 (3) { ["date"]=> string(26) "2017-04-28 06:20:16.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+00:00" } ["comments"]=> array(2) { [0]=> object(stdClass)#6 (2) { ["from"]=> object(stdClass)#5 (2) { ["id"]=> string(15) "COMMENT_FROM_ID" ["name"]=> string(9) "FULL NAME" } ["id"]=> string(10) "COMMENT_ID" } [1]=> object(stdClass)#8 (2) { ["from"]=> object(stdClass)#7 (2) { ["id"]=> string(15) "COMMENT_FROM_ID" ["name"]=> string(9) "FULL NAME" } ["id"]=> string(10) "COMMENT_ID" } } }

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:
31.88 ms | 403 KiB | 8 Q