3v4l.org

run code in 300+ PHP versions simultaneously
<?php class boo{ private $boooo; function __construct(){ $this->boooo= $this->sagHallo(); } private function sagHallo(){ return "Hallo :D"; } public function getBoooo(){ echo $this->boooo; } } $bla= new boo(); $bla->getBoooo();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3EZcO
function name:  (null)
number of ops:  6
compiled vars:  !0 = $bla
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E >   NEW                                              $1      'boo'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   15     3        INIT_METHOD_CALL                                         !0, 'getBoooo'
          4        DO_FCALL                                      0          
          5      > RETURN                                                   1

Class boo:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3EZcO
function name:  __construct
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_METHOD_CALL                                         'sagHallo'
          1        DO_FCALL                                      0  $1      
          2        ASSIGN_OBJ                                               'boooo'
          3        OP_DATA                                                  $1
    6     4      > RETURN                                                   null

End of function __construct

Function saghallo:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3EZcO
function name:  sagHallo
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E > > RETURN                                                   'Hallo+%3AD'
    9     1*     > RETURN                                                   null

End of function saghallo

Function getboooo:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3EZcO
function name:  getBoooo
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   FETCH_OBJ_R                                      ~0      'boooo'
          1        ECHO                                                     ~0
   12     2      > RETURN                                                   null

End of function getboooo

End of class boo.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.26 ms | 1394 KiB | 13 Q