3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = ' { "profiles": { "llaurenss": { "name": "llaurenss" } }, "selectedProfile": "llaurenss", "clientToken": "31a5d808-c487-47b2-b85a-ce535d68b48b", "authenticationDatabase": { "3ea975d90add4270af3b1adef9b3b975": { "displayName": "llaurenss", "accessToken": "ae0b09da6979439587b41e45353f2b9d", "userid": "04c83cc8174e1846ae96f577a21c07c3", "uuid": "3ea975d9-0add-4270-af3b-1adef9b3b975", "username": "henkionline@gmail.com" } }, "selectedUser": "3ea975d90add4270af3b1adef9b3b975", "launcherVersion": { "name": "1.6.61", "format": 18 } }'; $myArray = json_decode($json, true); echo $myArray['authenticationDatabase']['3ea975d90add4270af3b1adef9b3b975']['displayName']; echo ':'; echo $myArray['authenticationDatabase']['3ea975d90add4270af3b1adef9b3b975']['uuid']; echo ':'; echo $myArray['authenticationDatabase']['3ea975d90add4270af3b1adef9b3b975']['accessToken']; echo ':'; echo $myArray['clientToken']; ?>
Output for git.master, git.master_jit, rfc.property-hooks
llaurenss:3ea975d9-0add-4270-af3b-1adef9b3b975:ae0b09da6979439587b41e45353f2b9d:31a5d808-c487-47b2-b85a-ce535d68b48b

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:
93.99 ms | 401 KiB | 8 Q