3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = json_decode('[ { "event": "hard_bounce", "_id": "323418ee24f744859ce7b7e01f28e0d1", "msg": { "ts": 1433426374, "_id": "323418ee24f744859ce7b7e01f28e0d1", "state": "bounced", "subject": "Subject", "email": "testMail@hotmail.com", "tags": [], "smtp_events": [], "resends": [], "_version": "HM-1sBYhpAPYoUvSCE2-Zw", "diag": "smtp;550 Requested action not taken: mailbox unavailable", "bgtools_code": 10, "sender": "noreply@domain.net", "template": null, "bounce_description": "bad_mailbox" }, "ts": 1433427203 } ]'); echo $json[0]->msg->email;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vel8X
function name:  (null)
number of ops:  9
compiled vars:  !0 = $json
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'json_decode'
          1        SEND_VAL                                                 '%5B%0A++++%7B%0A++++++++%22event%22%3A+%22hard_bounce%22%2C%0A++++++++%22_id%22%3A+%22323418ee24f744859ce7b7e01f28e0d1%22%2C%0A++++++++%22msg%22%3A+%7B%0A++++++++++++%22ts%22%3A+1433426374%2C%0A++++++++++++%22_id%22%3A+%22323418ee24f744859ce7b7e01f28e0d1%22%2C%0A++++++++++++%22state%22%3A+%22bounced%22%2C%0A++++++++++++%22subject%22%3A+%22Subject%22%2C%0A++++++++++++%22email%22%3A+%22testMail%40hotmail.com%22%2C%0A++++++++++++%22tags%22%3A+%5B%5D%2C%0A++++++++++++%22smtp_events%22%3A+%5B%5D%2C%0A++++++++++++%22resends%22%3A+%5B%5D%2C%0A++++++++++++%22_version%22%3A+%22HM-1sBYhpAPYoUvSCE2-Zw%22%2C%0A++++++++++++%22diag%22%3A+%22smtp%3B550+Requested+action+not+taken%3A+mailbox+unavailable%22%2C%0A++++++++++++%22bgtools_code%22%3A+10%2C%0A++++++++++++%22sender%22%3A+%22noreply%40domain.net%22%2C%0A++++++++++++%22template%22%3A+null%2C%0A++++++++++++%22bounce_description%22%3A+%22bad_mailbox%22%0A++++++++%7D%2C%0A++++++++%22ts%22%3A+1433427203%0A++++%7D%0A%5D'
          2        DO_ICALL                                         $1      
          3        ASSIGN                                                   !0, $1
   27     4        FETCH_DIM_R                                      ~3      !0, 0
          5        FETCH_OBJ_R                                      ~4      ~3, 'msg'
          6        FETCH_OBJ_R                                      ~5      ~4, 'email'
          7        ECHO                                                     ~5
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
180.5 ms | 1395 KiB | 15 Q