3v4l.org

run code in 500+ PHP versions simultaneously
<?php interface ContainerInterface extends \RecursiveIterator { /** * @param string|callable $filter * @return ContainerInterface */ public function filter($filter, array $params = []): self; } class Item implements ContainerInterface { /** * @var ContainerInterface */ private $container; /** * @return Item */ public function current() { return $this->container->current(); } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1booS
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   DECLARE_CLASS                                                'containerinterface'
   12     1        DECLARE_CLASS                                                'item'
   26     2      > RETURN                                                       1

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

End of function filter

End of class ContainerInterface.

Class Item:
Function current:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1booS
function name:  current
number of ops:  5
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   24     0  E >   FETCH_OBJ_R                                          ~0      'container'
          1        INIT_METHOD_CALL                                             ~0, 'current'
          2        DO_FCALL                                          0  $1      
          3      > RETURN                                                       $1
   25     4*     > RETURN                                                       null

End of function current

End of class Item.

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
218.74 ms | 2137 KiB | 13 Q