3v4l.org

run code in 300+ PHP versions simultaneously
<?php @eval('!'); # simulate loading a file with a syntax error $_REQUEST['xyz'] = 'pdq'; # even values written after the syntax error will be lost eval('$_REQUEST;'); # later, load a file containing $_REQUEST, causing it to be repopulated var_dump($_REQUEST); # the changes made to $_REQUEST are now lost
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OGWRk
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   BEGIN_SILENCE                                    ~0      
          1        INCLUDE_OR_EVAL                                          '%21', EVAL
          2        END_SILENCE                                              ~0
    4     3        FETCH_W                      global              $2      '_REQUEST'
          4        ASSIGN_DIM                                               $2, 'xyz'
          5        OP_DATA                                                  'pdq'
    5     6        INCLUDE_OR_EVAL                                          '%24_REQUEST%3B', EVAL
    6     7        INIT_FCALL                                               'var_dump'
          8        FETCH_R                      global              ~5      '_REQUEST'
          9        SEND_VAL                                                 ~5
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.58 ms | 1385 KiB | 15 Q