3v4l.org

run code in 300+ PHP versions simultaneously
<?php new xjcjxcjxc(); asdasdads(); define( 'AA', 'bb' ); class AA { var $EE = ''; function aa() { $this->ee = '3'; } function BB() { return $this->EE; } } function CC() { return '4'; } $dd = new aa(); 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/3mevt
function name:  (null)
number of ops:  28
compiled vars:  !0 = $dd, !1 = $DD
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $2      'xjcjxcjxc'
          1        DO_FCALL                                      0          
          2        FREE                                                     $2
    3     3        INIT_FCALL_BY_NAME                                       'asdasdads'
          4        DO_FCALL                                      0          
    4     5        INIT_FCALL                                               'define'
          6        SEND_VAL                                                 'AA'
          7        SEND_VAL                                                 'bb'
          8        DO_ICALL                                                 
   19     9        NEW                                              $6      'aa'
         10        DO_FCALL                                      0          
         11        ASSIGN                                                   !0, $6
   21    12        INIT_METHOD_CALL                                         !0, 'bb'
         13        DO_FCALL                                      0  $9      
         14        INIT_FCALL                                               'cc'
         15        DO_FCALL                                      0  $10     
         16        CONCAT                                           ~11     $9, $10
         17        FETCH_CONSTANT                                   ~12     'aa'
         18        CONCAT                                           ~13     ~11, ~12
         19        FETCH_CONSTANT                                   ~14     'bb'
         20        CONCAT                                           ~15     ~13, ~14
         21        ECHO                                                     ~15
   23    22        INIT_FCALL                                               'var_dump'
         23        SEND_VAR                                                 !1
         24        DO_ICALL                                                 
   25    25        INIT_FCALL_BY_NAME                                       'ccc'
         26        DO_FCALL                                      0          
         27      > RETURN                                                   1

Function cc:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3mevt
function name:  CC
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   16     0  E > > RETURN                                                   '4'
   17     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/3mevt
function name:  aa
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   ASSIGN_OBJ                                               'ee'
          1        OP_DATA                                                  '3'
    9     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/3mevt
function name:  BB
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   FETCH_OBJ_R                                      ~0      'EE'
          1      > RETURN                                                   ~0
   12     2*     > RETURN                                                   null

End of function bb

End of class AA.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.27 ms | 1394 KiB | 18 Q