3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = json_decode('{ "key": "levels", "value": "[{role_id:1, access_level_id:3}, {role_id:2, access_level_id:1}, {role_id:3, access_level_id:2}]", "description": "" }', true); $x['value'] = json_decode(preg_replace('/(\w+)(?=:)/', '"$1"', $x['value']), true); print_r($x);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [key] => levels [value] => Array ( [0] => Array ( [role_id] => 1 [access_level_id] => 3 ) [1] => Array ( [role_id] => 2 [access_level_id] => 1 ) [2] => Array ( [role_id] => 3 [access_level_id] => 2 ) ) [description] => )

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:
121.62 ms | 407 KiB | 5 Q