3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { /** * @var string * */ private $uuid; /** * @var string * */ private $internalType; /** */ private $slug; /** */ private $title; public function __construct(string $internalType) { $this->internalType = $internalType; } /** * @return string */ public function getUuid() : string { return 'xx'; } } var_dump(new A);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qAPph
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   36     0  E >   INIT_FCALL                                               'var_dump'
          1        NEW                                              $0      'A'
          2        DO_FCALL                                      0          
          3        SEND_VAR                                                 $0
          4        DO_ICALL                                                 
          5      > RETURN                                                   1

Class A:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qAPph
function name:  __construct
number of ops:  4
compiled vars:  !0 = $internalType
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   23     0  E >   RECV                                             !0      
   25     1        ASSIGN_OBJ                                               'internalType'
          2        OP_DATA                                                  !0
   26     3      > RETURN                                                   null

End of function __construct

Function getuuid:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qAPph
function name:  getUuid
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   33     0  E > > RETURN                                                   'xx'
   34     1*       VERIFY_RETURN_TYPE                                       
          2*     > RETURN                                                   null

End of function getuuid

End of class A.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.54 ms | 1395 KiB | 15 Q