3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Some {} function f ($one, Some $two, $thee = null) { echo $one; } $n = null; f('foo', $n);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/or8Vp
function name:  (null)
number of ops:  6
compiled vars:  !0 = $n
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   ASSIGN                                                   !0, null
   12     1        INIT_FCALL                                               'f'
          2        SEND_VAL                                                 'foo'
          3        SEND_VAR                                                 !0
          4        DO_FCALL                                      0          
          5      > RETURN                                                   1

Function f:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/or8Vp
function name:  f
number of ops:  5
compiled vars:  !0 = $one, !1 = $two, !2 = $thee
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV_INIT                                        !2      null
    7     3        ECHO                                                     !0
    8     4      > RETURN                                                   null

End of function f

Class Some: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
178.61 ms | 1397 KiB | 14 Q