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) { 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 = 40
Branch analysis from position: 11
2 jumps found. (Code = 78) Position 1 = 12, Position 2 = 40
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
Branch analysis from position: 40
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 40
filename:       /in/kenVZ
function name:  (null)
number of ops:  42
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, ->40
         11    > > FE_FETCH_R                                               $7, !1, ->40
    5    12    >   INIT_FCALL                                               'sprintf'
         13        SEND_VAL                                                 '%25s+++%25+10d+++%25s+%25s%0A'
    6    14        INIT_FCALL                                               'str_pad'
         15        SEND_VAR                                                 !1
         16        SEND_VAL                                                 80
         17        SEND_VAL                                                 '+'
         18        SEND_VAL                                                 1
         19        DO_ICALL                                         $8      
         20        SEND_VAR                                                 $8
    7    21        INIT_METHOD_CALL                                         !0, 'getSize'
         22        DO_FCALL                                      0  $9      
         23        SEND_VAR                                                 $9
    8    24        INIT_FCALL                                               'date'
         25        SEND_VAL                                                 'r'
         26        INIT_METHOD_CALL                                         !0, 'getMTime'
         27        DO_FCALL                                      0  $10     
         28        SEND_VAR                                                 $10
         29        DO_ICALL                                         $11     
         30        SEND_VAR                                                 $11
    9    31        INIT_FCALL                                               'decoct'
         32        INIT_METHOD_CALL                                         !0, 'getPerms'
         33        DO_FCALL                                      0  $12     
         34        SEND_VAR                                                 $12
         35        DO_ICALL                                         $13     
         36        SEND_VAR                                                 $13
         37        DO_ICALL                                         $14     
         38        ECHO                                                     $14
    4    39      > JMP                                                      ->11
         40    >   FE_FREE                                                  $7
   11    41      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.53 ms | 1400 KiB | 21 Q