3v4l.org

run code in 300+ PHP versions simultaneously
<?php $handle = opendir('/home'); while (($file = readdir($handle))) echo $file;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 5
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 5
Branch analysis from position: 11
Branch analysis from position: 5
filename:       /in/lquIL
function name:  (null)
number of ops:  12
compiled vars:  !0 = $handle, !1 = $file
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   INIT_FCALL                                               'opendir'
          1        SEND_VAL                                                 '%2Fhome'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
          4      > JMP                                                      ->6
          5    >   ECHO                                                     !1
          6    >   INIT_FCALL                                               'readdir'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $4      
          9        ASSIGN                                           ~5      !1, $4
         10      > JMPNZ                                                    ~5, ->5
         11    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.72 ms | 1394 KiB | 17 Q