3v4l.org

run code in 300+ PHP versions simultaneously
<?php trait T1 { function UPPERCASE() { } function UPPERCASE1() { } } trait T2 { use T1 { UPPERCASE as Trait1_Camelcase; } function UPPERCASE() { } function UPPERCASE2() { } } class C { use T2 { UPPERCASE as Trait2_Camelcase; } function UPPERCASEC() { } } var_dump(get_class_methods("C"));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gqENX
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   DECLARE_CLASS                                            't2'
   14     1        DECLARE_CLASS                                            'c'
   19     2        INIT_FCALL                                               'var_dump'
          3        INIT_FCALL                                               'get_class_methods'
          4        SEND_VAL                                                 'C'
          5        DO_ICALL                                         $0      
          6        SEND_VAR                                                 $0
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

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

End of function uppercase

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

End of function uppercase1

End of class T1.

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

End of function uppercase

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

End of function uppercase2

End of class T2.

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

End of function uppercasec

End of class C.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.7 ms | 1396 KiB | 17 Q