3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d = dir(__DIR__); while (false !== ($entry = $d->read())) { echo $entry . "<br />\n"; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 5
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 5
Branch analysis from position: 12
Branch analysis from position: 5
filename:       /in/6dQsZ
function name:  (null)
number of ops:  13
compiled vars:  !0 = $d, !1 = $entry
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'dir'
          1        SEND_VAL                                                 '%2Fin'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    5     4      > JMP                                                      ->7
    6     5    >   CONCAT                                           ~4      !1, '%3Cbr+%2F%3E%0A'
          6        ECHO                                                     ~4
    5     7    >   INIT_METHOD_CALL                                         !0, 'read'
          8        DO_FCALL                                      0  $5      
          9        ASSIGN                                           ~6      !1, $5
         10        TYPE_CHECK                                  1018          ~6
         11      > JMPNZ                                                    ~7, ->5
    7    12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.27 ms | 1386 KiB | 15 Q