3v4l.org

run code in 300+ PHP versions simultaneously
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>prob&aacute;k, felv&eacute;telek</title> </head> <body> <br/> <?php $mbsize = 0; $minutes = 0; $wholeMinutes = 0; $restOfMinutes = 0; $filepath = '*.mp3'; $picarray = glob($filepath); for ($i=0; $i<count($picarray); $i++): $mbsize = round(filesize($picarray[$i])/1024/1024,1); $minutes = round($mbsize/.686); if ($minutes > 60): $wholeMinutes = floor($minutes/60); $restOfMinutes = $minutes - ($wholeMinutes * 60); $showMinutes = $wholeMinutes.' &oacute;ra '.$restOfMinutes; else: $showMinutes = $minutes; endif; ?> <a href="<?php echo $picarray[$i]; ?>" target="_blank"><?php echo $picarray[$i]; ?> (<?php echo $mbsize; ?> MB - kb. <?php echo $showMinutes; ?> perc)</a> <?php if ($i < count($picarray)-1) echo '<br/><br/>'; ?> <?php endfor; ?> </body> </html>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 61
Branch analysis from position: 61
2 jumps found. (Code = 44) Position 1 = 64, Position 2 = 12
Branch analysis from position: 64
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
2 jumps found. (Code = 43) Position 1 = 30, Position 2 = 42
Branch analysis from position: 30
1 jumps found. (Code = 42) Position 1 = 43
Branch analysis from position: 43
2 jumps found. (Code = 43) Position 1 = 58, Position 2 = 59
Branch analysis from position: 58
2 jumps found. (Code = 44) Position 1 = 64, Position 2 = 12
Branch analysis from position: 64
Branch analysis from position: 12
Branch analysis from position: 59
Branch analysis from position: 42
2 jumps found. (Code = 43) Position 1 = 58, Position 2 = 59
Branch analysis from position: 58
Branch analysis from position: 59
filename:       /in/54GGc
function name:  (null)
number of ops:  66
compiled vars:  !0 = $mbsize, !1 = $minutes, !2 = $wholeMinutes, !3 = $restOfMinutes, !4 = $filepath, !5 = $picarray, !6 = $i, !7 = $showMinutes
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '%3C%21DOCTYPE+html+PUBLIC+%22-%2F%2FW3C%2F%2FDTD+XHTML+1.0+Transitional%2F%2FEN%22+%22http%3A%2F%2Fwww.w3.org%2FTR%2Fxhtml1%2FDTD%2Fxhtml1-transitional.dtd%22%3E%0A%3Chtml+xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml%22%3E%0A%3Chead%3E%0A%3Cmeta+http-equiv%3D%22Content-Type%22+content%3D%22text%2Fhtml%3B+charset%3Diso-8859-1%22+%2F%3E%0A%3Ctitle%3Eprob%26aacute%3Bk%2C+felv%26eacute%3Btelek%3C%2Ftitle%3E%0A%3C%2Fhead%3E%0A%0A%3Cbody%3E%0A%09%3Cbr%2F%3E%0A++++'
   11     1        ASSIGN                                                   !0, 0
   12     2        ASSIGN                                                   !1, 0
   13     3        ASSIGN                                                   !2, 0
   14     4        ASSIGN                                                   !3, 0
   15     5        ASSIGN                                                   !4, '%2A.mp3'
   16     6        INIT_FCALL                                               'glob'
          7        SEND_VAR                                                 !4
          8        DO_ICALL                                         $13     
          9        ASSIGN                                                   !5, $13
   17    10        ASSIGN                                                   !6, 0
         11      > JMP                                                      ->61
   18    12    >   INIT_FCALL                                               'round'
         13        INIT_FCALL                                               'filesize'
         14        FETCH_DIM_R                                      ~16     !5, !6
         15        SEND_VAL                                                 ~16
         16        DO_ICALL                                         $17     
         17        DIV                                              ~18     $17, 1024
         18        DIV                                              ~19     ~18, 1024
         19        SEND_VAL                                                 ~19
         20        SEND_VAL                                                 1
         21        DO_ICALL                                         $20     
         22        ASSIGN                                                   !0, $20
   19    23        INIT_FCALL                                               'round'
         24        DIV                                              ~22     !0, 0.686
         25        SEND_VAL                                                 ~22
         26        DO_ICALL                                         $23     
         27        ASSIGN                                                   !1, $23
   20    28        IS_SMALLER                                               60, !1
         29      > JMPZ                                                     ~25, ->42
   21    30    >   INIT_FCALL                                               'floor'
         31        DIV                                              ~26     !1, 60
         32        SEND_VAL                                                 ~26
         33        DO_ICALL                                         $27     
         34        ASSIGN                                                   !2, $27
   22    35        MUL                                              ~29     !2, 60
         36        SUB                                              ~30     !1, ~29
         37        ASSIGN                                                   !3, ~30
   23    38        CONCAT                                           ~32     !2, '+%26oacute%3Bra+'
         39        CONCAT                                           ~33     ~32, !3
         40        ASSIGN                                                   !7, ~33
         41      > JMP                                                      ->43
   25    42    >   ASSIGN                                                   !7, !1
   27    43    >   ECHO                                                     '%09%09%3Ca+href%3D%22'
         44        FETCH_DIM_R                                      ~36     !5, !6
         45        ECHO                                                     ~36
         46        ECHO                                                     '%22+target%3D%22_blank%22%3E'
         47        FETCH_DIM_R                                      ~37     !5, !6
         48        ECHO                                                     ~37
         49        ECHO                                                     '+%28'
         50        ECHO                                                     !0
         51        ECHO                                                     '+MB+-+kb.+'
         52        ECHO                                                     !7
         53        ECHO                                                     '+perc%29%3C%2Fa%3E%0A%09%09'
   28    54        COUNT                                            ~38     !5
         55        SUB                                              ~39     ~38, 1
         56        IS_SMALLER                                               !6, ~39
         57      > JMPZ                                                     ~40, ->59
   29    58    >   ECHO                                                     '%3Cbr%2F%3E%3Cbr%2F%3E'
   30    59    >   ECHO                                                     '%09'
   17    60        PRE_INC                                                  !6
         61    >   COUNT                                            ~42     !5
         62        IS_SMALLER                                               !6, ~42
         63      > JMPNZ                                                    ~43, ->12
   31    64    >   ECHO                                                     '%3C%2Fbody%3E%0A%3C%2Fhtml%3E'
   32    65      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
179.58 ms | 1400 KiB | 21 Q