3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach (new DirectoryIterator( dirname(__FILE__) ) as $fileInfo) { $fileInfo->getFilename() . "<br>\n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 7, Position 2 = 13
Branch analysis from position: 7
2 jumps found. (Code = 78) Position 1 = 8, Position 2 = 13
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
filename:       /in/bDnGl
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        INIT_FCALL                                               'dirname'
          2        SEND_VAL                                                 '%2Fin%2FbDnGl'
          3        DO_ICALL                                         $2      
          4        SEND_VAR_NO_REF_EX                                       $2
          5        DO_FCALL                                      0          
          6      > FE_RESET_R                                       $4      $1, ->13
          7    > > FE_FETCH_R                                               $4, !0, ->13
    3     8    >   INIT_METHOD_CALL                                         !0, 'getFilename'
          9        DO_FCALL                                      0  $5      
         10        CONCAT                                           ~6      $5, '%3Cbr%3E%0A'
         11        FREE                                                     ~6
    2    12      > JMP                                                      ->7
         13    >   FE_FREE                                                  $4
    4    14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
264.03 ms | 1394 KiB | 15 Q