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=utf-8" /> <title>Nr. 16</title> <style type="text/css"> .container { height: auto; width: auto; background-color: #CFF; } body { font-size: 8px; font-family: Arial, Helvetica, sans-serif; } </style> <?php // Die 'Laufzeit' der Datei wird auf den 10.1.1970 gesetzt, also schon lange abgelaufen ;) header("Expires: Mon, 10 Jan 1970 01:01:01 GMT"); // Der 'Last-Modified' Parameter wird auf das aktuelle Datum gesetzt. header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Die für die Proxys interessante Cache-Control wird eingestellt. header("Cache-Control: no-store, no-cache, must-revalidate"); // Siehe einen Kommentar weiter oben ... header("Pragma: no-cache"); // jetzt folgt der Inhalt der Seite ... ?> </head> <body> <div class="container"> <?php $wettbewerb = 341834; //617699 luzi: 886196 $nr = 28; //98 luzi: 64 $id = 214995; $file_begin = "http://www.designenlassen.de/wettbewerb/"; $file_middle = "/designs/"; $file_end = ".jpg"; $id_start = 100000; $id_end = 200000; $id = $id_start; $out = ""; $counter = 0; $counter100 = 0; $counter1000 = 0; $counter10000 = 0; $beginn = microtime(true); $var1 = 0; $var2 = 0; echo "start...<br /><br />"; echo "wettbewerb: ".$wettbewerb."<br />"; echo "nummer: ".$nr."<br />"; echo "start: ".$id_start."<br />"; echo "ende: ".$id_end."<br /><br />"; echo $PHP_INT_MAX."<br />"; echo "...<br />"; @set_time_limit (3600); set_time_limit (3600); //while($id < $id_end) while($var1 == $var2) { // 6 Dezimalstellen erzwingen $id6 = sprintf("%06d",$id); // Dateinamen erstellen $file = $file_begin.$wettbewerb.$file_middle.$nr."_".$id6.$file_end; $filename = $nr."_".$id6.$file_end; //echo "<img src=\"".$file."\"> "; //if (preg_match ("/^[0-9]{1,}$/s", $id)) if (preg_match ("/^[1-9]{1,}$/s", $id6)){ // if preg_match("/^[A-Z0-9-]+$/i", $var) // demo //echo $id6."<br />"; // echo "<img src=\"".$file."\"> "; //echo $file."<br />"; //preg_last_error(); // $info = exif_imagetype($file); // if ($info & (IMAGETYPE_GIF | IMAGETYPE_JPEG | IMAGETYPE_PNG)) { // echo "<img src=\"".$file."\"> "; // break; // } $info = getimagesize( $file ); if(!$info){ // echo 'Kein Bild'; echo "-"; }else{ echo $info; echo "<img src=\"".$file."\"> "; } // else { // continue; //} //end else } //if end nur 1-9 //preg_last_error(); //else //{ // echo "---<br />"; //} if ($counter100 >= 100) { //$dauer = microtime(true) - $beginn; //echo "$dauer - "; echo "| "; $dauer = microtime(true) - $beginn; $dauer =substr($dauer, 0, (strpos($dauer, "."))); echo $dauer." |"; $counter100 = 0; } if ($counter1000 >= 1000) { echo " |T| "; echo "<br />".$id6."<br />"; flush(); @ob_flush(); $counter1000 = 0; } if ($counter >= 10000) { $counter = 0; $counter10000++; echo "<br />".$counter10000."0.000<br />"; set_time_limit (0); } // ID um 1 hochzählen $id++; $counter++; $counter100++; $counter1000++; } // end while echo "<br />".$id_end; echo "<br />...end<br /><br />"; echo "testbild:<br />"; echo "<img src=\"http://www.designenlassen.de/wettbewerb/886196/designs/64_214995.jpg\" width=\"50\" height=\"50\"><br />"; ?> </div> <br /> end of file </body> </html>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 145
Branch analysis from position: 145
2 jumps found. (Code = 44) Position 1 = 147, Position 2 = 64
Branch analysis from position: 147
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 64
2 jumps found. (Code = 43) Position 1 = 85, Position 2 = 97
Branch analysis from position: 85
2 jumps found. (Code = 43) Position 1 = 91, Position 2 = 93
Branch analysis from position: 91
1 jumps found. (Code = 42) Position 1 = 97
Branch analysis from position: 97
2 jumps found. (Code = 43) Position 1 = 99, Position 2 = 118
Branch analysis from position: 99
2 jumps found. (Code = 43) Position 1 = 120, Position 2 = 131
Branch analysis from position: 120
2 jumps found. (Code = 43) Position 1 = 133, Position 2 = 141
Branch analysis from position: 133
2 jumps found. (Code = 44) Position 1 = 147, Position 2 = 64
Branch analysis from position: 147
Branch analysis from position: 64
Branch analysis from position: 141
Branch analysis from position: 131
Branch analysis from position: 118
Branch analysis from position: 93
2 jumps found. (Code = 43) Position 1 = 99, Position 2 = 118
Branch analysis from position: 99
Branch analysis from position: 118
Branch analysis from position: 97
filename:       /in/pNejk
function name:  (null)
number of ops:  154
compiled vars:  !0 = $wettbewerb, !1 = $nr, !2 = $id, !3 = $file_begin, !4 = $file_middle, !5 = $file_end, !6 = $id_start, !7 = $id_end, !8 = $out, !9 = $counter, !10 = $counter100, !11 = $counter1000, !12 = $counter10000, !13 = $beginn, !14 = $var1, !15 = $var2, !16 = $PHP_INT_MAX, !17 = $id6, !18 = $file, !19 = $filename, !20 = $info, !21 = $dauer
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%3Dutf-8%22+%2F%3E%0A%3Ctitle%3ENr.+16%3C%2Ftitle%3E%0A%3Cstyle+type%3D%22text%2Fcss%22%3E%0A.container+%7B%0A%09height%3A+auto%3B%0A%09width%3A+auto%3B%0A%09background-color%3A+%23CFF%3B%0A%7D%0Abody+%7B%0A%09font-size%3A+8px%3B%0A%09font-family%3A+Arial%2C+Helvetica%2C+sans-serif%3B%0A%7D%0A%3C%2Fstyle%3E%0A'
   19     1        INIT_FCALL                                               'header'
          2        SEND_VAL                                                 'Expires%3A+Mon%2C+10+Jan+1970+01%3A01%3A01+GMT'
          3        DO_ICALL                                                 
   21     4        INIT_FCALL                                               'header'
          5        INIT_FCALL                                               'gmdate'
          6        SEND_VAL                                                 'D%2C+d+M+Y+H%3Ai%3As'
          7        DO_ICALL                                         $23     
          8        CONCAT                                           ~24     'Last-Modified%3A+', $23
          9        CONCAT                                           ~25     ~24, '+GMT'
         10        SEND_VAL                                                 ~25
         11        DO_ICALL                                                 
   23    12        INIT_FCALL                                               'header'
         13        SEND_VAL                                                 'Cache-Control%3A+no-store%2C+no-cache%2C+must-revalidate'
         14        DO_ICALL                                                 
   25    15        INIT_FCALL                                               'header'
         16        SEND_VAL                                                 'Pragma%3A+no-cache'
         17        DO_ICALL                                                 
   28    18        ECHO                                                     '%3C%2Fhead%3E%0A%0A%3Cbody%3E%0A%0A%3Cdiv+class%3D%22container%22%3E%0A%0A'
   35    19        ASSIGN                                                   !0, 341834
   36    20        ASSIGN                                                   !1, 28
   37    21        ASSIGN                                                   !2, 214995
   39    22        ASSIGN                                                   !3, 'http%3A%2F%2Fwww.designenlassen.de%2Fwettbewerb%2F'
   40    23        ASSIGN                                                   !4, '%2Fdesigns%2F'
   41    24        ASSIGN                                                   !5, '.jpg'
   43    25        ASSIGN                                                   !6, 100000
   44    26        ASSIGN                                                   !7, 200000
   45    27        ASSIGN                                                   !2, !6
   46    28        ASSIGN                                                   !8, ''
   47    29        ASSIGN                                                   !9, 0
   48    30        ASSIGN                                                   !10, 0
   49    31        ASSIGN                                                   !11, 0
   50    32        ASSIGN                                                   !12, 0
   51    33        INIT_FCALL                                               'microtime'
         34        SEND_VAL                                                 <true>
         35        DO_ICALL                                         $43     
         36        ASSIGN                                                   !13, $43
   53    37        ASSIGN                                                   !14, 0
   54    38        ASSIGN                                                   !15, 0
   56    39        ECHO                                                     'start...%3Cbr+%2F%3E%3Cbr+%2F%3E'
   57    40        CONCAT                                           ~47     'wettbewerb%3A+', !0
         41        CONCAT                                           ~48     ~47, '%3Cbr+%2F%3E'
         42        ECHO                                                     ~48
   58    43        CONCAT                                           ~49     'nummer%3A+', !1
         44        CONCAT                                           ~50     ~49, '%3Cbr+%2F%3E'
         45        ECHO                                                     ~50
   59    46        CONCAT                                           ~51     'start%3A+', !6
         47        CONCAT                                           ~52     ~51, '%3Cbr+%2F%3E'
         48        ECHO                                                     ~52
   60    49        CONCAT                                           ~53     'ende%3A+', !7
         50        CONCAT                                           ~54     ~53, '%3Cbr+%2F%3E%3Cbr+%2F%3E'
         51        ECHO                                                     ~54
   61    52        CONCAT                                           ~55     !16, '%3Cbr+%2F%3E'
         53        ECHO                                                     ~55
   62    54        ECHO                                                     '...%3Cbr+%2F%3E'
   64    55        BEGIN_SILENCE                                    ~56     
         56        INIT_FCALL                                               'set_time_limit'
         57        SEND_VAL                                                 3600
         58        DO_ICALL                                                 
         59        END_SILENCE                                              ~56
   65    60        INIT_FCALL                                               'set_time_limit'
         61        SEND_VAL                                                 3600
         62        DO_ICALL                                                 
   68    63      > JMP                                                      ->145
   72    64    >   INIT_FCALL                                               'sprintf'
         65        SEND_VAL                                                 '%2506d'
         66        SEND_VAR                                                 !2
         67        DO_ICALL                                         $59     
         68        ASSIGN                                                   !17, $59
   75    69        CONCAT                                           ~61     !3, !0
         70        CONCAT                                           ~62     ~61, !4
         71        CONCAT                                           ~63     ~62, !1
         72        CONCAT                                           ~64     ~63, '_'
         73        CONCAT                                           ~65     ~64, !17
         74        CONCAT                                           ~66     ~65, !5
         75        ASSIGN                                                   !18, ~66
   76    76        CONCAT                                           ~68     !1, '_'
         77        CONCAT                                           ~69     ~68, !17
         78        CONCAT                                           ~70     ~69, !5
         79        ASSIGN                                                   !19, ~70
   82    80        INIT_FCALL                                               'preg_match'
         81        SEND_VAL                                                 '%2F%5E%5B1-9%5D%7B1%2C%7D%24%2Fs'
         82        SEND_VAR                                                 !17
         83        DO_ICALL                                         $72     
         84      > JMPZ                                                     $72, ->97
   96    85    >   INIT_FCALL                                               'getimagesize'
         86        SEND_VAR                                                 !18
         87        DO_ICALL                                         $73     
         88        ASSIGN                                                   !20, $73
   97    89        BOOL_NOT                                         ~75     !20
         90      > JMPZ                                                     ~75, ->93
   99    91    >   ECHO                                                     '-'
         92      > JMP                                                      ->97
  101    93    >   ECHO                                                     !20
  102    94        CONCAT                                           ~76     '%3Cimg+src%3D%22', !18
         95        CONCAT                                           ~77     ~76, '%22%3E+'
         96        ECHO                                                     ~77
  117    97    >   IS_SMALLER_OR_EQUAL                                      100, !10
         98      > JMPZ                                                     ~78, ->118
  120    99    >   ECHO                                                     '%7C+'
  121   100        INIT_FCALL                                               'microtime'
        101        SEND_VAL                                                 <true>
        102        DO_ICALL                                         $79     
        103        SUB                                              ~80     $79, !13
        104        ASSIGN                                                   !21, ~80
  122   105        INIT_FCALL                                               'substr'
        106        SEND_VAR                                                 !21
        107        SEND_VAL                                                 0
        108        INIT_FCALL                                               'strpos'
        109        SEND_VAR                                                 !21
        110        SEND_VAL                                                 '.'
        111        DO_ICALL                                         $82     
        112        SEND_VAR                                                 $82
        113        DO_ICALL                                         $83     
        114        ASSIGN                                                   !21, $83
  123   115        CONCAT                                           ~85     !21, '+%7C'
        116        ECHO                                                     ~85
  124   117        ASSIGN                                                   !10, 0
  127   118    >   IS_SMALLER_OR_EQUAL                                      1000, !11
        119      > JMPZ                                                     ~87, ->131
  128   120    >   ECHO                                                     '+%7CT%7C+'
  129   121        CONCAT                                           ~88     '%3Cbr+%2F%3E', !17
        122        CONCAT                                           ~89     ~88, '%3Cbr+%2F%3E'
        123        ECHO                                                     ~89
  131   124        INIT_FCALL                                               'flush'
        125        DO_ICALL                                                 
  132   126        BEGIN_SILENCE                                    ~91     
        127        INIT_FCALL                                               'ob_flush'
        128        DO_ICALL                                                 
        129        END_SILENCE                                              ~91
  134   130        ASSIGN                                                   !11, 0
  137   131    >   IS_SMALLER_OR_EQUAL                                      10000, !9
        132      > JMPZ                                                     ~94, ->141
  138   133    >   ASSIGN                                                   !9, 0
  139   134        PRE_INC                                                  !12
  140   135        CONCAT                                           ~97     '%3Cbr+%2F%3E', !12
        136        CONCAT                                           ~98     ~97, '0.000%3Cbr+%2F%3E'
        137        ECHO                                                     ~98
  141   138        INIT_FCALL                                               'set_time_limit'
        139        SEND_VAL                                                 0
        140        DO_ICALL                                                 
  146   141    >   PRE_INC                                                  !2
  147   142        PRE_INC                                                  !9
  148   143        PRE_INC                                                  !10
  149   144        PRE_INC                                                  !11
   68   145    >   IS_EQUAL                                                 !14, !15
        146      > JMPNZ                                                    ~104, ->64
  152   147    >   CONCAT                                           ~105    '%3Cbr+%2F%3E', !7
        148        ECHO                                                     ~105
  153   149        ECHO                                                     '%3Cbr+%2F%3E...end%3Cbr+%2F%3E%3Cbr+%2F%3E'
  154   150        ECHO                                                     'testbild%3A%3Cbr+%2F%3E'
  155   151        ECHO                                                     '%3Cimg+src%3D%22http%3A%2F%2Fwww.designenlassen.de%2Fwettbewerb%2F886196%2Fdesigns%2F64_214995.jpg%22+width%3D%2250%22+height%3D%2250%22%3E%3Cbr+%2F%3E'
  158   152        ECHO                                                     '%0A%3C%2Fdiv%3E%0A%3Cbr+%2F%3E+end+of+file%0A%0A%3C%2Fbody%3E%0A%3C%2Fhtml%3E'
  163   153      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.19 ms | 1408 KiB | 35 Q