3v4l.org

run code in 300+ PHP versions simultaneously
<?php session_start(); include("config.php"); mysql_query("SET NAMES 'utf8'"); mysql_query("SET CHARACTER SET utf8"); mysql_query("SET COLLATION_CONNECTION = 'utf8_bin'"); $query = mysql_query("select * from settings"); while($print = mysql_fetch_array($query)){ $mail = $print['email']; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta name="description" content="<?php echo $print['description']; ?>" /> <meta name="keywords" content="<?php echo $print['keywords']; ?>" /> <meta name="author" content="Php Scriptlerim, www.phpscriptlerim.com" /> <title><?php echo $print['title']; ?></title> <link rel="stylesheet" media="screen,projection" type="text/css" href="css/reset.css" /> <!--[if lte IE 6]><link rel="stylesheet" type="text/css" href="css/main-msie.css" /><![endif]--> <link rel="stylesheet" media="print" type="text/css" href="css/print.css" /> <link rel="stylesheet" media="screen,projection" type="text/css" href="color/<?php echo $print['color']; ?>/css/style.css" /> <link rel="stylesheet" media="screen,projection" type="text/css" href="color/<?php echo $print['color']; ?>/css/main.css" /> </head> <body> <div id="main"> <div id="header"> <h1 id="logo"><a href="index<?php echo $print['seolink']; ?>"><img src="<?php echo $print['logo']; ?>" alt="" /></a></h1> <hr class="noscreen" /> <div id="nav" style="font-size:20pt;"> <img src="images/Telephone-icon.png" alt="Telefon" align="left" /> &nbsp; <?php echo $print['telefon']; ?><br><br> </div> </div> <div id="tray"> <ul> <li id="tray-active"><a href="index<?php echo $print['seolink']; ?>">Anasayfa</a></li> <?php $ppp = mysql_query("select * from pages where durum='0' order by sira desc"); while($nop = mysql_fetch_array($ppp)){ if($print['seolink']==".php"){ ?> <li><a href="pages.php?url=<?php echo $nop['sefurl']; ?>"><?php echo $nop['title']; ?></a></li> <?php }elseif($print['seolink']==".html"){ ?> <li><a href="sayfa-<?php echo $nop['sefurl']; ?>.html"><?php echo $nop['title']; ?></a></li><?php } } ?> <li><a href="siparisver<?php echo $print['seolink']; ?>">Sipariş Ver</a></li> <li><a href="odemebildirimi<?php echo $print['seolink']; ?>">Ödeme Bildirimi</a></li> <li><a href="blog<?php echo $print['seolink']; ?>">Blog</a></li> <li><a href="iletisim<?php echo $print['seolink']; ?>">İletişim</a></li> </ul> <div id="search" class="box"> <a href="<?php echo $print['facebook']; ?>" target="_blank"><img src="images/1364326420_facebook_02.png" alt="Facebook" title="Facebook" /></a> <a href="<?php echo $print['twitter']; ?>" target="_blank"><img src="images/1364326424_twitter_02.png" alt="Twitter" title="Twitter" /></a> </div> <hr class="noscreen" /> </div> <div id="col-top"></div> <div id="col" class="box"> <?php $aaa = mysql_query("select * from bloks where id='1'"); while($bbb = mysql_fetch_array($aaa)){ ?> <div id="col-browser"><img src="<?php echo $bbb['picture']; ?>" width="255" height="177" alt="" /></div> <div id="col-text"> <h2><?php echo $bbb['title']; ?></h2> <?php echo $bbb['content']; ?> <p id="btns" align="right"> <a href="yorumlar<?php echo $print['seolink']; ?>" class="buton yesil">Yorumlar</a> &nbsp;&nbsp;&nbsp;&nbsp; <a href="siparisver<?php echo $print['seolink']; ?>" class="buton kirmizi">Sipariş Ver</a> </p> </div> <?php } ?> </div> <div id="col-bottom"></div> <hr class="noscreen" /> <div id="cols3-top"></div> <div id="cols3" class="box"> <div class="col"> <?php $axa = mysql_query("select * from bloks where id='2'"); while($bxb = mysql_fetch_array($axa)){ ?> <h3><?php echo $bxb['title']; ?></h3> <p class="nom t-center"><img src="<?php echo $bxb['picture']; ?>" alt="" /></p> <div class="col-text"> <?php echo $bxb['content']; ?> </div> <div class="col-more"><a href="siparisver<?php echo $print['seolink']; ?>" class="buton gri">Satın Al</a></div> <?php } ?> </div> <hr class="noscreen" /> <div class="col"> <?php $aya = mysql_query("select * from bloks where id='3'"); while($byb = mysql_fetch_array($aya)){ ?> <h3><?php echo $byb['title']; ?></h3> <p class="nom t-center"><img src="<?php echo $byb['picture']; ?>" alt="" /></p> <div class="col-text"> <?php echo $byb['content']; ?> </div> <div class="col-more"><a href="siparisver<?php echo $print['seolink']; ?>" class="buton gri">Satın Al</a></div> <?php } ?> </div> <hr class="noscreen" /> <div class="col last"> <?php $ata = mysql_query("select * from bloks where id='4'"); while($btb = mysql_fetch_array($ata)){ ?> <h3><?php echo $btb['title']; ?></h3> <p class="nom t-center"><img src="<?php echo $btb['picture']; ?>" alt="" /></p> <div class="col-text"> <?php echo $btb['content']; ?> </div> <div class="col-more"><a href="siparisver<?php echo $print['seolink']; ?>" class="buton gri">Satın Al</a></div> <?php } ?> </div> <hr class="noscreen" /> </div> <div id="cols3-bottom"></div> <div id="cols2-top"></div> <div id="cols2" class="box"> <div id="col-left"> <div class="title"> <span class="f-right"><a href="#" class="ico-rss">RSS</a></span> <h4>Blog</h4> </div> <ul class="ul-list nomb"> <?php $blog = mysql_query("select * from blog order by id desc"); while($yxz = mysql_fetch_array($blog)){ $yorum_za=strtotime($yxz['tarih']); $ay=array('','Ocak','Şubat','Mart','Nisan','Mayıs','Haziran','Temmuz','Ağustos','Eylül','Ekim','Kasım','Aralık'); $yorum_z=date('d',$yorum_za)." ".$ay[date("n",$yorum_za)]." ".date('Y', $yorum_za); if($print['seolink']==".php"){ ?> <li><span class="f-right"><a href="single.php?url=<?php echo $yxz['sefurl']; ?>" class="ico-comment"><?php echo $yxz['yorum']; ?> Yorum</a></span> <span class="date"><?php echo $yorum_z; ?></span> <a href="single.php?url=<?php echo $yxz['sefurl']; ?>" class="article"><?php echo $yxz['title']; ?></a></li> <?php }elseif($print['seolink']==".html"){ ?> <li><span class="f-right"><a href="blog-<?php echo $yxz['sefurl']; ?>.html" class="ico-comment"><?php echo $yxz['yorum']; ?> Yorum</a></span> <span class="date"><?php echo $yorum_z; ?></span> <a href="blog-<?php echo $yxz['sefurl']; ?>.html" class="article"><?php echo $yxz['title']; ?></a></li> <?php } } ?> </ul> </div> <hr class="noscreen" /> <div id="col-right"> <h4><span>Kullanıcı Yorumları</span></h4> <div class="box"> <ul class="ul-01"> <?php $qqq = mysql_query("select * from yorumlar where onay='1' order by rand() limit 0,1"); while($rrr = mysql_fetch_array($qqq)){ ?> <li><a href="yorumlar<?php echo $print['seolink']; ?>"> <?php $detay = $rrr['yorum']; $uzunluk = strlen($detay); $limit = 100; if ($uzunluk > $limit) { $detay = substr($detay,0,$limit) . "..."; } echo $detay; ?> </a></li> <?php } ?> </ul> </div> </div> </div> <div id="cols2-bottom"></div> <div align="center"><img src="images/dip.png" alt="" /></div> <div id="footer"> <p align="center"> <?php $pxp = mysql_query("select * from pages where durum='1' order by sira desc"); while($nxp = mysql_fetch_array($pxp)){ if($print['seolink']==".php"){ ?> <a href="pages.php?url=<?php echo $nxp['sefurl']; ?>"><?php echo $nxp['title']; ?></a> | <?php }elseif($print['seolink']==".html"){ ?> <a href="sayfa-<?php echo $nxp['sefurl']; ?>.html"><?php echo $nxp['title']; ?></a> | <?php } } ?> </p><br><br> <p class="f-right">Powered by : <a href="http://www.phpscriptlerim.com" target="_blank">Php Scriptlerim</a> &reg;</p> <p>&copy; <?php echo date('Y'); ?> <strong><?php echo $print['title']; ?></strong>. Tüm hakları saklıdır.</p> </div> </div> <?php include("plugin/bizsizicalling.php"); ?> </body> </html> <?php } ?>

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).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.60.0120.00916.73
8.3.50.0290.01122.05
8.3.40.0080.00819.03
8.3.30.0070.00718.92
8.3.20.0080.00020.41
8.3.10.0080.00023.64
8.3.00.0040.00419.51
8.2.180.0130.00718.61
8.2.170.0150.00022.96
8.2.160.0170.00320.57
8.2.150.0030.00624.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0070.00317.75
8.2.110.0000.00819.57
8.2.100.0060.00618.05
8.2.90.0030.00519.41
8.2.80.0040.00417.97
8.2.70.0000.00817.88
8.2.60.0050.00318.05
8.2.50.0040.00418.07
8.2.40.0000.00821.04
8.2.30.0040.00720.89
8.2.20.0040.00417.91
8.2.10.0040.00418.34
8.2.00.0040.00418.32
8.1.280.0110.00725.92
8.1.270.0060.00323.91
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00619.25
8.1.230.0120.00017.77
8.1.220.0040.00417.78
8.1.210.0040.00418.77
8.1.200.0030.00717.47
8.1.190.0040.00417.35
8.1.180.0000.00818.10
8.1.170.0040.00419.18
8.1.160.0040.00422.24
8.1.150.0040.00418.95
8.1.140.0040.00419.64
8.1.130.0040.00417.89
8.1.120.0000.00717.64
8.1.110.0080.00017.51
8.1.100.0040.00417.49
8.1.90.0000.00717.55
8.1.80.0080.00017.61
8.1.70.0000.00817.58
8.1.60.0040.00417.77
8.1.50.0040.00417.71
8.1.40.0090.00017.55
8.1.30.0060.00317.74
8.1.20.0040.00417.65
8.1.10.0040.00417.75
8.1.00.0040.00417.57
8.0.300.0040.00418.77
8.0.290.0070.00017.00
8.0.280.0040.00418.64
8.0.270.0030.00317.59
8.0.260.0000.00717.44
8.0.250.0050.00317.24
8.0.240.0030.00317.16
8.0.230.0080.00017.12
8.0.220.0000.00717.25
8.0.210.0000.00717.14
8.0.200.0000.00717.20
8.0.190.0000.00917.11
8.0.180.0000.00717.22
8.0.170.0000.00817.23
8.0.160.0030.00617.18
8.0.150.0040.00417.11
8.0.140.0040.00417.21
8.0.130.0030.00313.54
8.0.120.0050.00317.14
8.0.110.0000.00717.09
8.0.100.0000.00817.13
8.0.90.0050.00317.14
8.0.80.0070.01017.15
8.0.70.0030.00517.05
8.0.60.0040.00417.04
8.0.50.0000.00717.02
8.0.30.0100.01017.14
8.0.20.0130.00717.40
8.0.10.0040.00417.00
8.0.00.0150.00516.91
7.4.330.0000.00515.08
7.4.320.0030.00316.76
7.4.300.0040.00416.58
7.4.290.0070.00016.75
7.4.280.0040.00416.73
7.4.270.0000.00816.65
7.4.260.0000.00816.76
7.4.250.0080.00016.72
7.4.240.0040.00416.73
7.4.230.0000.00716.52
7.4.220.0030.01416.83
7.4.210.0000.01416.80
7.4.200.0000.00716.68
7.4.160.0180.00416.79
7.4.150.0150.00317.40
7.4.140.0090.01317.86
7.4.130.0120.00616.71
7.4.120.0140.00416.82
7.4.110.0090.01216.67
7.4.100.0090.00916.64
7.4.90.0090.00916.79
7.4.80.0090.00919.39
7.4.70.0030.01416.78
7.4.60.0100.00716.76
7.4.50.0030.00616.33
7.4.40.0170.00016.82
7.4.30.0120.00616.65
7.4.00.0060.00915.11
7.3.330.0030.00313.33
7.3.320.0030.00313.31
7.3.310.0050.00316.34
7.3.300.0000.00816.38
7.3.290.0090.00516.47
7.3.280.0120.00516.54
7.3.270.0070.01017.40
7.3.260.0130.01316.68
7.3.250.0150.00416.50
7.3.240.0120.00916.60
7.3.230.0100.00716.52
7.3.210.0030.01316.62
7.3.200.0100.00716.66
7.3.190.0060.01216.45
7.3.180.0030.01316.59
7.3.170.0030.01916.47
7.3.160.0120.00416.52
7.3.120.0100.01014.95
7.3.110.0130.00615.09
7.3.100.0030.01714.97
7.3.90.0100.00315.01
7.3.80.0000.01515.27
7.3.70.0050.00514.93
7.3.60.0060.00814.77
7.3.50.0090.00415.08
7.3.40.0090.00014.86
7.3.30.0060.00614.84
7.3.20.0090.00616.70
7.3.10.0040.00816.58
7.3.00.0100.00316.72
7.2.330.0130.00416.48
7.2.320.0060.01316.74
7.2.310.0080.00816.51
7.2.300.0130.00716.48
7.2.290.0140.00416.79
7.2.250.0000.01915.19
7.2.240.0030.01615.03
7.2.230.0030.01015.09
7.2.220.0070.01115.09
7.2.210.0060.01315.34
7.2.200.0040.01114.79
7.2.190.0100.00315.16
7.2.180.0000.01415.12
7.2.170.0030.00715.09
7.2.160.0030.00615.20
7.2.150.0100.00316.78
7.2.140.0000.00916.54
7.2.130.0120.00316.83
7.2.120.0040.01116.91
7.2.110.0060.01016.66
7.2.100.0050.00516.76
7.2.90.0110.00317.04
7.2.80.0030.00717.04
7.2.70.0030.01016.83
7.2.60.0080.00616.95
7.2.50.0040.00817.03
7.2.40.0040.01116.93
7.2.30.0030.01317.04
7.2.20.0130.00316.86
7.2.10.0110.00417.04
7.2.00.0050.01018.12
7.1.330.0030.01615.65
7.1.320.0100.00715.71
7.1.310.0060.00615.45
7.1.300.0080.00015.79
7.1.290.0030.01415.70
7.1.280.0030.00515.59
7.1.270.0120.00315.50
7.1.260.0080.00415.79
7.1.250.0000.00815.95
7.1.240.0130.00315.93
7.1.230.0060.00315.77
7.1.220.0000.01115.89
7.1.210.0000.01215.82
7.1.200.0030.00915.58
7.1.190.0030.01015.62
7.1.180.0060.00315.82
7.1.170.0060.00615.73
7.1.160.0000.01415.80
7.1.150.0030.00615.72
7.1.140.0030.00615.92
7.1.130.0120.00315.83
7.1.120.0040.00815.85
7.1.110.0070.00715.82
7.1.100.0060.00916.66
7.1.90.0120.00615.66
7.1.80.0080.00815.79
7.1.70.0050.00716.29
7.1.60.0080.01217.63
7.1.50.0020.01316.24
7.1.40.0100.00715.84
7.1.30.0040.01115.77
7.1.20.0060.00915.79
7.1.10.0000.01315.82
7.1.00.0030.04219.02
7.0.330.0090.00315.07
7.0.320.0090.00615.00
7.0.310.0040.00815.33
7.0.300.0060.00315.31
7.0.290.0060.00915.48
7.0.280.0090.00315.54
7.0.270.0030.00515.40
7.0.260.0030.01015.40
7.0.250.0030.01015.30
7.0.240.0070.00715.43
7.0.230.0000.01715.04
7.0.220.0030.01015.31
7.0.210.0070.00715.25
7.0.200.0080.00815.19
7.0.190.0000.00815.13
7.0.180.0070.00315.26
7.0.170.0040.01115.37
7.0.160.0030.00815.15
7.0.150.0060.00615.47
7.0.140.0060.00315.32
7.0.130.0060.00615.20
7.0.120.0060.00615.51
7.0.110.0030.00615.21
7.0.100.0050.04117.83
7.0.90.0020.04017.70
7.0.80.0040.04517.68
7.0.70.0030.02817.73
7.0.60.0100.02817.71
7.0.50.0060.04117.96
7.0.40.0080.02716.66
7.0.30.0050.02716.83
7.0.20.0020.04416.73
7.0.10.0050.04516.63
7.0.00.0070.03416.82
5.6.400.0040.01014.38
5.6.390.0070.00714.43
5.6.380.0000.01514.22
5.6.370.0040.00414.30
5.6.360.0030.00614.58
5.6.350.0100.00314.11
5.6.340.0090.00614.23
5.6.330.0000.00814.13
5.6.320.0130.00614.36
5.6.310.0100.00314.30
5.6.300.0090.00614.28
5.6.290.0030.01014.21
5.6.280.0050.03317.61
5.6.270.0060.00914.28
5.6.260.0060.00613.93
5.6.250.0080.04217.50
5.6.240.0100.04217.36
5.6.230.0130.02617.38
5.6.220.0060.03117.47
5.6.210.0070.02617.38
5.6.200.0120.03417.75
5.6.190.0120.04417.66
5.6.180.0090.04717.66
5.6.170.0080.04517.68
5.6.160.0100.04317.60
5.6.150.0050.04517.54
5.6.140.0050.02317.70
5.6.130.0050.04817.65
5.6.120.0050.02617.65
5.6.110.0070.02717.61
5.6.100.0070.04917.68
5.6.90.0050.04517.74
5.6.80.0070.02617.40
5.6.70.0060.04517.19
5.6.60.0030.03817.21
5.6.50.0050.04217.46
5.6.40.0060.03817.34
5.6.30.0100.04017.28
5.6.20.0030.03717.23
5.6.10.0090.03817.41
5.6.00.0050.03017.31
5.5.380.0090.02917.21
5.5.370.0090.03117.23
5.5.360.0050.02917.19
5.5.350.0100.03917.35
5.5.340.0080.03217.46
5.5.330.0080.04317.45
5.5.320.0070.03517.46
5.5.310.0020.03317.42
5.5.300.0080.02317.36
5.5.290.0060.03017.30
5.5.280.0100.04517.34
5.5.270.0070.04917.46
5.5.260.0040.04717.51
5.5.250.0050.02717.37
5.5.240.0070.02517.25
5.5.230.0070.03917.05
5.5.220.0100.03517.19
5.5.210.0020.04717.27
5.5.200.0070.03717.16
5.5.190.0060.03817.02
5.5.180.0070.04417.14
5.5.170.0060.00613.93
5.5.160.0030.04417.27
5.5.150.0080.03317.14
5.5.140.0060.03417.23
5.5.130.0100.04117.05
5.5.120.0080.04117.03
5.5.110.0080.04317.14
5.5.100.0050.03817.12
5.5.90.0080.03517.16
5.5.80.0080.02317.09
5.5.70.0030.04517.08
5.5.60.0050.04517.21
5.5.50.0080.03917.09
5.5.40.0050.02316.86
5.5.30.0030.04017.04
5.5.20.0080.03817.04
5.5.10.0070.04517.10
5.5.00.0020.05017.04
5.4.450.0100.04815.11
5.4.440.0050.03214.97
5.4.430.0070.02615.08
5.4.420.0050.04715.01
5.4.410.0030.04715.08
5.4.400.0030.04114.93
5.4.390.0000.03914.94
5.4.380.0000.04514.95
5.4.370.0030.03415.00
5.4.360.0060.04314.79
5.4.350.0070.02714.82
5.4.340.0030.03714.86
5.4.330.0000.00910.79
5.4.320.0080.02314.96
5.4.310.0120.03514.87
5.4.300.0050.03914.96
5.4.290.0020.04314.97
5.4.280.0100.03515.01
5.4.270.0020.02714.92
5.4.260.0070.03814.79
5.4.250.0030.03915.00
5.4.240.0090.03714.96
5.4.230.0080.03815.01
5.4.220.0070.04214.93
5.4.210.0030.03215.06
5.4.200.0060.03315.00
5.4.190.0050.02514.95
5.4.180.0070.03614.91
5.4.170.0030.04615.00
5.4.160.0070.02314.92
5.4.150.0030.04214.95
5.4.140.0040.03513.49
5.4.130.0090.03513.55
5.4.120.0060.02813.71
5.4.110.0030.03813.54
5.4.100.0030.03913.69
5.4.90.0020.03713.61
5.4.80.0020.04213.59
5.4.70.0030.04513.63
5.4.60.0070.04013.62
5.4.50.0100.03713.52
5.4.40.0030.02713.60
5.4.30.0050.04213.52
5.4.20.0030.03613.70
5.4.10.0080.03513.53
5.4.00.0030.03113.28

preferences:
57.42 ms | 401 KiB | 5 Q