3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d="./etc/rc.conf.pacsave"; echo substr(decoct( fileperms($d)),1); echo readfile($d)?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8Y5nN
function name:  (null)
number of ops:  17
compiled vars:  !0 = $d
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ASSIGN                                                   !0, '.%2Fetc%2Frc.conf.pacsave'
          1        INIT_FCALL                                               'substr'
          2        INIT_FCALL                                               'decoct'
          3        INIT_FCALL                                               'fileperms'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
          7        DO_ICALL                                         $3      
          8        SEND_VAR                                                 $3
          9        SEND_VAL                                                 1
         10        DO_ICALL                                         $4      
         11        ECHO                                                     $4
         12        INIT_FCALL                                               'readfile'
         13        SEND_VAR                                                 !0
         14        DO_ICALL                                         $5      
         15        ECHO                                                     $5
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.67 ms | 1386 KiB | 21 Q