3v4l.org

run code in 300+ PHP versions simultaneously
<?php $it = new GlobIterator('/tmp/*.log'); var_dump(iterator_to_array($it, true));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/LigNV
function name:  (null)
number of ops:  12
compiled vars:  !0 = $it
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $1      'GlobIterator'
          1        SEND_VAL_EX                                              '%2Ftmp%2F%2A.log'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $1
    4     4        INIT_FCALL                                               'var_dump'
          5        INIT_FCALL                                               'iterator_to_array'
          6        SEND_VAR                                                 !0
          7        SEND_VAL                                                 <true>
          8        DO_ICALL                                         $4      
          9        SEND_VAR                                                 $4
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.63 ms | 1394 KiB | 17 Q