3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.8 ms | 1386 KiB | 19 Q