3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); /** * @deprecated */ class Catalogue { /** * @cacheable * @linksTo $item * @var Item[] */ public array $items = []; /** * @return Item[] */ public function getItems(): array { return $this->items; } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6Btml
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   24     0  E > > RETURN                                                   1

Class Catalogue:
Function getitems:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6Btml
function name:  getItems
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   22     0  E >   FETCH_OBJ_R                                      ~0      'items'
          1        VERIFY_RETURN_TYPE                                       ~0
          2      > RETURN                                                   ~0
   23     3*       VERIFY_RETURN_TYPE                                       
          4*     > RETURN                                                   null

End of function getitems

End of class Catalogue.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
133.75 ms | 1439 KiB | 13 Q