3v4l.org

run code in 500+ PHP versions simultaneously
<?php class a {}; function doit(A $a = NULL) { print "Yay!"; } doit(NULL);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/spMXd
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    9     0  E >   INIT_FCALL                                                   'doit'
          1        SEND_VAL                                                     null
          2        DO_FCALL                                          0          
          3      > RETURN                                                       1

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

End of function doit

Class a: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
149.54 ms | 1404 KiB | 9 Q