3v4l.org

run code in 300+ PHP versions simultaneously
<?php $min = 17; $max = $min + 48; // 48 is to fit the results in my console for ($testseed=$min; $testseed<$max; $testseed++) { mt_srand( $testseed ); $r = mt_rand(); printf( $r); } ?>

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)
7.4.00.0100.00714.98
7.3.120.0120.00714.96
7.3.110.0050.00915.09
7.3.100.0020.01414.69
7.3.90.0050.01014.83
7.3.80.0080.00614.79
7.3.70.0100.00314.94
7.3.60.0060.00714.81
7.3.50.0070.00514.86
7.3.40.0000.01514.89
7.3.30.0080.00614.76
7.3.20.0100.00316.75
7.3.10.0090.00716.81
7.3.00.0090.00516.74
7.2.250.0090.00914.96
7.2.240.0050.01114.99
7.2.230.0090.00714.88
7.2.220.0060.00815.04
7.2.210.0110.00314.79
7.2.200.0060.00714.99
7.2.190.0060.00814.78
7.2.180.0070.00714.86
7.2.170.0040.00714.91
7.2.160.0000.01514.66
7.2.150.0090.00616.93
7.2.140.0030.01017.04
7.2.130.0060.00816.85
7.2.120.0060.00916.63
7.2.110.0030.01016.96
7.2.100.0110.00416.70
7.2.90.0030.01016.89
7.2.80.0090.00316.73
7.2.70.0030.00716.79
7.2.60.0070.01116.98
7.2.50.0040.00816.89
7.2.40.0100.00716.88
7.2.30.0060.00916.99
7.2.20.0030.01416.57
7.2.10.0090.00916.74
7.2.00.0070.00917.78
7.1.330.0030.01015.67
7.1.320.0070.00415.85
7.1.310.0070.00915.93
7.1.300.0050.00615.85
7.1.290.0060.00715.83
7.1.280.0060.00915.89
7.1.270.0060.00615.74
7.1.260.0070.00615.76
7.1.250.0030.01515.87
7.1.70.0000.00817.17
7.1.60.0130.01019.17
7.1.50.0070.01616.97
7.1.00.0030.06722.32
7.0.200.0000.01016.77
7.0.140.0070.07021.95
7.0.100.0130.07319.93
7.0.90.0070.06719.90
7.0.80.0100.08019.91
7.0.70.0100.07719.85
7.0.60.0130.07719.90
7.0.50.0030.06720.33
7.0.40.0030.08020.07
7.0.30.0070.08320.04
7.0.20.0130.08020.02
7.0.10.0000.05020.12
7.0.00.0070.05720.14
5.6.280.0070.06721.12
5.6.250.0170.08020.68
5.6.240.0030.08020.66
5.6.230.0030.08020.48
5.6.220.0000.08320.53
5.6.210.0170.07720.75
5.6.200.0070.08721.02
5.6.190.0170.07321.03
5.6.180.0030.06021.12
5.6.170.0100.08321.05
5.6.160.0100.06021.05
5.6.150.0100.09321.13
5.6.140.0130.06720.93
5.6.130.0130.07720.94
5.6.120.0130.07721.04
5.6.110.0030.08721.02
5.6.100.0070.08020.93
5.6.90.0070.08720.91
5.6.80.0100.08020.39
5.6.70.0070.07020.31
5.6.60.0030.05020.39
5.6.50.0100.03320.45
5.6.40.0100.07720.37
5.6.30.0030.09020.53
5.6.20.0070.07720.31
5.6.10.0030.07720.49
5.6.00.0130.07020.30
5.5.380.0100.05020.35
5.5.370.0030.05720.41
5.5.360.0030.08720.40
5.5.350.0070.08320.34
5.5.340.0230.06320.89
5.5.330.0130.08320.90
5.5.320.0070.08020.93
5.5.310.0100.07720.92
5.5.300.0100.08320.89
5.5.290.0100.08320.92
5.5.280.0130.07320.86
5.5.270.0030.05320.75
5.5.260.0070.09020.86
5.5.250.0070.08320.69
5.5.240.0070.08020.21
5.5.230.0030.07720.30
5.5.220.0130.06720.26
5.5.210.0100.07320.01
5.5.200.0070.04320.26
5.5.190.0030.08720.25
5.5.180.0030.08720.26
5.5.160.0030.04020.25
5.5.150.0070.05720.09
5.5.140.0070.07020.21
5.5.130.0030.08020.22
5.5.120.0100.08019.96
5.5.110.0170.07320.17
5.5.100.0130.06720.10
5.5.90.0030.08020.05
5.5.80.0070.07020.06
5.5.70.0130.06720.15
5.5.60.0100.07720.03
5.5.50.0170.06319.93
5.5.40.0070.06720.05
5.5.30.0170.07020.09
5.5.20.0070.08020.04
5.5.10.0070.07720.03
5.5.00.0070.05020.01
5.4.450.0130.07719.23
5.4.440.0000.08719.27
5.4.430.0170.07019.34
5.4.420.0030.08019.41
5.4.410.0000.07319.14
5.4.400.0070.07319.13
5.4.390.0030.05019.05
5.4.380.0130.08719.05
5.4.370.0030.04319.13
5.4.360.0130.06018.98
5.4.350.0030.04019.10
5.4.340.0130.07318.95
5.4.320.0070.07719.20
5.4.310.0170.06719.10
5.4.300.0100.07319.06
5.4.290.0100.07718.89
5.4.280.0070.08019.07
5.4.270.0070.05319.24
5.4.260.0130.07318.78
5.4.250.0030.08019.14
5.4.240.0070.07719.13
5.4.230.0130.06719.11
5.4.220.0070.07718.94
5.4.210.0070.07318.93
5.4.200.0070.07719.05
5.4.190.0070.07019.11
5.4.180.0100.07018.80
5.4.170.0070.07719.07
5.4.160.0070.07718.92
5.4.150.0070.05719.09
5.4.140.0070.08016.27
5.4.130.0100.06716.27
5.4.120.0070.07716.26
5.4.110.0170.06716.38
5.4.100.0100.04016.36
5.4.90.0100.07016.26
5.4.80.0130.07016.22
5.4.70.0170.06316.43
5.4.60.0100.07016.18
5.4.50.0100.07016.33
5.4.40.0130.03316.29
5.4.30.0130.07016.29
5.4.20.0070.04016.34
5.4.10.0070.05016.30
5.4.00.0070.05315.81
5.3.290.0070.08314.54
5.3.280.0170.07014.45
5.3.270.0170.06314.47
5.3.260.0170.05314.46
5.3.250.0070.07714.59
5.3.240.0130.07014.54
5.3.230.0030.07714.58
5.3.220.0130.07314.43
5.3.210.0030.07714.38
5.3.200.0130.07014.55
5.3.190.0030.07314.55
5.3.180.0100.06014.41
5.3.170.0130.06314.52
5.3.160.0070.06714.42
5.3.150.0000.07714.57
5.3.140.0030.07714.49
5.3.130.0100.07714.54
5.3.120.0100.07314.38
5.3.110.0100.07314.54
5.3.100.0130.07313.95
5.3.90.0030.08014.01
5.3.80.0100.03713.93
5.3.70.0100.07013.99
5.3.60.0000.07013.91
5.3.50.0100.06013.71
5.3.40.0170.07013.80
5.3.30.0100.07313.88
5.3.20.0130.06713.65
5.3.10.0070.06713.51
5.3.00.0030.07713.49
5.2.170.0130.05312.62
5.2.160.0100.04312.62
5.2.150.0100.06312.62
5.2.140.0070.03712.62
5.2.130.0100.06312.62
5.2.120.0030.06012.62
5.2.110.0000.05012.62
5.2.100.0070.06012.62
5.2.90.0100.03312.62
5.2.80.0100.05712.62
5.2.70.0100.05312.62
5.2.60.0100.05712.62
5.2.50.0100.06312.62
5.2.40.0070.06012.62
5.2.30.0200.03312.62
5.2.20.0000.04012.62
5.2.10.0070.05712.62
5.2.00.0100.05012.62
5.1.60.0030.05012.62
5.1.50.0100.05012.62
5.1.40.0030.05312.62
5.1.30.0070.03712.62
5.1.20.0070.05712.62
5.1.10.0030.03712.62
5.1.00.0100.05312.62
5.0.50.0000.05312.62
5.0.40.0030.04312.62
5.0.30.0030.06312.62
5.0.20.0030.04312.62
5.0.10.0030.04012.62
5.0.00.0000.05012.62
4.4.90.0030.03312.62
4.4.80.0030.02712.62
4.4.70.0000.02312.62
4.4.60.0000.03712.62
4.4.50.0070.03312.62
4.4.40.0030.05712.62
4.4.30.0000.03712.62
4.4.20.0000.03712.62
4.4.10.0030.03712.62
4.4.00.0030.04712.62
4.3.110.0070.03312.62
4.3.100.0000.03712.62
4.3.90.0000.03712.62
4.3.80.0100.04712.62
4.3.70.0000.03712.62
4.3.60.0000.03012.62
4.3.50.0100.03012.62
4.3.40.0030.05012.62
4.3.30.0070.02312.62
4.3.20.0000.04012.62
4.3.10.0070.02012.62
4.3.00.0000.02012.62

preferences:
33.27 ms | 401 KiB | 5 Q