3v4l.org

run code in 300+ PHP versions simultaneously
<?php $passwd = file_get_contents('./etc/passwd'); //var_dump(__FILE__); die; $ll = scandir('/home/'); var_dump($ll);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IR657
function name:  (null)
number of ops:  12
compiled vars:  !0 = $passwd, !1 = $ll
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'file_get_contents'
          1        SEND_VAL                                                 '.%2Fetc%2Fpasswd'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    7     4        INIT_FCALL                                               'scandir'
          5        SEND_VAL                                                 '%2Fhome%2F'
          6        DO_ICALL                                         $4      
          7        ASSIGN                                                   !1, $4
    8     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.1 ms | 1394 KiB | 19 Q