3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.85 ms | 1394 KiB | 23 Q