3v4l.org

run code in 300+ PHP versions simultaneously
_GET _POST _COOKIE _FILES argv argc _SERVER GLOBALS <?php $_COOKIE['GLOBALS'] = 'print_r'; $_FILES['print_r'] = ['apoop','b']; $_POST['print_r'] = 'GLOBALS'; @$GLOBALS= $GLOBALS['next']= next($GLOBALS)[ $next['next']= next($GLOBALS)['GLOBALS'] ][ $next['GLOBALS']=next($GLOBALS)[$next['next']] ][ $next['GLOBALS']=next($next['GLOBALS']) ][ $next['next']($next['GLOBALS']) ] =next(neXt($next['next'])); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/m1ERD
function name:  (null)
number of ops:  62
compiled vars:  !0 = $next
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              $1      '_COOKIE'
          2        ASSIGN_DIM                                               $1, 'GLOBALS'
          3        OP_DATA                                                  'print_r'
    5     4        FETCH_W                      global              $3      '_FILES'
          5        ASSIGN_DIM                                               $3, 'print_r'
          6        OP_DATA                                                  <array>
    6     7        FETCH_W                      global              $5      '_POST'
          8        ASSIGN_DIM                                               $5, 'print_r'
          9        OP_DATA                                                  'GLOBALS'
    8    10        BEGIN_SILENCE                                    ~7      
   12    11        INIT_FCALL                                               'next'
         12        FETCH_W                      global              $11     'GLOBALS'
         13        SEND_REF                                                 $11
         14        DO_ICALL                                         $12     
         15        SEPARATE                                         $12     $12
   15    16        INIT_FCALL                                               'next'
         17        FETCH_W                      global              $14     'GLOBALS'
         18        SEND_REF                                                 $14
         19        DO_ICALL                                         $15     
         20        FETCH_DIM_R                                      ~16     $15, 'GLOBALS'
   14    21        ASSIGN_DIM                                       ~13     !0, 'next'
   15    22        OP_DATA                                                  ~16
   19    23        INIT_FCALL                                               'next'
         24        FETCH_W                      global              $19     'GLOBALS'
         25        SEND_REF                                                 $19
         26        DO_ICALL                                         $20     
         27        FETCH_DIM_R                                      ~21     !0, 'next'
         28        FETCH_DIM_R                                      ~22     $20, ~21
         29        ASSIGN_DIM                                       ~18     !0, 'GLOBALS'
         30        OP_DATA                                                  ~22
   22    31        INIT_FCALL                                               'next'
         32        FETCH_DIM_W                                      $25     !0, 'GLOBALS'
         33        SEND_REF                                                 $25
         34        DO_ICALL                                         $26     
         35        ASSIGN_DIM                                       ~24     !0, 'GLOBALS'
         36        OP_DATA                                                  $26
   24    37        FETCH_DIM_R                                      ~28     !0, 'next'
         38        INIT_DYNAMIC_CALL                                        ~28
         39        CHECK_FUNC_ARG                                           
         40        FETCH_DIM_FUNC_ARG                               $29     !0, 'GLOBALS'
         41        SEND_FUNC_ARG                                            $29
         42        DO_FCALL                                      0  $30     
   26    43        INIT_FCALL                                               'next'
         44        INIT_FCALL                                               'next'
         45        FETCH_DIM_W                                      $32     !0, 'next'
         46        SEND_REF                                                 $32
         47        DO_ICALL                                         $33     
         48        SEND_VAR_NO_REF                               0          $33
         49        DO_ICALL                                         $34     
   15    50        FETCH_DIM_W                                      $17     $12, ~13
   19    51        FETCH_DIM_W                                      $23     $17, ~18
   22    52        FETCH_DIM_W                                      $27     $23, ~24
   24    53        ASSIGN_DIM                                       ~31     $27, $30
   26    54        OP_DATA                                                  $34
   10    55        FETCH_W                      global              $9      'GLOBALS'
         56        ASSIGN_DIM                                       ~10     $9, 'next'
   26    57        OP_DATA                                                  ~31
    8    58        FETCH_W                      global              $8      'GLOBALS'
         59        ASSIGN                                                   $8, ~10
         60        END_SILENCE                                              ~7
   29    61      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.42 ms | 1400 KiB | 15 Q