3v4l.org

run code in 300+ PHP versions simultaneously
<?php trait ATrait { public function __isset(string $name): bool { return false; } } trait BTrait { public function __isset(string $name): bool { return false; } } trait CTrait { use BTrait { __isset as private __b_isset; } } class Model { use ATrait; use CTrait; // __isset aliased and implemented in ATrait }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cUp5N
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   17     0  E >   DECLARE_CLASS                                            'ctrait'
   23     1        DECLARE_CLASS                                            'model'
   27     2      > RETURN                                                   1

Class ATrait:
Function __isset:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cUp5N
function name:  __isset
number of ops:  4
compiled vars:  !0 = $name
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
    6     1      > RETURN                                                   <false>
    7     2*       VERIFY_RETURN_TYPE                                       
          3*     > RETURN                                                   null

End of function __isset

End of class ATrait.

Class BTrait:
Function __isset:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cUp5N
function name:  __isset
number of ops:  4
compiled vars:  !0 = $name
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   RECV                                             !0      
   13     1      > RETURN                                                   <false>
   14     2*       VERIFY_RETURN_TYPE                                       
          3*     > RETURN                                                   null

End of function __isset

End of class BTrait.

Class CTrait: [no user functions]
Class Model: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.26 ms | 994 KiB | 13 Q