3v4l.org

run code in 300+ PHP versions simultaneously
<?php function accessData($key) { foreach (explode('.', $key) as $pin) { $this->data = $this->data[$pin] ?? NULL; } return $this->data; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TDVF9
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E > > RETURN                                                   1

Function accessdata:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 6, Position 2 = 16
Branch analysis from position: 6
2 jumps found. (Code = 78) Position 1 = 7, Position 2 = 16
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
filename:       /in/TDVF9
function name:  accessData
number of ops:  21
compiled vars:  !0 = $key, !1 = $pin
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    5     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '.'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $2      
          5      > FE_RESET_R                                       $3      $2, ->16
          6    > > FE_FETCH_R                                               $3, !1, ->16
    6     7    >   FETCH_THIS                                       $4      
          8        FETCH_THIS                                       $6      
          9        FETCH_OBJ_IS                                     ~7      $6, 'data'
         10        FETCH_DIM_IS                                     ~8      ~7, !1
         11        COALESCE                                         ~9      ~8
         12        QM_ASSIGN                                        ~9      null
         13        ASSIGN_OBJ                                               $4, 'data'
         14        OP_DATA                                                  ~9
    5    15      > JMP                                                      ->6
         16    >   FE_FREE                                                  $3
    8    17        FETCH_THIS                                       $10     
         18        FETCH_OBJ_R                                      ~11     $10, 'data'
         19      > RETURN                                                   ~11
    9    20*     > RETURN                                                   null

End of function accessdata

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
232.44 ms | 1000 KiB | 14 Q