3v4l.org

run code in 300+ PHP versions simultaneously
<?php $iterator = new FilesystemIterator(__DIR__, FilesystemIterator::KEY_AS_FILENAME); foreach ($iterator as $file) { echo $file->getFilename() . PHP_EOL; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 6, Position 2 = 12
Branch analysis from position: 6
2 jumps found. (Code = 78) Position 1 = 7, Position 2 = 12
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
filename:       /in/HrmZ2
function name:  (null)
number of ops:  14
compiled vars:  !0 = $iterator, !1 = $file
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $2      'FilesystemIterator'
          1        SEND_VAL_EX                                              '%2Fin'
          2        SEND_VAL_EX                                              256
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !0, $2
    3     5      > FE_RESET_R                                       $5      !0, ->12
          6    > > FE_FETCH_R                                               $5, !1, ->12
    4     7    >   INIT_METHOD_CALL                                         !1, 'getFilename'
          8        DO_FCALL                                      0  $6      
          9        CONCAT                                           ~7      $6, '%0A'
         10        ECHO                                                     ~7
    3    11      > JMP                                                      ->6
         12    >   FE_FREE                                                  $5
    5    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.56 ms | 1397 KiB | 13 Q