3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); ini_set("display_errors", "1"); $GLOBALS=$GLOBALS['next']= next($GLOBALS['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'])); var_dump($GLOBALS);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/G4vlg
function name:  (null)
number of ops:  70
compiled vars:  !0 = $next
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 32767
          2        DO_ICALL                                                 
    3     3        INIT_FCALL                                               'ini_set'
          4        SEND_VAL                                                 'display_errors'
          5        SEND_VAL                                                 '1'
          6        DO_ICALL                                                 
    7     7        INIT_FCALL                                               'next'
          8        FETCH_W                      global              $6      'GLOBALS'
          9        FETCH_DIM_W                                      $7      $6, 'GLOBALS'
         10        SEND_REF                                                 $7
         11        DO_ICALL                                         $8      
         12        SEPARATE                                         $8      $8
    9    13        INIT_FCALL                                               'next'
         14        FETCH_W                      global              $12     'GLOBALS'
         15        SEND_REF                                                 $12
         16        DO_ICALL                                         $13     
         17        FETCH_DIM_R                                      ~14     $13, 'GLOBALS'
    7    18        FETCH_W                      global              $9      'GLOBALS'
         19        FETCH_DIM_W                                      $10     $9, 'next'
         20        ASSIGN_DIM                                       ~11     $10, 'next'
    9    21        OP_DATA                                                  ~14
   11    22        INIT_FCALL                                               'next'
         23        FETCH_W                      global              $17     'GLOBALS'
         24        FETCH_DIM_W                                      $18     $17, 'GLOBALS'
         25        FETCH_DIM_W                                      $19     $18, 'GLOBALS'
         26        SEND_REF                                                 $19
         27        DO_ICALL                                         $20     
         28        FETCH_DIM_R                                      ~21     !0, 'next'
         29        FETCH_DIM_R                                      ~22     $20, ~21
    9    30        ASSIGN_DIM                                       ~16     !0, 'GLOBALS'
   11    31        OP_DATA                                                  ~22
   13    32        INIT_FCALL                                               'next'
         33        FETCH_DIM_W                                      $25     !0, 'GLOBALS'
         34        SEND_REF                                                 $25
         35        DO_ICALL                                         $26     
   11    36        ASSIGN_DIM                                       ~24     !0, 'GLOBALS'
   13    37        OP_DATA                                                  $26
         38        FETCH_R                      global              ~28     'GLOBALS'
         39        FETCH_DIM_R                                      ~29     ~28, 'next'
         40        FETCH_DIM_R                                      ~30     ~29, 'next'
         41        INIT_DYNAMIC_CALL                                        ~30
         42        CHECK_FUNC_ARG                                           
         43        FETCH_FUNC_ARG               global              $31     'GLOBALS'
         44        FETCH_DIM_FUNC_ARG                               $32     $31, 'next'
         45        FETCH_DIM_FUNC_ARG                               $33     $32, 'GLOBALS'
         46        SEND_FUNC_ARG                                            $33
         47        DO_FCALL                                      0  $34     
   15    48        INIT_FCALL                                               'next'
         49        INIT_FCALL                                               'next'
         50        FETCH_DIM_W                                      $36     !0, 'next'
         51        SEND_REF                                                 $36
         52        DO_ICALL                                         $37     
         53        SEND_VAR_NO_REF                               0          $37
         54        DO_ICALL                                         $38     
    9    55        FETCH_DIM_W                                      $15     $8, ~11
   11    56        FETCH_DIM_W                                      $23     $15, ~16
   13    57        FETCH_DIM_W                                      $27     $23, ~24
         58        ASSIGN_DIM                                       ~35     $27, $34
   15    59        OP_DATA                                                  $38
    5    60        FETCH_W                      global              $4      'GLOBALS'
         61        ASSIGN_DIM                                       ~5      $4, 'next'
   15    62        OP_DATA                                                  ~35
    5    63        FETCH_W                      global              $3      'GLOBALS'
         64        ASSIGN                                                   $3, ~5
   17    65        INIT_FCALL                                               'var_dump'
         66        FETCH_R                      global              ~40     'GLOBALS'
         67        SEND_VAL                                                 ~40
         68        DO_ICALL                                                 
         69      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.62 ms | 1400 KiB | 21 Q