3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach (new DirectoryIterator( dirname(__FILE__) ) as $fileInfo) { if ( $fileInfo->isReadable() ) { $fileInfo->getFilename() . "<br>\n"; } }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 7, Position 2 = 16
Branch analysis from position: 7
2 jumps found. (Code = 78) Position 1 = 8, Position 2 = 16
Branch analysis from position: 8
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 15
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
Branch analysis from position: 15
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
filename:       /in/VmVD0
function name:  (null)
number of ops:  18
compiled vars:  !0 = $fileInfo
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $1      'DirectoryIterator'
          1        INIT_FCALL                                               'dirname'
          2        SEND_VAL                                                 '%2Fin%2FVmVD0'
          3        DO_ICALL                                         $2      
          4        SEND_VAR_NO_REF_EX                                       $2
          5        DO_FCALL                                      0          
          6      > FE_RESET_R                                       $4      $1, ->16
          7    > > FE_FETCH_R                                               $4, !0, ->16
    3     8    >   INIT_METHOD_CALL                                         !0, 'isReadable'
          9        DO_FCALL                                      0  $5      
         10      > JMPZ                                                     $5, ->15
    4    11    >   INIT_METHOD_CALL                                         !0, 'getFilename'
         12        DO_FCALL                                      0  $6      
         13        CONCAT                                           ~7      $6, '%3Cbr%3E%0A'
         14        FREE                                                     ~7
    2    15    > > JMP                                                      ->7
         16    >   FE_FREE                                                  $4
    6    17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.31 ms | 1395 KiB | 15 Q