3v4l.org

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

Function f:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0Fcdb
function name:  f
number of ops:  2
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   RECV_INIT                                        !0      <array>
    7     1      > RETURN                                                   null

End of function f

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.8 ms | 1394 KiB | 15 Q