3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { public function tt() { $this->undefined_prop = 1; } } $t = new Test(); $t->tt(); var_dump($t->undefined_prop);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HPUNK
function name:  (null)
number of ops:  10
compiled vars:  !0 = $t
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   NEW                                              $1      'Test'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   14     3        INIT_METHOD_CALL                                         !0, 'tt'
          4        DO_FCALL                                      0          
   15     5        INIT_FCALL                                               'var_dump'
          6        FETCH_OBJ_R                                      ~5      !0, 'undefined_prop'
          7        SEND_VAL                                                 ~5
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Class Test:
Function tt:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HPUNK
function name:  tt
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   ASSIGN_OBJ                                               'undefined_prop'
          1        OP_DATA                                                  1
    9     2      > RETURN                                                   null

End of function tt

End of class Test.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.76 ms | 1394 KiB | 15 Q