3v4l.org

run code in 300+ PHP versions simultaneously
<?php $apicalldata = '{ "status": "OK", "droplets": [ { "id": 100823, "name": "test222", "image_id": 420, "size_id":33, "region_id": 1, "backups_active": false, "ip_address": "127.0.0.1", "private_ip_address": null, "locked": false, "status": "active", "created_at": "2013-01-01T09:30:00Z" } ] }'; $call = json_decode($apicalldata); $droplets = $call->droplets; $myDroplet = $droplets[0]; $myDropletID = $myDroplet->id; echo $myDropletID;
Output for git.master, git.master_jit, rfc.property-hooks
100823

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