3v4l.org

run code in 300+ PHP versions simultaneously
<?php print_r(scandir('/tmp/mydir'));echo filesize('/tmp/mydir/nls');echo phpversion();?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/L8K2o
function name:  (null)
number of ops:  14
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   INIT_FCALL                                               'print_r'
          1        INIT_FCALL                                               'scandir'
          2        SEND_VAL                                                 '%2Ftmp%2Fmydir'
          3        DO_ICALL                                         $0      
          4        SEND_VAR                                                 $0
          5        DO_ICALL                                                 
          6        INIT_FCALL                                               'filesize'
          7        SEND_VAL                                                 '%2Ftmp%2Fmydir%2Fnls'
          8        DO_ICALL                                         $2      
          9        ECHO                                                     $2
         10        INIT_FCALL                                               'phpversion'
         11        DO_ICALL                                         $3      
         12        ECHO                                                     $3
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.4 ms | 1394 KiB | 21 Q