3v4l.org

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

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

End of function testing

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
179.22 ms | 1397 KiB | 16 Q