3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ao = new ArrayObject(array('a' => 'bapple')); var_dump($so['banana'], $o->offsetGet('banana'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Rt6hk
function name:  (null)
number of ops:  13
compiled vars:  !0 = $ao, !1 = $so, !2 = $o
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $3      'ArrayObject'
          1        SEND_VAL_EX                                              <array>
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $3
    5     4        INIT_FCALL                                               'var_dump'
          5        FETCH_DIM_R                                      ~6      !1, 'banana'
          6        SEND_VAL                                                 ~6
          7        INIT_METHOD_CALL                                         !2, 'offsetGet'
          8        SEND_VAL_EX                                              'banana'
          9        DO_FCALL                                      0  $7      
         10        SEND_VAR                                                 $7
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.57 ms | 1398 KiB | 15 Q