3v4l.org

run code in 300+ PHP versions simultaneously
<?php class AA { var $EE = ''; function aa() { $this->ee = '3'; } function BB() { return $this->EE; } } function CC() { return '4'; } $dd = new aa(); $dd->eeeexjx(); echo $dd->bb().cc().aa.bb; var_dump( $DD ); ccc();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tdBjo
function name:  (null)
number of ops:  21
compiled vars:  !0 = $dd, !1 = $DD
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   16     0  E >   NEW                                              $2      'aa'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
   18     3        INIT_METHOD_CALL                                         !0, 'eeeexjx'
          4        DO_FCALL                                      0          
   20     5        INIT_METHOD_CALL                                         !0, 'bb'
          6        DO_FCALL                                      0  $6      
          7        INIT_FCALL                                               'cc'
          8        DO_FCALL                                      0  $7      
          9        CONCAT                                           ~8      $6, $7
         10        FETCH_CONSTANT                                   ~9      'aa'
         11        CONCAT                                           ~10     ~8, ~9
         12        FETCH_CONSTANT                                   ~11     'bb'
         13        CONCAT                                           ~12     ~10, ~11
         14        ECHO                                                     ~12
   22    15        INIT_FCALL                                               'var_dump'
         16        SEND_VAR                                                 !1
         17        DO_ICALL                                                 
   24    18        INIT_FCALL_BY_NAME                                       'ccc'
         19        DO_FCALL                                      0          
         20      > RETURN                                                   1

Function cc:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tdBjo
function name:  CC
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E > > RETURN                                                   '4'
   14     1*     > RETURN                                                   null

End of function cc

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

End of function aa

Function bb:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tdBjo
function name:  BB
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   FETCH_OBJ_R                                      ~0      'EE'
          1      > RETURN                                                   ~0
    9     2*     > RETURN                                                   null

End of function bb

End of class AA.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.08 ms | 1399 KiB | 16 Q