3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.82 ms | 1394 KiB | 15 Q