3v4l.org

run code in 300+ PHP versions simultaneously
<?php $path = __DIR__; // list all files, with and without leading . $files = glob($path . '/{,.}[!.,!..]*', GLOB_BRACE); // list all files, except . and .. $files = glob($path . '/{,.}*', GLOB_BRACE);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SFD97
function name:  (null)
number of ops:  14
compiled vars:  !0 = $path, !1 = $files
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%2Fin'
    6     1        INIT_FCALL                                               'glob'
          2        CONCAT                                           ~3      !0, '%2F%7B%2C.%7D%5B%21.%2C%21..%5D%2A'
          3        SEND_VAL                                                 ~3
          4        SEND_VAL                                                 1024
          5        DO_ICALL                                         $4      
          6        ASSIGN                                                   !1, $4
    9     7        INIT_FCALL                                               'glob'
          8        CONCAT                                           ~6      !0, '%2F%7B%2C.%7D%2A'
          9        SEND_VAL                                                 ~6
         10        SEND_VAL                                                 1024
         11        DO_ICALL                                         $7      
         12        ASSIGN                                                   !1, $7
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
141.24 ms | 1004 KiB | 14 Q