3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.48 ms | 1394 KiB | 17 Q