3v4l.org

run code in 300+ PHP versions simultaneously
<?php $b = $_FILES["file"]["name"]; //Have the filename be like this: // \" \"; exec('su root'); echo "Upload: " . eval($b) . "<br>";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YpYBs
function name:  (null)
number of ops:  9
compiled vars:  !0 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_R                      global              ~1      '_FILES'
          1        FETCH_DIM_R                                      ~2      ~1, 'file'
          2        FETCH_DIM_R                                      ~3      ~2, 'name'
          3        ASSIGN                                                   !0, ~3
    5     4        INCLUDE_OR_EVAL                                  $5      !0, EVAL
          5        CONCAT                                           ~6      'Upload%3A+', $5
          6        CONCAT                                           ~7      ~6, '%3Cbr%3E'
          7        ECHO                                                     ~7
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.48 ms | 1384 KiB | 13 Q