3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d = dir('/tmp'); while ($v = $d->read()) { echo "$v\n"; } $d->close();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
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/OICYF
function name:  (null)
number of ops:  15
compiled vars:  !0 = $d, !1 = $v
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'dir'
          1        SEND_VAL                                                 '%2Ftmp'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    3     4      > JMP                                                      ->8
    4     5    >   NOP                                                      
          6        FAST_CONCAT                                      ~4      !1, '%0A'
          7        ECHO                                                     ~4
    3     8    >   INIT_METHOD_CALL                                         !0, 'read'
          9        DO_FCALL                                      0  $5      
         10        ASSIGN                                           ~6      !1, $5
         11      > JMPNZ                                                    ~6, ->5
    6    12    >   INIT_METHOD_CALL                                         !0, 'close'
         13        DO_FCALL                                      0          
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.73 ms | 1386 KiB | 15 Q