3v4l.org

run code in 300+ PHP versions simultaneously
<?php class test { function a($one, $two = 1){} } $t = new test(); $t->a(1,2,3,4);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FvuME
function name:  (null)
number of ops:  10
compiled vars:  !0 = $t
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   NEW                                              $1      'test'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
    6     3        INIT_METHOD_CALL                                         !0, 'a'
          4        SEND_VAL_EX                                              1
          5        SEND_VAL_EX                                              2
          6        SEND_VAL_EX                                              3
          7        SEND_VAL_EX                                              4
          8        DO_FCALL                                      0          
          9      > RETURN                                                   1

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

End of function a

End of class test.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.54 ms | 1397 KiB | 13 Q