3v4l.org

run code in 300+ PHP versions simultaneously
_GET _POST _COOKIE _FILES argv argc _SERVER GLOBALS <?php $_COOKIE['GLOBALS'] = 'next'; $GLOBALS= $GLOBALS['next']= next($GLOBALS)[ $GLOBALS['next']['next']= next($GLOBALS)['GLOBALS'] ][ $next['GLOBALS']=next($GLOBALS[GLOBALS]['GLOBALS'])[$next['next']] ][ $next['GLOBALS']=next($next['GLOBALS']) ][ $GLOBALS[next]['next']($GLOBALS['next']['GLOBALS']) ] =next(neXt($next['next'])); foreach($GLOBALS as $var_name => $value) { echo $var_name; echo ' '; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 65, Position 2 = 70
Branch analysis from position: 65
2 jumps found. (Code = 78) Position 1 = 66, Position 2 = 70
Branch analysis from position: 66
1 jumps found. (Code = 42) Position 1 = 65
Branch analysis from position: 65
Branch analysis from position: 70
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 70
filename:       /in/3k28D
function name:  (null)
number of ops:  72
compiled vars:  !0 = $next, !1 = $value, !2 = $var_name
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '_GET++_POST++_COOKIE++_FILES++argv++argc++_SERVER++GLOBALS%0A'
    4     1        FETCH_W                      global              $3      '_COOKIE'
          2        ASSIGN_DIM                                               $3, 'GLOBALS'
          3        OP_DATA                                                  'next'
    9     4        INIT_FCALL                                               'next'
          5        FETCH_W                      global              $8      'GLOBALS'
          6        SEND_REF                                                 $8
          7        DO_ICALL                                         $9      
          8        SEPARATE                                         $9      $9
   12     9        INIT_FCALL                                               'next'
         10        FETCH_W                      global              $13     'GLOBALS'
         11        SEND_REF                                                 $13
         12        DO_ICALL                                         $14     
         13        FETCH_DIM_R                                      ~15     $14, 'GLOBALS'
   11    14        FETCH_W                      global              $10     'GLOBALS'
         15        FETCH_DIM_W                                      $11     $10, 'next'
         16        ASSIGN_DIM                                       ~12     $11, 'next'
   12    17        OP_DATA                                                  ~15
   16    18        INIT_FCALL                                               'next'
         19        FETCH_CONSTANT                                   ~19     'GLOBALS'
         20        FETCH_W                      global              $18     'GLOBALS'
         21        FETCH_DIM_W                                      $20     $18, ~19
         22        FETCH_DIM_W                                      $21     $20, 'GLOBALS'
         23        SEND_REF                                                 $21
         24        DO_ICALL                                         $22     
         25        FETCH_DIM_R                                      ~23     !0, 'next'
         26        FETCH_DIM_R                                      ~24     $22, ~23
         27        ASSIGN_DIM                                       ~17     !0, 'GLOBALS'
         28        OP_DATA                                                  ~24
   19    29        INIT_FCALL                                               'next'
         30        FETCH_DIM_W                                      $27     !0, 'GLOBALS'
         31        SEND_REF                                                 $27
         32        DO_ICALL                                         $28     
         33        ASSIGN_DIM                                       ~26     !0, 'GLOBALS'
         34        OP_DATA                                                  $28
   21    35        FETCH_CONSTANT                                   ~31     'next'
         36        FETCH_R                      global              ~30     'GLOBALS'
         37        FETCH_DIM_R                                      ~32     ~30, ~31
         38        FETCH_DIM_R                                      ~33     ~32, 'next'
         39        INIT_DYNAMIC_CALL                                        ~33
         40        CHECK_FUNC_ARG                                           
         41        FETCH_FUNC_ARG               global              $34     'GLOBALS'
         42        FETCH_DIM_FUNC_ARG                               $35     $34, 'next'
         43        FETCH_DIM_FUNC_ARG                               $36     $35, 'GLOBALS'
         44        SEND_FUNC_ARG                                            $36
         45        DO_FCALL                                      0  $37     
   23    46        INIT_FCALL                                               'next'
         47        INIT_FCALL                                               'next'
         48        FETCH_DIM_W                                      $39     !0, 'next'
         49        SEND_REF                                                 $39
         50        DO_ICALL                                         $40     
         51        SEND_VAR_NO_REF                               0          $40
         52        DO_ICALL                                         $41     
   12    53        FETCH_DIM_W                                      $16     $9, ~12
   16    54        FETCH_DIM_W                                      $25     $16, ~17
   19    55        FETCH_DIM_W                                      $29     $25, ~26
   21    56        ASSIGN_DIM                                       ~38     $29, $37
   23    57        OP_DATA                                                  $41
    7    58        FETCH_W                      global              $6      'GLOBALS'
         59        ASSIGN_DIM                                       ~7      $6, 'next'
   23    60        OP_DATA                                                  ~38
    5    61        FETCH_W                      global              $5      'GLOBALS'
         62        ASSIGN                                                   $5, ~7
   26    63        FETCH_R                      global              ~43     'GLOBALS'
         64      > FE_RESET_R                                       $44     ~43, ->70
         65    > > FE_FETCH_R                                       ~45     $44, !1, ->70
         66    >   ASSIGN                                                   !2, ~45
   27    67        ECHO                                                     !2
   28    68        ECHO                                                     '++'
   26    69      > JMP                                                      ->65
         70    >   FE_FREE                                                  $44
   30    71      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.69 ms | 1400 KiB | 15 Q