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'];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/bAdHq
function name:  (null)
number of ops:  10
compiled vars:  !0 = $json, !1 = $obj
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%7B%0A++%22messageId%22%3A+%2219099a24-6477-4640-ba10-5e7ea1e35aa9%22%2C%0A++%22acceptedAt%22%3A+%222025-01-02T17%3A37%3A16%22%2C%0A++%22sentDate%22%3A+%222025-01-02T17%3A37%3A16%22%2C%0A++%22channel%22%3A+%7B%0A++++%22channelId%22%3A+%22f433d284-b6a5-11ec-a3d5-2cea7f78b3e5%22%2C%0A++++%22name%22%3A+%22mainAccount%22%2C%0A++++%22type%22%3A+%22SMS%22%2C%0A++++%22flow%22%3A+%22TRANSACTIONAL%22%0A++%7D%2C%0A++%22type%22%3A+%22SMS%22%2C%0A++%22direction%22%3A+%22MT%22%2C%0A++%22recipient%22%3A+%7B%0A++++%22to%22%3A+%2233600011122%22%0A++%7D%2C%0A++%22from%22%3A+%22Expediteur%22%2C%0A++%22body%22%3A+%7B%0A++++%22text%22%3A+%22Bonjour+....%22%2C%0A++++%22encoding%22%3A+%22GSM7%22%2C%0A++++%22messagePartCount%22%3A+1%2C%0A++++%22length%22%3A+121%0A++%7D%2C%0A++%22price%22%3A+%7B%0A++++%22amount%22%3A+1%2C%0A++++%22currency%22%3A+%22EUR%22%0A++%7D%2C%0A++%22status%22%3A+%7B%0A++++%22deliveryDate%22%3A+%222025-01-02T17%3A37%3A17%22%2C%0A++++%22value%22%3A+%22DELIVERED%22%2C%0A++++%22lookup%22%3A+%7B%0A++++++%22mccMnc%22%3A+%2220810%22%2C%0A++++++%22mcc%22%3A+%22208%22%2C%0A++++++%22mnc%22%3A+%2210%22%2C%0A++++++%22country%22%3A+%22France%22%2C%0A++++++%22countryPrefix%22%3A+%2233%22%2C%0A++++++%22isoCountryCode%22%3A+%22FR%22%2C%0A++++++%22network%22%3A+%22Sfr%22%0A++++%7D%0A++%7D%2C%0A++%22refClient%22%3A+%221001%22%2C%0A++%22href%22%3A+%22https%3A%2F%2Fsitesms.com%2Fsms%2Fv1%2Fmessages%2F19099a24-6477-...%22%0A%7D'
   48     1        INIT_FCALL                                               'json_decode'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 <true>
          4        DO_ICALL                                         $3      
          5        ASSIGN                                                   !1, $3
   50     6        FETCH_DIM_R                                      ~5      !1, 'status'
          7        FETCH_DIM_R                                      ~6      ~5, 'deliveryDate'
          8        ECHO                                                     ~6
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
141.4 ms | 944 KiB | 14 Q