3v4l.org

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

Function wat:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JQ2c8
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

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

End of function wow

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.13 ms | 1398 KiB | 15 Q