3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = <<<'JSON' { "messageId": "19099a24-6477-4640-ba10-5e7ea1e35aa9", "acceptedAt": "2025-01-02T17:37:16", "sentDate": "2025-01-02T17:37:16", "channel": { "channelId": "f433d284-b6a5-11ec-a3d5-2cea7f78b3e5", "name": "mainAccount", "type": "SMS", "flow": "TRANSACTIONAL" }, "type": "SMS", "direction": "MT", "recipient": { "to": "33600011122" }, "from": "Expediteur", "body": { "text": "Bonjour ....", "encoding": "GSM7", "messagePartCount": 1, "length": 121 }, "price": { "amount": 1, "currency": "EUR" }, "status": { "deliveryDate": "2025-01-02T17:37:17", "value": "DELIVERED", "lookup": { "mccMnc": "20810", "mcc": "208", "mnc": "10", "country": "France", "countryPrefix": "33", "isoCountryCode": "FR", "network": "Sfr" } }, "refClient": "1001", "href": "https://sitesms.com/sms/v1/messages/19099a24-6477-..." } JSON; $obj = json_decode($json, true); echo $obj['status']['deliveryDate'];
Output for git.master_jit, git.master
2025-01-02T17:37:17

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:
26.04 ms | 405 KiB | 5 Q