3v4l.org

run code in 300+ PHP versions simultaneously
<?php $iter = new RecursiveIteratorIterator(new RecursiveDirectoryIterator('/', FilesystemIterator::SKIP_DOTS), RecursiveIteratorIterator::SELF_FIRST, RecursiveIteratorIterator::CATCH_GET_CHILD); foreach ($iter as $file) { if ($iter->isDir()) { echo sprintf("%s % 10d %s %s\n", str_pad($file, 80, ' ', STR_PAD_RIGHT), $iter->getSize(), date('r', $iter->getMTime()), decoct($iter->getPerms()) ); } }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 11, Position 2 = 43
Branch analysis from position: 11
2 jumps found. (Code = 78) Position 1 = 12, Position 2 = 43
Branch analysis from position: 12
2 jumps found. (Code = 43) Position 1 = 15, Position 2 = 42
Branch analysis from position: 15
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
Branch analysis from position: 42
Branch analysis from position: 43
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 43
filename:       /in/mDUdq
function name:  (null)
number of ops:  45
compiled vars:  !0 = $iter, !1 = $file
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $2      'RecursiveIteratorIterator'
          1        NEW                                              $3      'RecursiveDirectoryIterator'
          2        SEND_VAL_EX                                              '%2F'
          3        SEND_VAL_EX                                              4096
          4        DO_FCALL                                      0          
          5        SEND_VAR_NO_REF_EX                                       $3
          6        SEND_VAL_EX                                              1
          7        SEND_VAL_EX                                              16
          8        DO_FCALL                                      0          
          9        ASSIGN                                                   !0, $2
    4    10      > FE_RESET_R                                       $7      !0, ->43
         11    > > FE_FETCH_R                                               $7, !1, ->43
    5    12    >   INIT_METHOD_CALL                                         !0, 'isDir'
         13        DO_FCALL                                      0  $8      
         14      > JMPZ                                                     $8, ->42
    6    15    >   INIT_FCALL                                               'sprintf'
         16        SEND_VAL                                                 '%25s+++%25+10d+++%25s+%25s%0A'
    7    17        INIT_FCALL                                               'str_pad'
         18        SEND_VAR                                                 !1
         19        SEND_VAL                                                 80
         20        SEND_VAL                                                 '+'
         21        SEND_VAL                                                 1
         22        DO_ICALL                                         $9      
         23        SEND_VAR                                                 $9
    8    24        INIT_METHOD_CALL                                         !0, 'getSize'
         25        DO_FCALL                                      0  $10     
         26        SEND_VAR                                                 $10
    9    27        INIT_FCALL                                               'date'
         28        SEND_VAL                                                 'r'
         29        INIT_METHOD_CALL                                         !0, 'getMTime'
         30        DO_FCALL                                      0  $11     
         31        SEND_VAR                                                 $11
         32        DO_ICALL                                         $12     
         33        SEND_VAR                                                 $12
   10    34        INIT_FCALL                                               'decoct'
         35        INIT_METHOD_CALL                                         !0, 'getPerms'
         36        DO_FCALL                                      0  $13     
         37        SEND_VAR                                                 $13
         38        DO_ICALL                                         $14     
         39        SEND_VAR                                                 $14
         40        DO_ICALL                                         $15     
         41        ECHO                                                     $15
    4    42    > > JMP                                                      ->11
         43    >   FE_FREE                                                  $7
   13    44      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.83 ms | 1400 KiB | 21 Q