3v4l.org

run code in 300+ PHP versions simultaneously
<?php function wat($huh) { echo $huh; } $a = array(1,2,3); echo $a[5][6]; wat($a[5][6]);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rgQ43
function name:  (null)
number of ops:  10
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        FETCH_DIM_R                                      ~2      !0, 5
          2        FETCH_DIM_R                                      ~3      ~2, 6
          3        ECHO                                                     ~3
    5     4        INIT_FCALL                                               'wat'
          5        FETCH_DIM_R                                      ~4      !0, 5
          6        FETCH_DIM_R                                      ~5      ~4, 6
          7        SEND_VAL                                                 ~5
          8        DO_FCALL                                      0          
          9      > RETURN                                                   1

Function wat:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rgQ43
function name:  wat
number of ops:  3
compiled vars:  !0 = $huh
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
          1        ECHO                                                     !0
          2      > RETURN                                                   null

End of function wat

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.06 ms | 1397 KiB | 14 Q