3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class AC { static function f(){} } trait T { static function f(){} } AC::f(); T::f();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/J6m0e
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_STATIC_METHOD_CALL                                  'AC', 'f'
          1        DO_FCALL                                      0          
    6     2        INIT_STATIC_METHOD_CALL                                  'T', 'f'
          3        DO_FCALL                                      0          
          4      > RETURN                                                   1

Class AC:
Function f:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/J6m0e
function name:  f
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E > > RETURN                                                   null

End of function f

End of class AC.

Class T:
Function f:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/J6m0e
function name:  f
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E > > RETURN                                                   null

End of function f

End of class T.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.87 ms | 1393 KiB | 13 Q