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'];

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.4.20.0340.01417.50
8.4.10.0410.00717.48
8.3.150.0380.00716.17
8.3.140.0410.00316.30
8.3.130.0240.01616.22
8.3.120.0270.01316.53
8.3.110.0200.02016.36
8.3.100.0360.01116.43
8.3.90.0360.01116.11
8.3.80.0370.01216.45
8.3.70.0440.00816.57
8.3.60.0340.00716.39
8.3.50.0310.01016.43
8.3.40.0270.01217.38
8.3.30.0220.01417.49
8.3.20.0300.00717.49
8.3.10.0320.00317.53
8.3.00.0160.00617.33
8.2.270.0260.01216.41
8.2.260.0250.01416.42
8.2.250.0270.01116.56
8.2.240.0330.00616.30
8.2.230.0290.01016.50
8.2.220.0270.01216.53
8.2.210.0330.00316.46
8.2.200.0320.00616.28
8.2.190.0350.00316.40
8.2.180.0280.01116.37
8.2.170.0460.00417.56
8.2.160.0360.01017.59
8.2.150.0300.00717.74
8.2.140.0200.01417.38
8.2.130.0320.00817.60
8.2.120.0290.01017.65
8.2.110.0340.00717.58
8.2.100.0290.00817.60
8.2.90.0270.01217.59
8.2.80.0340.00717.60
8.2.70.0350.01017.27
8.2.60.0260.01117.41
8.2.50.0260.00717.48
8.2.40.0340.00317.57
8.2.30.0340.00017.49
8.2.20.0240.01217.49
8.2.10.0320.00417.22
8.2.00.0360.00017.19

preferences:
27.88 ms | 403 KiB | 5 Q