3v4l.org

run code in 300+ PHP versions simultaneously
<?php ${x}->foo[5]();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/NJeJb
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_CONSTANT                                   ~0      'x'
          1        FETCH_R                      local               ~1      ~0
          2        FETCH_OBJ_R                                      ~2      ~1, 'foo'
          3        FETCH_DIM_R                                      ~3      ~2, 5
          4        INIT_DYNAMIC_CALL                                        ~3
          5        DO_FCALL                                      0          
          6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.27 ms | 1392 KiB | 13 Q