3v4l.org

run code in 300+ PHP versions simultaneously
<?php function f() {static $x = array(0=>2, 4=>array(9=>array(2))); $x[0]++; return $x;} print_r(f());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TsUef
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'print_r'
          1        INIT_FCALL                                               'f'
          2        DO_FCALL                                      0  $0      
          3        SEND_VAR                                                 $0
          4        DO_ICALL                                                 
          5      > RETURN                                                   1

Function f:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TsUef
function name:  f
number of ops:  5
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   BIND_STATIC                                              !0
          1        FETCH_DIM_RW                                     $1      !0, 0
          2        PRE_INC                                                  $1
          3      > RETURN                                                   !0
          4*     > RETURN                                                   null

End of function f

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.89 ms | 1396 KiB | 16 Q