3v4l.org

run code in 300+ PHP versions simultaneously
<?php $max = 0; $output = null; for ($i = 100; $i < 10000; $i++ ) { for ($j = 100; $j < 10000; $j++) { $mul = $i*$j; if ($mul == strrev($mul) && $mul > $max) { $max = $mul; } } } echo "$max\n";

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.0131.99018.50
8.3.30.0101.99218.83
8.3.20.0101.99320.18
8.3.10.0031.99923.66
8.3.00.0031.99819.18
8.2.170.0101.99322.96
8.2.160.0101.99222.11
8.2.150.0031.99924.18
8.2.140.0032.00024.66
8.2.130.0071.99526.16
8.2.120.0032.00317.80
8.2.110.0032.00122.25
8.2.100.0101.99117.91
8.2.90.0071.99519.27
8.2.80.0002.00217.97
8.2.70.0071.99117.38
8.2.60.0002.00617.68
8.2.50.0101.99218.07
8.2.40.0031.99918.34
8.2.30.0002.00218.12
8.2.20.0002.00117.75
8.2.10.0032.00018.21
8.2.00.0032.00017.68
8.1.270.0032.00118.92
8.1.260.0071.99726.35
8.1.250.0071.99628.09
8.1.240.0071.99723.96
8.1.230.0031.99819.16
8.1.220.0031.99917.74
8.1.210.0002.00218.77
8.1.200.0002.00317.35
8.1.190.0002.00217.23
8.1.180.0032.00018.10
8.1.170.0002.00318.59
8.1.160.0031.99822.12
8.1.150.0071.99418.95
8.1.140.0002.00019.24
8.1.130.0071.99417.89
8.1.120.0002.00317.53
8.1.110.0071.99617.57
8.1.100.0002.00217.54
8.1.90.0032.00017.37
8.1.80.0031.99917.41
8.1.70.0032.00117.55
8.1.60.0071.99617.52
8.1.50.0071.99517.58
8.1.40.0071.99717.61
8.1.30.0031.99817.66
8.1.20.0002.00417.56
8.1.10.0071.99217.61
8.1.00.0002.00417.40
8.0.300.0002.00418.77
8.0.290.0002.00316.58
8.0.280.0031.99718.38
8.0.270.0002.00117.20
8.0.260.0031.99817.11
8.0.250.0002.00116.89
8.0.240.0002.00416.78
8.0.230.0032.00016.77
8.0.220.0032.00116.71
8.0.210.0002.00216.71
8.0.200.0002.00216.79
8.0.190.0002.00316.84
8.0.180.0032.00016.82
8.0.170.0002.00216.80
8.0.160.0002.00316.76
8.0.150.0002.00216.73
8.0.140.0071.99616.69
8.0.130.0031.99913.31
8.0.120.0002.00216.82
8.0.110.0002.00416.70
8.0.100.0031.99816.67
8.0.90.0032.00116.79
8.0.80.0131.97416.73
8.0.70.0031.99916.77
8.0.60.0101.99216.62
8.0.50.0032.00016.73
8.0.30.0251.97117.13
8.0.20.0191.98017.40
8.0.10.0101.99416.91
8.0.00.0221.97516.69
7.4.330.0032.00115.14
7.4.320.0002.00316.36
7.4.300.0071.99516.36
7.4.290.0071.99416.46
7.4.280.0101.98416.41
7.4.270.0002.00416.36
7.4.260.0101.99416.45
7.4.250.0002.00316.38
7.4.240.0051.99616.41
7.4.230.0002.00216.45
7.4.220.0071.99116.47
7.4.210.0071.99916.44
7.4.200.0002.00216.27
7.4.160.0131.98216.37
7.4.150.0131.98717.40
7.4.140.0201.96417.86
7.4.130.0101.98716.45
7.4.120.0161.98516.40
7.4.110.0132.46316.40
7.4.100.0162.44216.44
7.4.90.0202.41516.49
7.4.80.0132.45419.39
7.4.70.0102.45216.24
7.4.60.0262.43716.40
7.4.50.0002.49916.52
7.4.40.0072.44716.58
7.4.30.0232.34016.42
7.4.00.0102.48514.72
7.3.330.0201.98813.06
7.3.320.0031.99913.08
7.3.310.0002.00316.08
7.3.300.0031.99816.18
7.3.290.0051.99616.24
7.3.280.0131.98516.22
7.3.270.0381.93517.40
7.3.260.0131.99716.46
7.3.250.0151.98116.55
7.3.240.0202.00116.08
7.3.230.0122.42216.39
7.3.210.0162.45516.48
7.3.200.0102.32419.39
7.3.190.0132.44916.36
7.3.180.0102.45916.46
7.3.170.0122.39216.39
7.3.160.0092.46316.15
7.2.330.0102.45516.58
7.2.320.0032.44416.55
7.2.310.0132.41416.66
7.2.300.0232.42416.51
7.2.290.0102.42016.31
7.2.00.0032.49819.38
7.1.100.0132.48817.93
7.1.70.0032.49817.17
7.1.60.0072.49519.46
7.1.50.0102.49116.83
7.1.00.0002.50022.19
7.0.200.0032.49816.81
7.0.140.0002.50022.05
7.0.60.0032.49719.79
7.0.50.0072.49317.75
7.0.40.0032.49719.87
7.0.30.0472.45319.94
7.0.20.0172.48319.92
7.0.10.0272.47319.69
7.0.00.0032.49719.88
5.6.280.0032.49720.86
5.6.210.0072.49320.54
5.6.200.0032.49718.16
5.6.190.0072.49320.29
5.6.180.0302.47020.33
5.6.170.0372.46320.43
5.6.160.0102.49020.36
5.6.150.0032.49717.92
5.6.140.0102.49018.05
5.6.130.0132.48718.16
5.6.120.0032.49721.04
5.6.110.0132.48720.99
5.6.100.0132.48720.93
5.6.90.0002.50020.98
5.6.80.0172.48320.51
5.6.70.0232.47720.50
5.5.350.0202.48020.46
5.5.340.0072.49317.98
5.5.330.0132.48719.95
5.5.320.0202.48020.02
5.5.310.0332.46719.89
5.5.300.0102.49017.95
5.5.290.0132.48717.86
5.5.280.0032.49720.87
5.5.270.0132.48720.84
5.5.260.0072.49320.86
5.5.250.0072.49320.68
5.5.240.0072.49320.18
5.4.450.3532.14319.46
5.4.440.0232.47319.32
5.4.430.0032.49319.18
5.4.420.0272.47019.32
5.4.410.0232.47319.33
5.4.400.0202.47718.97
5.4.390.0202.47718.45
5.4.380.0132.48718.53
5.4.370.0132.48018.64
5.4.360.0232.47018.45
5.4.350.0102.48718.51
5.4.340.0172.47718.55
5.4.320.0172.48318.59
5.4.310.0102.49018.42
5.4.300.0202.47718.56
5.4.290.0232.55318.66
5.4.280.0232.47318.64
5.4.270.0172.48018.44
5.4.260.0102.48718.44
5.4.250.0172.48318.45
5.4.240.0072.49018.53
5.4.230.0102.49018.54
5.4.220.0132.48318.58
5.4.210.0172.48318.48
5.4.200.0072.48316.58
5.4.190.0402.46018.63
5.4.180.0132.48318.61
5.4.170.0202.47718.63
5.4.160.0302.46718.43
5.4.150.0102.48318.46
5.4.140.0132.48316.16
5.4.130.0102.49016.11
5.4.120.0132.48316.15
5.4.110.0072.48716.21
5.4.100.0132.29016.21
5.4.90.0202.47716.13
5.4.80.0032.49316.29
5.4.70.0072.49316.18
5.4.60.0172.48016.13
5.4.50.0102.48316.11
5.4.40.0202.48016.13
5.4.30.0102.49016.16
5.4.20.0172.40016.16
5.4.10.0072.49316.16

preferences:
54.34 ms | 400 KiB | 5 Q