3v4l.org

run code in 300+ PHP versions simultaneously
<?php $watchDog = '{ "monitoredSettings": [{ "settingID": "0", "complianceValue": "false" }, { "settingID": "2", "complianceValue": "true" }, { "settingID": "3", "complianceValue": "false" }, { "settingID": "4", "complianceValue": "false" }, { "settingID": "5", "complianceValue": "true" }, { "settingID": "6", "complianceValue": "false" }, { "settingID": "7", "complianceValue": "false" }, { "settingID": "9", "complianceValue": "true" }, { "settingID": "10", "complianceValue": "false" }, { "settingID": "11", "complianceValue": "true" }, { "settingID": "12", "complianceValue": "true" }] }'; var_dump(json_decode($watchDog));
Output for git.master, git.master_jit, rfc.property-hooks
object(stdClass)#12 (1) { ["monitoredSettings"]=> array(11) { [0]=> object(stdClass)#1 (2) { ["settingID"]=> string(1) "0" ["complianceValue"]=> string(5) "false" } [1]=> object(stdClass)#2 (2) { ["settingID"]=> string(1) "2" ["complianceValue"]=> string(4) "true" } [2]=> object(stdClass)#3 (2) { ["settingID"]=> string(1) "3" ["complianceValue"]=> string(5) "false" } [3]=> object(stdClass)#4 (2) { ["settingID"]=> string(1) "4" ["complianceValue"]=> string(5) "false" } [4]=> object(stdClass)#5 (2) { ["settingID"]=> string(1) "5" ["complianceValue"]=> string(4) "true" } [5]=> object(stdClass)#6 (2) { ["settingID"]=> string(1) "6" ["complianceValue"]=> string(5) "false" } [6]=> object(stdClass)#7 (2) { ["settingID"]=> string(1) "7" ["complianceValue"]=> string(5) "false" } [7]=> object(stdClass)#8 (2) { ["settingID"]=> string(1) "9" ["complianceValue"]=> string(4) "true" } [8]=> object(stdClass)#9 (2) { ["settingID"]=> string(2) "10" ["complianceValue"]=> string(5) "false" } [9]=> object(stdClass)#10 (2) { ["settingID"]=> string(2) "11" ["complianceValue"]=> string(4) "true" } [10]=> object(stdClass)#11 (2) { ["settingID"]=> string(2) "12" ["complianceValue"]=> string(4) "true" } } }

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:
61.35 ms | 405 KiB | 8 Q