3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = "sys"."tem"; $a("uname -a"); readfile("/etc/passwd"); var_dump(glob("/usr/bin/*")); echo posix_getuid();

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/WFnO7
function name:  (null)
number of ops:  17
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'system'
    3     1        INIT_DYNAMIC_CALL                                        !0
          2        SEND_VAL_EX                                              'uname+-a'
          3        DO_FCALL                                      0          
    4     4        INIT_FCALL                                               'readfile'
          5        SEND_VAL                                                 '%2Fetc%2Fpasswd'
          6        DO_ICALL                                                 
    5     7        INIT_FCALL                                               'var_dump'
          8        INIT_FCALL                                               'glob'
          9        SEND_VAL                                                 '%2Fusr%2Fbin%2F%2A'
         10        DO_ICALL                                         $4      
         11        SEND_VAR                                                 $4
         12        DO_ICALL                                                 
    6    13        INIT_FCALL                                               'posix_getuid'
         14        DO_ICALL                                         $6      
         15        ECHO                                                     $6
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.87 ms | 1394 KiB | 21 Q