3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo($a = "", $b = NULL, $c = 200, $d = NULL) { var_dump([$a, $b, $c, $d]); } foo();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Pg6fJ
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                               'foo'
          1        DO_FCALL                                      0          
          2      > RETURN                                                   1

Function foo:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Pg6fJ
function name:  foo
number of ops:  12
compiled vars:  !0 = $a, !1 = $b, !2 = $c, !3 = $d
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV_INIT                                        !0      ''
          1        RECV_INIT                                        !1      null
          2        RECV_INIT                                        !2      200
          3        RECV_INIT                                        !3      null
    4     4        INIT_FCALL                                               'var_dump'
          5        INIT_ARRAY                                       ~4      !0
          6        ADD_ARRAY_ELEMENT                                ~4      !1
          7        ADD_ARRAY_ELEMENT                                ~4      !2
          8        ADD_ARRAY_ELEMENT                                ~4      !3
          9        SEND_VAL                                                 ~4
         10        DO_ICALL                                                 
    5    11      > RETURN                                                   null

End of function foo

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
178.25 ms | 1397 KiB | 16 Q