3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface ContainerInterface { public function get($id); public function has($id); } class container implements ContainerInterface { public function has($id, $isCallable = true) { } } $cont = new Container();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vSvr6
function name:  (null)
number of ops:  5
compiled vars:  !0 = $cont
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   DECLARE_CLASS                                            'container'
   17     1        NEW                                              $1      'Container'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $1
          4      > RETURN                                                   1

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

End of function get

Function has:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vSvr6
function name:  has
number of ops:  2
compiled vars:  !0 = $id
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     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/vSvr6
function name:  has
number of ops:  3
compiled vars:  !0 = $id, !1 = $isCallable
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   RECV                                             !0      
          1        RECV_INIT                                        !1      <true>
   14     2      > RETURN                                                   null

End of function has

End of class container.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.74 ms | 1394 KiB | 13 Q