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('/usr/bin/php*'));

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/RetNX
function name:  (null)
number of ops:  23
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                                                 '%2Fusr%2Fbin%2Fphp%2A'
         19        DO_ICALL                                         $4      
         20        SEND_VAR                                                 $4
         21        DO_ICALL                                                 
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.74 ms | 940 KiB | 24 Q