3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(file_get_contents('/proc/version'), array_map('file_get_contents', glob('/etc/*-release')), `echo \$PATH`, glob('/bin/*', GLOB_BRACE));

Abusive script

This script was stopped while abusing our resources

Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Mi6Bt
function name:  (null)
number of ops:  24
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'file_get_contents'
          2        SEND_VAL                                                 '%2Fproc%2Fversion'
          3        DO_ICALL                                         $0      
          4        SEND_VAR                                                 $0
          5        INIT_FCALL                                               'array_map'
          6        SEND_VAL                                                 'file_get_contents'
          7        INIT_FCALL                                               'glob'
          8        SEND_VAL                                                 '%2Fetc%2F%2A-release'
          9        DO_ICALL                                         $1      
         10        SEND_VAR                                                 $1
         11        DO_ICALL                                         $2      
         12        SEND_VAR                                                 $2
         13        INIT_FCALL                                               'shell_exec'
         14        SEND_VAL                                                 'echo+%24PATH'
         15        DO_ICALL                                         $3      
         16        SEND_VAR                                                 $3
         17        INIT_FCALL                                               'glob'
         18        SEND_VAL                                                 '%2Fbin%2F%2A'
         19        SEND_VAL                                                 1024
         20        DO_ICALL                                         $4      
         21        SEND_VAR                                                 $4
         22        DO_ICALL                                                 
         23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.77 ms | 1395 KiB | 23 Q