3v4l.org

run code in 300+ PHP versions simultaneously
<?php function is_wptouch_user_agent() { // This needs to match your WP Touch list!! $useragents = array( "iphone", // Apple iPhone "ipod", // Apple iPod touch "aspen", // iPhone simulator "dream", // Pre 1.5 Android "android", // 1.5+ Android "cupcake", // 1.5+ Android "blackberry9500", // Storm "blackberry9530", // Storm "opera mini", // Experimental "webos", // Experimental "incognito", // Other iPhone browser "webmate" // Other iPhone browser ); $browser_agent = "shit"; $is_wptouch_ua = false; foreach ( $useragents as $useragent ) { if ( preg_match( "#$useragent#i", $browser_agent ) ) { $is_wptouch_ua = true; break; } } return($is_wptouch_ua); } global $batcache; $batcache->unique['wptouch'] = is_wptouch_user_agent(); echo md5(serialize($batcache->unique));

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.40.0080.00818.97
8.3.30.0040.01119.02
8.3.20.0040.00420.21
8.3.10.0030.00623.48
8.3.00.0030.00519.50
8.2.170.0140.00722.96
8.2.160.0070.01020.35
8.2.150.0000.00824.18
8.2.140.0060.00324.66
8.2.130.0080.00026.16
8.2.120.0070.00022.38
8.2.110.0070.00322.25
8.2.100.0120.00018.03
8.2.90.0000.00819.22
8.2.80.0040.00417.97
8.2.70.0030.00617.75
8.2.60.0060.00318.04
8.2.50.0030.00519.73
8.2.40.0040.00418.05
8.2.30.0000.00818.16
8.2.20.0000.00717.99
8.2.10.0040.00418.07
8.2.00.0030.00617.86
8.1.270.0050.00323.96
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0040.00423.79
8.1.230.0110.00319.08
8.1.220.0040.00417.79
8.1.210.0040.00418.77
8.1.200.0070.00317.48
8.1.190.0040.00417.53
8.1.180.0040.00418.10
8.1.170.0040.00418.73
8.1.160.0040.00422.07
8.1.150.0040.00418.82
8.1.140.0080.00017.68
8.1.130.0030.00317.98
8.1.120.0050.00317.61
8.1.110.0000.00817.67
8.1.100.0000.00717.69
8.1.90.0040.00417.66
8.1.80.0040.00417.62
8.1.70.0040.00417.54
8.1.60.0090.00017.71
8.1.50.0040.00417.65
8.1.40.0040.00417.63
8.1.30.0050.00517.80
8.1.20.0000.00817.78
8.1.10.0050.00317.76
8.1.00.0030.00517.70
8.0.300.0040.00418.77
8.0.290.0000.00717.12
8.0.280.0070.00018.50
8.0.270.0030.00317.23
8.0.260.0000.00717.09
8.0.250.0030.00317.10
8.0.240.0000.00717.24
8.0.230.0070.00017.21
8.0.220.0070.00017.15
8.0.210.0040.00417.13
8.0.200.0070.00017.12
8.0.190.0080.00017.21
8.0.180.0040.00417.13
8.0.170.0000.00717.09
8.0.160.0040.00417.01
8.0.150.0070.00017.10
8.0.140.0040.00417.02
8.0.130.0030.00313.60
8.0.120.0050.00316.99
8.0.110.0030.00517.04
8.0.100.0000.00717.24
8.0.90.0040.00417.20
8.0.80.0040.01117.13
8.0.70.0040.00417.10
8.0.60.0000.00717.16
8.0.50.0040.00417.12
8.0.30.0100.01017.27
8.0.20.0150.00517.47
8.0.10.0000.00717.12
8.0.00.0070.01417.01
7.4.330.0030.00315.13
7.4.320.0030.00316.73
7.4.300.0030.00316.63
7.4.290.0030.00316.73
7.4.280.0000.00816.82
7.4.270.0000.00716.85
7.4.260.0100.00016.80
7.4.250.0000.00816.63
7.4.240.0010.00616.71
7.4.230.0070.00016.86
7.4.220.0070.01116.73
7.4.210.0080.00816.71
7.4.200.0000.00816.64
7.4.190.0000.00816.60
7.4.160.0070.01016.78
7.4.150.0070.01017.40
7.4.140.0160.00817.86
7.4.130.0120.00516.82
7.4.120.0140.00716.75
7.4.110.0130.01016.74
7.4.100.0150.00616.89
7.4.90.0100.01016.80
7.4.80.0120.00619.39
7.4.70.0060.01216.75
7.4.60.0100.00716.74
7.4.50.0000.00816.82
7.4.40.0070.00722.77
7.4.30.0130.01016.59
7.4.00.0060.00915.32
7.3.330.0000.00513.45
7.3.320.0020.00213.55
7.3.310.0040.00416.42
7.3.300.0050.00216.41
7.3.290.0090.00616.54
7.3.280.0080.01216.53
7.3.270.0160.00317.40
7.3.260.0070.01016.83
7.3.250.0140.00616.82
7.3.240.0000.01516.73
7.3.230.0060.01016.44
7.3.210.0150.00316.51
7.3.200.0060.01319.39
7.3.190.0090.00916.79
7.3.180.0090.00916.60
7.3.170.0000.01716.51
7.3.160.0100.00716.61
7.3.120.0070.01014.76
7.2.330.0060.01216.88
7.2.320.0110.00616.90
7.2.310.0100.00716.88
7.2.300.0090.01216.89
7.2.290.0100.00716.88
7.1.70.0000.01017.55
7.1.60.0110.01419.33
7.1.50.0110.01117.35
7.1.00.0000.08022.37
7.0.200.0050.00516.72
7.0.140.0070.07322.21
7.0.100.0070.05020.02
7.0.90.0000.08020.03
7.0.80.0100.07019.91
7.0.70.0070.07720.13
7.0.60.0070.08020.06
7.0.50.0030.08720.36
7.0.40.0070.07320.14
7.0.30.0170.06320.04
7.0.20.0100.08720.19
7.0.10.0170.07720.13
7.0.00.0130.07720.13
5.6.280.0030.07321.10
5.6.250.0030.05320.63
5.6.240.0100.07720.51
5.6.230.0130.07720.63
5.6.220.0070.07720.56
5.6.210.0170.07320.78
5.6.200.0130.08021.12
5.6.190.0130.07021.06
5.6.180.0100.08321.05
5.6.170.0100.05320.93
5.6.160.0130.08321.02
5.6.150.0100.08321.11
5.6.140.0070.06021.06
5.6.130.0030.08721.00
5.6.120.0170.06321.09
5.6.110.0130.07721.03
5.6.100.0100.08721.03
5.6.90.0000.06721.06
5.6.80.0130.08020.45
5.6.70.0170.06320.51
5.6.60.0070.03720.38
5.6.50.0100.06320.41
5.6.40.0130.06720.44
5.6.30.0070.07720.30
5.6.20.0070.06720.40
5.6.10.0130.06020.31
5.6.00.0130.04720.45
5.5.380.0030.08320.37
5.5.370.0100.07320.54
5.5.360.0100.04020.54
5.5.350.0130.06720.39
5.5.340.0130.07720.90
5.5.330.0030.07720.81
5.5.320.0100.07020.77
5.5.310.0070.04720.80
5.5.300.0030.08720.80
5.5.290.0130.06320.77
5.5.280.0100.08020.87
5.5.270.0170.05720.64
5.5.260.0030.07720.83
5.5.250.0030.05020.68
5.5.240.0030.08320.04
5.5.230.0030.06320.02
5.5.220.0130.07320.27
5.5.210.0030.07320.20
5.5.200.0000.08020.27
5.5.190.0130.07720.19
5.5.180.0130.06720.23
5.5.160.0000.09020.24
5.5.150.0130.08020.18
5.5.140.0130.06720.22
5.5.130.0030.06020.28
5.5.120.0000.04719.98
5.5.110.0200.04320.08
5.5.100.0100.07720.06
5.5.90.0130.05320.09
5.5.80.0100.06720.08
5.5.70.0100.07720.09
5.5.60.0170.04720.07
5.5.50.0130.04020.06
5.5.40.0070.07320.16
5.5.30.0030.08719.94
5.5.20.0100.08020.00
5.5.10.0130.07719.98
5.5.00.0130.07319.97
5.4.450.0130.06319.27
5.4.440.0070.04719.37
5.4.430.0100.07319.22
5.4.420.0100.06719.50
5.4.410.0170.06019.06
5.4.400.0100.04719.03
5.4.390.0030.04319.15
5.4.380.0130.06319.10
5.4.370.0100.06719.25
5.4.360.0070.05019.23
5.4.350.0100.07318.95
5.4.340.0070.07318.84
5.4.320.0070.07719.13
5.4.310.0030.08319.09
5.4.300.0200.05719.13
5.4.290.0000.08019.03
5.4.280.0070.06319.12
5.4.270.0030.08019.13
5.4.260.0070.07719.20
5.4.250.0030.07719.11
5.4.240.0100.06719.03
5.4.230.0100.06718.94
5.4.220.0070.07318.86
5.4.210.0200.07019.15
5.4.200.0130.07318.84
5.4.190.0030.05018.84
5.4.180.0100.07019.03
5.4.170.0100.07718.93
5.4.160.0030.08318.93
5.4.150.0030.07318.89
5.4.140.0000.07016.50
5.4.130.0070.07316.37
5.4.120.0070.05016.29
5.4.110.0170.06016.38
5.4.100.0170.06016.54
5.4.90.0070.06016.45
5.4.80.0070.05016.31
5.4.70.0030.04316.48
5.4.60.0030.07016.37
5.4.50.0100.07016.41
5.4.40.0030.07316.42
5.4.30.0100.03716.45
5.4.20.0100.07316.45
5.4.10.0100.07316.45
5.4.00.0100.06715.92
5.3.290.0130.07014.72
5.3.280.0070.07714.52
5.3.270.0030.08014.58
5.3.260.0070.06314.62
5.3.250.0130.05714.66
5.3.240.0130.06714.70
5.3.230.0000.07714.64
5.3.220.0100.06314.68
5.3.210.0200.06014.62
5.3.200.0130.04314.57
5.3.190.0100.05014.63
5.3.180.0070.07014.55
5.3.170.0170.06314.48
5.3.160.0000.07714.68
5.3.150.0000.07314.55
5.3.140.0130.05714.69
5.3.130.0000.07014.66
5.3.120.0000.05014.61
5.3.110.0030.07714.57
5.3.100.0030.07314.05
5.3.90.0100.06713.98
5.3.80.0070.07314.09
5.3.70.0070.04714.02
5.3.60.0030.04314.11
5.3.50.0070.03713.88
5.3.40.0100.07013.85
5.3.30.0070.04013.92
5.3.20.0070.07013.71
5.3.10.0070.07013.71
5.3.00.0100.06713.79
5.2.170.0030.06311.05
5.2.160.0070.04311.05
5.2.150.0000.07011.03
5.2.140.0100.03711.23
5.2.130.0000.05711.09
5.2.120.0000.04711.03
5.2.110.0070.05311.05
5.2.100.0100.06011.09
5.2.90.0100.05710.92
5.2.80.0030.03311.11
5.2.70.0070.06311.16
5.2.60.0100.03711.04
5.2.50.0070.05711.01
5.2.40.0030.04310.86
5.2.30.0070.03711.04
5.2.20.0030.06310.87
5.2.10.0100.05710.81
5.2.00.0030.06310.79
5.1.60.0030.05710.08
5.1.50.0070.0509.99
5.1.40.0070.05310.02
5.1.30.0000.05010.25
5.1.20.0100.05010.41
5.1.10.0070.03710.13
5.1.00.0030.05310.16
5.0.50.0030.0438.53
5.0.40.0070.0278.51
5.0.30.0070.0638.51
5.0.20.0000.0478.51
5.0.10.0070.0308.51
5.0.00.0000.0508.51
4.4.90.0000.0238.51
4.4.80.0030.0378.51
4.4.70.0000.0408.51
4.4.60.0030.0338.51
4.4.50.0000.0278.51
4.4.40.0030.0578.51
4.4.30.0030.0338.51
4.4.20.0000.0408.51
4.4.10.0030.0338.51
4.4.00.0030.0238.51
4.3.110.0070.0238.51
4.3.100.0030.0308.51
4.3.90.0000.0378.51
4.3.80.0030.0438.51
4.3.70.0030.0138.51
4.3.60.0030.0338.51
4.3.50.0000.0338.51
4.3.40.0100.0438.51
4.3.30.0030.0238.51
4.3.20.0030.0378.51
4.3.10.0000.0208.51
4.3.00.0030.0338.51

preferences:
36.09 ms | 400 KiB | 5 Q