@ 2014-09-14T18:12:57Z <!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>
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).
Version System time (s) User time (s) Memory (MiB) 7.2.0 0.026 0.019 20.04 7.1.7 0.009 0.017 17.74 7.1.6 0.007 0.011 17.58 7.1.5 0.017 0.013 35.23 7.1.0 0.020 0.093 22.63 7.0.20 0.012 0.021 17.21 7.0.14 0.020 0.083 22.61 7.0.6 0.030 0.087 20.20 7.0.5 0.017 0.087 18.15 7.0.4 0.030 0.080 20.48 7.0.3 0.080 0.073 20.28 7.0.2 0.050 0.087 20.26 7.0.1 0.027 0.060 20.30 7.0.0 0.020 0.097 20.30 5.6.28 0.013 0.110 21.54 5.6.21 0.020 0.103 21.10 5.6.20 0.023 0.080 18.50 5.6.19 0.013 0.057 21.14 5.6.18 0.047 0.090 21.07 5.6.17 0.020 0.060 20.77 5.6.16 0.020 0.077 20.76 5.6.15 0.027 0.097 18.57 5.6.14 0.020 0.110 18.58 5.6.13 0.023 0.097 18.43 5.6.12 0.017 0.103 21.44 5.6.11 0.013 0.060 21.51 5.6.10 0.020 0.070 21.25 5.6.9 0.023 0.097 21.34 5.6.8 0.010 0.053 20.81 5.5.35 0.027 0.080 20.67 5.5.34 0.027 0.063 18.30 5.5.33 0.027 0.087 20.91 5.5.32 0.050 0.097 20.59 5.5.31 0.043 0.097 20.52 5.5.30 0.013 0.067 18.38 5.5.29 0.023 0.057 18.33 5.5.28 0.023 0.097 21.30 5.5.27 0.037 0.090 21.26 5.5.26 0.020 0.067 21.30 5.5.25 0.033 0.110 21.04 5.5.24 0.037 0.100 20.49 5.4.45 0.043 0.053 20.05 5.4.44 0.450 0.060 19.98 5.4.43 0.033 0.073 19.97 5.4.42 0.037 0.047 20.05 5.4.41 0.033 0.053 19.90 5.4.40 0.050 0.090 19.70 5.4.39 0.280 0.053 19.69 5.4.38 0.053 0.083 19.66 5.4.37 0.043 0.090 19.75 5.4.36 0.060 0.053 19.83 5.4.35 0.037 0.047 19.67 5.4.34 0.020 0.053 19.86 5.4.32 0.043 0.077 19.73 5.4.31 0.070 0.067 19.68 5.4.30 0.033 0.080 19.57 5.4.29 0.037 0.050 19.55 5.4.28 0.073 0.083 19.70 5.4.27 0.053 0.083 19.86 5.4.26 0.053 0.083 19.78 5.4.25 0.043 0.067 19.69 5.4.24 0.050 0.057 19.74 5.4.23 0.040 0.090 19.59 5.4.22 0.053 0.060 19.66 5.4.21 0.047 0.093 19.73 5.4.20 0.057 0.067 19.77 5.4.19 0.033 0.077 19.84 5.4.18 0.033 0.077 19.57 5.4.17 0.360 0.050 19.85 5.4.16 0.040 0.067 19.57 5.4.15 0.457 0.043 19.65 5.4.14 0.440 0.050 16.93 5.4.13 0.037 0.087 17.07 5.4.12 0.033 0.087 17.08 5.4.11 0.040 0.063 17.06 5.4.10 0.023 0.077 17.16 5.4.9 0.043 0.087 17.03 5.4.8 0.013 0.100 16.89 5.4.7 0.017 0.083 17.20 5.4.6 0.017 0.097 16.95 5.4.5 0.013 0.040 17.01 5.4.4 0.030 0.083 17.01 5.4.3 0.037 0.090 16.95 5.4.2 0.030 0.043 16.91 5.4.1 0.380 0.060 16.95 5.4.0 0.350 0.047 16.43
preferences:dark mode live preview
39.5 ms | 401 KiB | 5 Q