3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_xml = "<haberler>"; $resim = mysql_query("SELECT * FROM " . $table_prefix . "postmeta LEFT OUTER JOIN " . $table_prefix . "posts ON " . $table_prefix . "postmeta.post_id = " . $table_prefix . "posts.id Where " . $table_prefix . "postmeta.meta_key='manset' ORDER By " . $table_prefix . "postmeta.post_id DESC Limit 0,7"); for ($j = 0; $niphell = mysql_fetch_array($resim); $j++) { $_xml .= "<haber><baslik>" . $niphell[post_title] . "</baslik><icerik>" . htmlspecialchars(substr(strip_tags($niphell[post_content]), 0, 150)) . "</icerik><img>" . $niphell[meta_value] . "</img><link>" . get_permalink($niphell[post_id]) . "</link></haber>"; }; $_xml .= "</haberler>"; $dosya = "wp-content/themes/" . get_template() . "/manset/haberler.xml"; $file = fopen($dosya, 'w+') or die("Dosya açılamadı!"); fwrite($file, $_xml); fclose($file); echo '<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="970" height="290"> <param name="movie" value="'.get_bloginfo('template_url').'/manset/manset.swf"> <param name="quality" value="High"> <param name="base" value="'.get_bloginfo('template_url').'/manset/manset.swf"> <param name="wmode" value="transparent"> <embed pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="970" height="290" quality="High" base="'.get_bloginfo('template_url').'/manset/manset.swf" src="'.get_bloginfo('template_url').'/manset/manset.swf" wmode="transparent"></object>'; ?>

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.0070.01118.31
8.3.50.0090.01121.91
8.3.40.0110.00418.84
8.3.30.0100.00319.09
8.3.20.0070.00020.16
8.3.10.0040.00423.66
8.3.00.0040.00420.87
8.2.180.0100.01018.29
8.2.170.0060.00922.96
8.2.160.0040.01120.57
8.2.150.0060.00324.18
8.2.140.0070.00024.66
8.2.130.0030.00926.16
8.2.120.0080.00021.13
8.2.110.0030.00722.25
8.2.100.0060.00617.78
8.2.90.0030.00618.09
8.2.80.0000.00819.82
8.2.70.0050.00317.63
8.2.60.0080.00017.80
8.2.50.0090.00018.07
8.2.40.0000.01019.88
8.2.30.0040.00418.11
8.2.20.0000.00819.34
8.2.10.0050.00318.05
8.2.00.0040.00417.87
8.1.280.0120.00925.92
8.1.270.0090.00022.16
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00323.80
8.1.230.0080.00422.74
8.1.220.0080.00017.74
8.1.210.0050.00318.77
8.1.200.0050.00317.23
8.1.190.0050.00317.23
8.1.180.0060.00618.10
8.1.170.0080.00018.57
8.1.160.0060.00321.96
8.1.150.0040.00418.73
8.1.140.0040.00417.55
8.1.130.0030.00317.88
8.1.120.0020.00517.44
8.1.110.0050.00217.33
8.1.100.0030.00517.48
8.1.90.0040.00417.46
8.1.80.0040.00417.34
8.1.70.0000.00717.37
8.1.60.0040.00417.64
8.1.50.0040.00417.62
8.1.40.0030.00517.47
8.1.30.0040.00417.59
8.1.20.0000.00817.61
8.1.10.0040.00417.61
8.1.00.0040.00417.52
8.0.300.0080.00019.99
8.0.290.0030.00616.75
8.0.280.0040.00418.35
8.0.270.0040.00417.18
8.0.260.0000.00718.45
8.0.250.0070.00017.02
8.0.240.0040.00416.95
8.0.230.0040.00416.92
8.0.220.0000.00717.01
8.0.210.0030.00316.89
8.0.200.0050.00317.00
8.0.190.0000.00716.92
8.0.180.0040.00416.84
8.0.170.0000.00816.86
8.0.160.0070.00017.07
8.0.150.0070.00016.88
8.0.140.0110.00016.92
8.0.130.0050.00013.34
8.0.120.0040.00416.83
8.0.110.0040.00416.94
8.0.100.0070.00016.77
8.0.90.0040.00416.92
8.0.80.0120.00916.90
8.0.70.0040.00416.97
8.0.60.0000.00817.06
8.0.50.0080.00016.95
8.0.30.0080.01117.07
8.0.20.0130.00517.40
8.0.10.0040.00416.90
8.0.00.0110.00716.90
7.4.330.0050.00015.00
7.4.320.0030.00316.50
7.4.300.0030.00616.50
7.4.290.0000.00716.48
7.4.280.0040.00416.48
7.4.270.0000.00716.63
7.4.260.0110.00016.65
7.4.250.0000.00816.61
7.4.240.0030.00416.65
7.4.230.0000.00816.55
7.4.220.0070.00916.59
7.4.210.0060.00916.66
7.4.200.0000.00816.46
7.4.160.0090.00616.58
7.4.150.0030.01417.40
7.4.140.0120.00517.86
7.4.130.0090.01016.39
7.4.120.0160.00116.55
7.4.110.0130.00316.47
7.4.100.0060.01116.61
7.4.90.0100.00716.49
7.4.80.0150.00919.39
7.4.70.0100.01016.62
7.4.60.0130.00416.59
7.4.50.0000.00816.65
7.4.40.0140.00316.66
7.4.30.0100.00716.70
7.4.00.0100.00615.12
7.3.330.0000.00513.03
7.3.320.0050.00013.14
7.3.310.0030.00316.30
7.3.300.0070.00016.21
7.3.290.0070.00716.34
7.3.280.0070.01116.31
7.3.270.0140.03317.40
7.3.260.0070.01016.42
7.3.250.0080.01016.38
7.3.240.0030.01416.39
7.3.230.0130.00316.39
7.3.210.0070.01016.45
7.3.200.0100.00619.39
7.3.190.0090.00916.41
7.3.180.0040.01816.23
7.3.170.0040.01516.44
7.3.160.0030.01416.42
7.3.120.0070.01015.00
7.2.330.0150.00916.59
7.2.320.0140.00316.74
7.2.310.0100.00716.25
7.2.300.0030.01416.54
7.2.290.0160.00616.57
7.2.60.0110.00416.97
7.2.00.0000.01119.26
7.1.200.0040.00815.71
7.1.100.0040.00917.77
7.1.70.0000.00716.78
7.1.60.0100.01419.70
7.1.50.0140.01116.77
7.1.00.0000.07722.33
7.0.200.0060.00916.76
7.0.140.0000.07321.96
7.0.100.0070.07020.11
7.0.90.0170.08319.96
7.0.80.0130.04019.95
7.0.70.0030.06319.89
7.0.60.0030.04720.00
7.0.50.0070.09020.39
7.0.40.0130.06320.08
7.0.30.0100.08720.10
7.0.20.0070.08320.13
7.0.10.0200.07320.04
7.0.00.0100.08020.10
5.6.280.0030.07321.14
5.6.250.0030.06020.58
5.6.240.0100.07020.64
5.6.230.0070.03720.54
5.6.220.0200.06720.75
5.6.210.0170.04320.76
5.6.200.0100.08320.95
5.6.190.0070.08321.02
5.6.180.0030.09021.02
5.6.170.0100.08020.95
5.6.160.0000.08321.12
5.6.150.0100.04721.04
5.6.140.0000.08321.15
5.6.130.0100.08721.07
5.6.120.0070.04721.05
5.6.110.0070.09021.05
5.6.100.0230.08021.02
5.6.90.0070.08721.01
5.6.80.0030.04320.46
5.6.70.0130.07720.46
5.6.60.0100.03720.32
5.6.50.0100.06720.44
5.6.40.0130.03720.32
5.6.30.0070.07720.47
5.6.20.0030.08720.38
5.6.10.0100.07720.30
5.6.00.0030.06720.38
5.5.380.0030.07720.50
5.5.370.0070.06720.48
5.5.360.0000.04020.45
5.5.350.0030.06020.38
5.5.340.0000.07320.94
5.5.330.0100.07320.91
5.5.320.0130.03320.90
5.5.310.0070.09020.90
5.5.300.0070.08320.87
5.5.290.0030.08020.93
5.5.280.0030.08320.90
5.5.270.0070.08720.89
5.5.260.0070.05720.89
5.5.250.0200.05320.60
5.5.240.0130.05320.31
5.5.230.0130.04020.31
5.5.220.0100.07020.26
5.5.210.0170.04020.12
5.5.200.0030.04720.12
5.5.190.0070.08020.23
5.5.180.0070.07020.23
5.5.160.0130.06720.22
5.5.150.0070.04020.18
5.5.140.0030.05320.11
5.5.130.0100.07320.27
5.5.120.0070.06020.26
5.5.110.0070.08320.24
5.5.100.0130.06020.18
5.5.90.0130.04020.18
5.5.80.0100.07020.07
5.5.70.0130.07320.08
5.5.60.0070.04020.06
5.5.50.0200.03720.16
5.5.40.0100.06720.07
5.5.30.0070.04020.16
5.5.20.0000.04720.06
5.5.10.0170.06319.98
5.5.00.0070.04020.01
5.4.450.0130.04019.39
5.4.440.0000.09019.55
5.4.430.0170.07019.25
5.4.420.0030.08019.13
5.4.410.0100.06719.25
5.4.400.0100.06319.06
5.4.390.0170.03319.03
5.4.380.0100.03719.12
5.4.370.0070.05719.09
5.4.360.0030.04319.07
5.4.350.0030.04318.90
5.4.340.0130.05019.13
5.4.320.0200.07719.07
5.4.310.0170.05718.81
5.4.300.0030.04019.04
5.4.290.0070.07718.96
5.4.280.0100.03718.92
5.4.270.0030.08019.18
5.4.260.0100.07018.81
5.4.250.0070.07019.04
5.4.240.0200.05718.93
5.4.230.0070.04018.96
5.4.220.0030.04719.22
5.4.210.0030.06718.80
5.4.200.0070.06319.13
5.4.190.0170.06319.23
5.4.180.0100.04018.89
5.4.170.0000.05019.08
5.4.160.0070.06319.03
5.4.150.0000.05019.10
5.4.140.0130.07016.07
5.4.130.0100.05716.36
5.4.120.0030.06716.39
5.4.110.0000.07316.23
5.4.100.0100.05016.30
5.4.90.0070.04316.21
5.4.80.0030.03716.29
5.4.70.0030.07316.38
5.4.60.0130.04016.32
5.4.50.0100.07016.31
5.4.40.0000.05316.30
5.4.30.0070.06016.34
5.4.20.0000.04016.20
5.4.10.0030.07016.21
5.4.00.0100.04315.73
5.3.290.0070.07014.51
5.3.280.0030.08314.61
5.3.270.0030.04014.63
5.3.260.0070.07714.57
5.3.250.0000.04314.61
5.3.240.0100.07314.48
5.3.230.0130.07314.61
5.3.220.0100.07014.59
5.3.210.0030.04714.44
5.3.200.0070.07714.57
5.3.190.0030.04314.56
5.3.180.0070.06014.41
5.3.170.0100.04314.54
5.3.160.0100.06014.56
5.3.150.0070.07314.53
5.3.140.0100.05714.57
5.3.130.0030.05014.55
5.3.120.0070.05314.38
5.3.110.0000.04314.52
5.3.100.0030.04314.04
5.3.90.0000.08014.03
5.3.80.0030.08014.02
5.3.70.0100.07013.89
5.3.60.0200.03013.99
5.3.50.0030.05713.81
5.3.40.0070.07313.86
5.3.30.0030.04013.68
5.3.20.0030.07013.64
5.3.10.0070.04013.61
5.3.00.0030.05313.51
5.2.170.0030.07311.19
5.2.160.0030.05311.22
5.2.150.0070.06311.22
5.2.140.0170.04311.02
5.2.130.0070.06711.04
5.2.120.0030.03011.07
5.2.110.0030.05311.07
5.2.100.0070.06011.18
5.2.90.0030.03011.14
5.2.80.0030.06310.93
5.2.70.0030.03310.93
5.2.60.0030.04711.06
5.2.50.0000.04011.04
5.2.40.0030.03011.01
5.2.30.0000.04010.95
5.2.20.0000.06311.02
5.2.10.0070.04710.91
5.2.00.0000.03310.65
5.1.60.0070.04010.07
5.1.50.0070.0639.99
5.1.40.0000.03310.04
5.1.30.0070.05310.40
5.1.20.0030.04310.22
5.1.10.0100.0339.91
5.1.00.0070.05010.07
5.0.50.0030.0479.57
5.0.40.0130.0139.57
5.0.30.0000.0579.57
5.0.20.0070.0239.57
5.0.10.0070.0379.57
5.0.00.0030.0609.57
4.4.90.0030.0179.57
4.4.80.0030.0279.57
4.4.70.0000.0409.57
4.4.60.0000.0209.57
4.4.50.0000.0209.57
4.4.40.0000.0539.57
4.4.30.0030.0209.57
4.4.20.0030.0379.57
4.4.10.0030.0339.57
4.4.00.0030.0479.57
4.3.110.0030.0179.57
4.3.100.0000.0239.57
4.3.90.0000.0379.57
4.3.80.0070.0209.57
4.3.70.0030.0339.57
4.3.60.0030.0209.57
4.3.50.0070.0139.57
4.3.40.0000.0509.57
4.3.30.0000.0179.57
4.3.20.0030.0379.57
4.3.10.0030.0409.57
4.3.00.0070.0339.57

preferences:
46.46 ms | 401 KiB | 5 Q