3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.31 ms | 1393 KiB | 13 Q