3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = <<<JSON { "api_json": [ { "api_id": 1, "api_no": 36, "api_name": "name", "api_val": [ 133, 424 ] }, { "api_id": 2, "api_no": 21, "api_name": "name2", "api_val": [ 213, 924 ] } ] } JSON; var_dump(json_decode($data));
Output for git.master, git.master_jit, rfc.property-hooks
object(stdClass)#3 (1) { ["api_json"]=> array(2) { [0]=> object(stdClass)#1 (4) { ["api_id"]=> int(1) ["api_no"]=> int(36) ["api_name"]=> string(4) "name" ["api_val"]=> array(2) { [0]=> int(133) [1]=> int(424) } } [1]=> object(stdClass)#2 (4) { ["api_id"]=> int(2) ["api_no"]=> int(21) ["api_name"]=> string(5) "name2" ["api_val"]=> array(2) { [0]=> int(213) [1]=> int(924) } } } }

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