3v4l.org

run code in 300+ PHP versions simultaneously
<?php $wettbewerb = 783938; //617699 luzi: 886196 $nr = 17; //98 luzi: 64 $id = 214995; $file_begin = "http://www.designenlassen.de/wettbewerb/"; $file_middle = "/designs/"; $file_end = ".jpg"; $id_start = 100000; $id_end = 999999; $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 "...<br />"; //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; } 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 "-"; $counter100 = 0; } if ($counter1000 >= 1000) { echo "|"; echo "<br />".$file."<br />"; $counter1000 = 0; } if ($counter >= 10000) { $counter = 0; $counter10000++; echo "<br />".$counter10000."0.000<br />"; } // 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 />"; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 90
Branch analysis from position: 90
2 jumps found. (Code = 44) Position 1 = 92, Position 2 = 35
Branch analysis from position: 92
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 35
2 jumps found. (Code = 43) Position 1 = 56, Position 2 = 68
Branch analysis from position: 56
2 jumps found. (Code = 43) Position 1 = 62, Position 2 = 67
Branch analysis from position: 62
1 jumps found. (Code = 42) Position 1 = 92
Branch analysis from position: 92
Branch analysis from position: 67
1 jumps found. (Code = 42) Position 1 = 90
Branch analysis from position: 90
Branch analysis from position: 68
2 jumps found. (Code = 43) Position 1 = 70, Position 2 = 72
Branch analysis from position: 70
2 jumps found. (Code = 43) Position 1 = 74, Position 2 = 79
Branch analysis from position: 74
2 jumps found. (Code = 43) Position 1 = 81, Position 2 = 86
Branch analysis from position: 81
2 jumps found. (Code = 44) Position 1 = 92, Position 2 = 35
Branch analysis from position: 92
Branch analysis from position: 35
Branch analysis from position: 86
Branch analysis from position: 79
Branch analysis from position: 72
filename:       /in/5WeEt
function name:  (null)
number of ops:  98
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 = $id6, !17 = $file, !18 = $filename, !19 = $info
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 783938
    3     1        ASSIGN                                                   !1, 17
    4     2        ASSIGN                                                   !2, 214995
    6     3        ASSIGN                                                   !3, 'http%3A%2F%2Fwww.designenlassen.de%2Fwettbewerb%2F'
    7     4        ASSIGN                                                   !4, '%2Fdesigns%2F'
    8     5        ASSIGN                                                   !5, '.jpg'
   10     6        ASSIGN                                                   !6, 100000
   11     7        ASSIGN                                                   !7, 999999
   12     8        ASSIGN                                                   !2, !6
   13     9        ASSIGN                                                   !8, ''
   14    10        ASSIGN                                                   !9, 0
   15    11        ASSIGN                                                   !10, 0
   16    12        ASSIGN                                                   !11, 0
   17    13        ASSIGN                                                   !12, 0
   18    14        INIT_FCALL                                               'microtime'
         15        SEND_VAL                                                 <true>
         16        DO_ICALL                                         $34     
         17        ASSIGN                                                   !13, $34
   20    18        ASSIGN                                                   !14, 0
   21    19        ASSIGN                                                   !15, 0
   23    20        ECHO                                                     'start...%3Cbr+%2F%3E%3Cbr+%2F%3E'
   24    21        CONCAT                                           ~38     'wettbewerb%3A+', !0
         22        CONCAT                                           ~39     ~38, '%3Cbr+%2F%3E'
         23        ECHO                                                     ~39
   25    24        CONCAT                                           ~40     'nummer%3A+', !1
         25        CONCAT                                           ~41     ~40, '%3Cbr+%2F%3E'
         26        ECHO                                                     ~41
   26    27        CONCAT                                           ~42     'start%3A+', !6
         28        CONCAT                                           ~43     ~42, '%3Cbr+%2F%3E'
         29        ECHO                                                     ~43
   27    30        CONCAT                                           ~44     'ende%3A+', !7
         31        CONCAT                                           ~45     ~44, '%3Cbr+%2F%3E%3Cbr+%2F%3E'
         32        ECHO                                                     ~45
   28    33        ECHO                                                     '...%3Cbr+%2F%3E'
   32    34      > JMP                                                      ->90
   36    35    >   INIT_FCALL                                               'sprintf'
         36        SEND_VAL                                                 '%2506d'
         37        SEND_VAR                                                 !2
         38        DO_ICALL                                         $46     
         39        ASSIGN                                                   !16, $46
   39    40        CONCAT                                           ~48     !3, !0
         41        CONCAT                                           ~49     ~48, !4
         42        CONCAT                                           ~50     ~49, !1
         43        CONCAT                                           ~51     ~50, '_'
         44        CONCAT                                           ~52     ~51, !16
         45        CONCAT                                           ~53     ~52, !5
         46        ASSIGN                                                   !17, ~53
   40    47        CONCAT                                           ~55     !1, '_'
         48        CONCAT                                           ~56     ~55, !16
         49        CONCAT                                           ~57     ~56, !5
         50        ASSIGN                                                   !18, ~57
   46    51        INIT_FCALL                                               'preg_match'
         52        SEND_VAL                                                 '%2F%5E%5B1-9%5D%7B1%2C%7D%24%2Fs'
         53        SEND_VAR                                                 !16
         54        DO_ICALL                                         $59     
         55      > JMPZ                                                     $59, ->68
   54    56    >   INIT_FCALL_BY_NAME                                       'exif_imagetype'
         57        SEND_VAR_EX                                              !17
         58        DO_FCALL                                      0  $60     
         59        ASSIGN                                                   !19, $60
   55    60        BW_AND                                           ~62     !19, 3
         61      > JMPZ                                                     ~62, ->67
   56    62    >   CONCAT                                           ~63     '%3Cimg+src%3D%22', !17
         63        CONCAT                                           ~64     ~63, '%22%3E+'
         64        ECHO                                                     ~64
   57    65      > JMP                                                      ->92
         66*       JMP                                                      ->68
   61    67    > > JMP                                                      ->90
   72    68    >   IS_SMALLER_OR_EQUAL                                      100, !10
         69      > JMPZ                                                     ~65, ->72
   75    70    >   ECHO                                                     '-'
   76    71        ASSIGN                                                   !10, 0
   79    72    >   IS_SMALLER_OR_EQUAL                                      1000, !11
         73      > JMPZ                                                     ~67, ->79
   80    74    >   ECHO                                                     '%7C'
   81    75        CONCAT                                           ~68     '%3Cbr+%2F%3E', !17
         76        CONCAT                                           ~69     ~68, '%3Cbr+%2F%3E'
         77        ECHO                                                     ~69
   82    78        ASSIGN                                                   !11, 0
   85    79    >   IS_SMALLER_OR_EQUAL                                      10000, !9
         80      > JMPZ                                                     ~71, ->86
   86    81    >   ASSIGN                                                   !9, 0
   87    82        PRE_INC                                                  !12
   88    83        CONCAT                                           ~74     '%3Cbr+%2F%3E', !12
         84        CONCAT                                           ~75     ~74, '0.000%3Cbr+%2F%3E'
         85        ECHO                                                     ~75
   93    86    >   PRE_INC                                                  !2
   94    87        PRE_INC                                                  !9
   95    88        PRE_INC                                                  !10
   96    89        PRE_INC                                                  !11
   32    90    >   IS_EQUAL                                                 !14, !15
         91      > JMPNZ                                                    ~80, ->35
   99    92    >   CONCAT                                           ~81     '%3Cbr+%2F%3E', !7
         93        ECHO                                                     ~81
  100    94        ECHO                                                     '%3Cbr+%2F%3E...end%3Cbr+%2F%3E%3Cbr+%2F%3E'
  101    95        ECHO                                                     'testbild%3A%3Cbr+%2F%3E'
  102    96        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'
  104    97      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.2 ms | 1404 KiB | 19 Q