3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_POST['foo'] = 'bar'; $foo = $_POST; $_POST['foo'] = 'yup'; var_dump($foo);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/l42eo
function name:  (null)
number of ops:  12
compiled vars:  !0 = $foo
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   FETCH_W                      global              $1      '_POST'
          1        ASSIGN_DIM                                               $1, 'foo'
          2        OP_DATA                                                  'bar'
    4     3        FETCH_R                      global              ~3      '_POST'
          4        ASSIGN                                                   !0, ~3
    5     5        FETCH_W                      global              $5      '_POST'
          6        ASSIGN_DIM                                               $5, 'foo'
          7        OP_DATA                                                  'yup'
    6     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.54 ms | 1394 KiB | 15 Q