3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo shell_exec('cat '.$_GET['filename']); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ajU0M
function name:  (null)
number of ops:  8
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'shell_exec'
          1        FETCH_R                      global              ~0      '_GET'
          2        FETCH_DIM_R                                      ~1      ~0, 'filename'
          3        CONCAT                                           ~2      'cat+', ~1
          4        SEND_VAL                                                 ~2
          5        DO_ICALL                                         $3      
          6        ECHO                                                     $3
    4     7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.11 ms | 1394 KiB | 15 Q