3v4l.org

run code in 300+ PHP versions simultaneously
<?php try{@eval('!');}catch(Error $e){} $_REQUEST['xyz'] = 'pdq'; try{eval('$_REQUEST;');}catch(Error $e){} var_dump($_REQUEST);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Found catch point at position: 4
Branch analysis from position: 4
2 jumps found. (Code = 107) Position 1 = 5, Position 2 = -2
Branch analysis from position: 5
Found catch point at position: 10
Branch analysis from position: 10
2 jumps found. (Code = 107) Position 1 = 11, Position 2 = -2
Branch analysis from position: 11
filename:       /in/LCErD
function name:  (null)
number of ops:  16
compiled vars:  !0 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   BEGIN_SILENCE                                    ~1      
          1        INCLUDE_OR_EVAL                                          '%21', EVAL
          2        END_SILENCE                                              ~1
          3      > JMP                                                      ->5
          4  E > > CATCH                                       last         'Error'
    3     5    >   FETCH_W                      global              $3      '_REQUEST'
          6        ASSIGN_DIM                                               $3, 'xyz'
          7        OP_DATA                                                  'pdq'
    4     8        INCLUDE_OR_EVAL                                          '%24_REQUEST%3B', EVAL
          9      > JMP                                                      ->11
         10  E > > CATCH                                       last         'Error'
    5    11    >   INIT_FCALL                                               'var_dump'
         12        FETCH_R                      global              ~6      '_REQUEST'
         13        SEND_VAL                                                 ~6
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.85 ms | 942 KiB | 16 Q