3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.46 ms | 1010 KiB | 19 Q