3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface ContainerInterface { public function has(string $id); } class Container implements ContainerInterface { public function has(string $id):bool { return false; } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MlNRT
function name:  (null)
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   DECLARE_CLASS                                            'container'
   11     1      > RETURN                                                   1

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

End of function has

End of class ContainerInterface.

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

End of function has

End of class Container.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
126.53 ms | 1422 KiB | 13 Q