3v4l.org

run code in 300+ PHP versions simultaneously
<?php $files = scandir('/proc/'); print_r($files); echo file_get_contents('/proc/uptime');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Cq8mO
function name:  (null)
number of ops:  12
compiled vars:  !0 = $files
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'scandir'
          1        SEND_VAL                                                 '%2Fproc%2F'
          2        DO_ICALL                                         $1      
          3        ASSIGN                                                   !0, $1
    3     4        INIT_FCALL                                               'print_r'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                                 
    4     7        INIT_FCALL                                               'file_get_contents'
          8        SEND_VAL                                                 '%2Fproc%2Fuptime'
          9        DO_ICALL                                         $4      
         10        ECHO                                                     $4
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.02 ms | 1385 KiB | 19 Q