3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pfad = ""; $ausnahme = "index.html"; $ausgabe = @opendir($pfad) or die("$pfad konnte nicht gefunden werden"); while ($datei = readdir($ausgabe)) { if(($datei!=".") and ($datei!="..") and ($datei!=$ausnahme )) { echo "<a href=\"$datei\">$datei</a><br>"; } } closedir($ausgabe); ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 9, Position 2 = 13
Branch analysis from position: 9
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 28
Branch analysis from position: 28
2 jumps found. (Code = 44) Position 1 = 33, Position 2 = 14
Branch analysis from position: 33
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
2 jumps found. (Code = 46) Position 1 = 16, Position 2 = 18
Branch analysis from position: 16
2 jumps found. (Code = 46) Position 1 = 19, Position 2 = 21
Branch analysis from position: 19
2 jumps found. (Code = 43) Position 1 = 22, Position 2 = 28
Branch analysis from position: 22
2 jumps found. (Code = 44) Position 1 = 33, Position 2 = 14
Branch analysis from position: 33
Branch analysis from position: 14
Branch analysis from position: 28
Branch analysis from position: 21
Branch analysis from position: 18
filename:       /in/D1KC8
function name:  (null)
number of ops:  37
compiled vars:  !0 = $pfad, !1 = $ausnahme, !2 = $ausgabe, !3 = $datei
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, ''
    4     1        ASSIGN                                                   !1, 'index.html'
    6     2        BEGIN_SILENCE                                    ~6      
          3        INIT_FCALL                                               'opendir'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $7      
          6        END_SILENCE                                              ~6
          7        ASSIGN                                           ~8      !2, $7
          8      > JMPNZ_EX                                         ~8      ~8, ->13
          9    >   NOP                                                      
         10        FAST_CONCAT                                      ~9      !0, '+konnte+nicht+gefunden+werden'
         11      > EXIT                                                     ~9
         12*       BOOL                                             ~8      <true>
    8    13    > > JMP                                                      ->28
   10    14    >   IS_NOT_EQUAL                                     ~10     !3, '.'
         15      > JMPZ_EX                                          ~10     ~10, ->18
         16    >   IS_NOT_EQUAL                                     ~11     !3, '..'
         17        BOOL                                             ~10     ~11
         18    > > JMPZ_EX                                          ~10     ~10, ->21
         19    >   IS_NOT_EQUAL                                     ~12     !3, !1
         20        BOOL                                             ~10     ~12
         21    > > JMPZ                                                     ~10, ->28
   12    22    >   ROPE_INIT                                     5  ~14     '%3Ca+href%3D%22'
         23        ROPE_ADD                                      1  ~14     ~14, !3
         24        ROPE_ADD                                      2  ~14     ~14, '%22%3E'
         25        ROPE_ADD                                      3  ~14     ~14, !3
         26        ROPE_END                                      4  ~13     ~14, '%3C%2Fa%3E%3Cbr%3E'
         27        ECHO                                                     ~13
    8    28    >   INIT_FCALL                                               'readdir'
         29        SEND_VAR                                                 !2
         30        DO_ICALL                                         $17     
         31        ASSIGN                                           ~18     !3, $17
         32      > JMPNZ                                                    ~18, ->14
   16    33    >   INIT_FCALL                                               'closedir'
         34        SEND_VAR                                                 !2
         35        DO_ICALL                                                 
   18    36      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.87 ms | 1404 KiB | 19 Q