3v4l.org

run code in 300+ PHP versions simultaneously
<?php $jsonString = '[{"id":"1","url":"https:\/\/someurl.com\/","starttime":"2010-11-30 16:14:12","finishtime":"2011-09-11 11:32:31","aborted":"0"},{"id":"2","starturl":"http:\/\/someurl.com\/","starttime":"2010-11-30 16:14:12","finishtime":"2013-10-15 14:49:16","aborted":"0"},{"id":"5","starturl":"https:\/\/someurl.com\/","starttime":"2010-11-30 16:14:12","finishtime":"2013-10-17 04:15:58","aborted":"0"}]'; $decodedJson = json_decode($jsonString); var_dump($decodedJson);
Output for git.master, git.master_jit, rfc.property-hooks
array(3) { [0]=> object(stdClass)#1 (5) { ["id"]=> string(1) "1" ["url"]=> string(20) "https://someurl.com/" ["starttime"]=> string(19) "2010-11-30 16:14:12" ["finishtime"]=> string(19) "2011-09-11 11:32:31" ["aborted"]=> string(1) "0" } [1]=> object(stdClass)#2 (5) { ["id"]=> string(1) "2" ["starturl"]=> string(19) "http://someurl.com/" ["starttime"]=> string(19) "2010-11-30 16:14:12" ["finishtime"]=> string(19) "2013-10-15 14:49:16" ["aborted"]=> string(1) "0" } [2]=> object(stdClass)#3 (5) { ["id"]=> string(1) "5" ["starturl"]=> string(20) "https://someurl.com/" ["starttime"]=> string(19) "2010-11-30 16:14:12" ["finishtime"]=> string(19) "2013-10-17 04:15:58" ["aborted"]=> string(1) "0" } }

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