3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(fopen('/tmp/largefile', 'r')); var_dump(is_file('/tmp/largefile'), is_dir('/tmp/largefile'), filesize('/tmp/largefile'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/NfRAE
function name:  (null)
number of ops:  22
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'fopen'
          2        SEND_VAL                                                 '%2Ftmp%2Flargefile'
          3        SEND_VAL                                                 'r'
          4        DO_ICALL                                         $0      
          5        SEND_VAR                                                 $0
          6        DO_ICALL                                                 
    4     7        INIT_FCALL                                               'var_dump'
          8        INIT_FCALL                                               'is_file'
          9        SEND_VAL                                                 '%2Ftmp%2Flargefile'
         10        DO_ICALL                                         $2      
         11        SEND_VAR                                                 $2
         12        INIT_FCALL                                               'is_dir'
         13        SEND_VAL                                                 '%2Ftmp%2Flargefile'
         14        DO_ICALL                                         $3      
         15        SEND_VAR                                                 $3
         16        INIT_FCALL                                               'filesize'
         17        SEND_VAL                                                 '%2Ftmp%2Flargefile'
         18        DO_ICALL                                         $4      
         19        SEND_VAR                                                 $4
         20        DO_ICALL                                                 
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.23 ms | 1395 KiB | 23 Q