3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = '[{"id":0}]'; $arr2 = '[{"id": 626, "name": "Aaron Wolfson", "contactID": "48499", "eventID": "325", "status": "Registered", "emergency": "", "dietary": "", "special": ""},{"id": 627, "name": "Aaron Wolfson", "contactID": "48499", "eventID": "331", "status": "Attended", "emergency": "", "dietary": "", "special": ""}]'; print_r(json_decode($arr2, true)); //echo $decode[0]['id']; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/C5gNV
function name:  (null)
number of ops:  10
compiled vars:  !0 = $arr, !1 = $arr2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%5B%7B%22id%22%3A0%7D%5D'
    3     1        ASSIGN                                                   !1, '%5B%7B%22id%22%3A+626%2C+%22name%22%3A+%22Aaron+Wolfson%22%2C+%22contactID%22%3A+%2248499%22%2C+%22eventID%22%3A+%22325%22%2C+%22status%22%3A+%22Registered%22%2C+%22emergency%22%3A+%22%22%2C+%22dietary%22%3A+%22%22%2C+%22special%22%3A+%22%22%7D%2C%7B%22id%22%3A+627%2C+%22name%22%3A+%22Aaron+Wolfson%22%2C+%22contactID%22%3A+%2248499%22%2C+%22eventID%22%3A+%22331%22%2C+%22status%22%3A+%22Attended%22%2C+%22emergency%22%3A+%22%22%2C+%22dietary%22%3A+%22%22%2C+%22special%22%3A+%22%22%7D%5D'
    4     2        INIT_FCALL                                               'print_r'
          3        INIT_FCALL                                               'json_decode'
          4        SEND_VAR                                                 !1
          5        SEND_VAL                                                 <true>
          6        DO_ICALL                                         $4      
          7        SEND_VAR                                                 $4
          8        DO_ICALL                                                 
    6     9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.2 ms | 1394 KiB | 17 Q