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("mt_rand() == 0%8x%d\n", $testseed, $r, $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.3.10.0000.01716.68
7.3.00.0090.00616.52
7.2.130.0040.01216.69
7.2.120.0060.00316.68
7.2.110.0030.01016.72
7.2.100.0120.00316.82
7.2.90.0030.01016.88
7.2.80.0060.01017.04
7.2.70.0120.00317.10
7.2.60.0070.00316.73
7.2.50.0040.01216.96
7.2.40.0040.00916.95
7.2.30.0070.00716.93
7.2.20.0060.01216.99
7.2.10.0060.00616.71
7.2.00.0070.00917.98
7.1.250.0000.00815.94
7.1.70.0040.00417.19
7.1.60.0100.01319.17
7.1.50.0140.01016.86
7.1.00.0070.06022.31
7.0.200.0030.00616.81
7.0.140.0070.07022.09
7.0.100.0070.08319.95
7.0.90.0170.07319.89
7.0.80.0100.07319.94
7.0.70.0300.04019.98
7.0.60.0170.08019.86
7.0.50.0070.07320.36
7.0.40.0070.07720.01
7.0.30.0100.06720.05
7.0.20.0100.08020.09
7.0.10.0100.07720.09
7.0.00.0070.07020.18
5.6.280.0030.09321.01
5.6.250.0130.07320.52
5.6.240.0030.05720.70
5.6.230.0030.09020.62
5.6.220.0170.07720.67
5.6.210.0100.07320.77
5.6.200.0070.07721.17
5.6.190.0030.04321.04
5.6.180.0070.08021.08
5.6.170.0070.08320.99
5.6.160.0100.05321.03
5.6.150.0070.04020.99
5.6.140.0070.03720.95
5.6.130.0000.04721.09
5.6.120.0030.04021.02
5.6.110.0100.07021.10
5.6.100.0030.08321.01
5.6.90.0030.07721.06
5.6.80.0130.07320.27
5.6.70.0100.03320.33
5.6.60.0070.07720.45
5.6.50.0070.03720.43
5.6.40.0000.08720.29
5.6.30.0100.04720.43
5.6.20.0070.04020.45
5.6.10.0070.03320.43
5.6.00.0200.06320.44
5.5.380.0100.05320.32
5.5.370.0100.04320.35
5.5.360.0200.07320.34
5.5.350.0170.04320.39
5.5.340.0000.08320.90
5.5.330.0100.03720.73
5.5.320.0070.08720.84
5.5.310.0070.08020.92
5.5.300.0070.05720.80
5.5.290.0030.06720.90
5.5.280.0130.06720.82
5.5.270.0070.03720.84
5.5.260.0000.05320.89
5.5.250.0030.08720.68
5.5.240.0100.08320.26
5.5.230.0130.03020.25
5.5.220.0130.07720.26
5.5.210.0100.03320.17
5.5.200.0130.06720.29
5.5.190.0100.06320.10
5.5.180.0100.07020.26
5.5.160.0100.07720.20
5.5.150.0070.04020.22
5.5.140.0130.06020.21
5.5.130.0070.04320.10
5.5.120.0100.04320.12
5.5.110.0030.08320.17
5.5.100.0130.08020.12
5.5.90.0130.07020.11
5.5.80.0130.06720.16
5.5.70.0070.06320.11
5.5.60.0070.03320.08
5.5.50.0130.07020.02
5.5.40.0070.05320.05
5.5.30.0070.08320.08
5.5.20.0170.06020.05
5.5.10.0030.07720.13
5.5.00.0100.05319.99
5.4.450.0070.07319.45
5.4.440.0170.08019.55
5.4.430.0100.06319.39
5.4.420.0030.04319.35
5.4.410.0030.07719.01
5.4.400.0030.07718.98
5.4.390.0100.06019.04
5.4.380.0070.06719.14
5.4.370.0000.04719.03
5.4.360.0030.04719.23
5.4.350.0100.06018.90
5.4.340.0070.07718.98
5.4.320.0100.07719.13
5.4.310.0170.06318.96
5.4.300.0030.06719.09
5.4.290.0030.04319.05
5.4.280.0000.07718.98
5.4.270.0100.07319.04
5.4.260.0070.07719.14
5.4.250.0070.06318.80
5.4.240.0130.07019.22
5.4.230.0000.05018.98
5.4.220.0030.04018.94
5.4.210.0070.07019.02
5.4.200.0030.07719.22
5.4.190.0030.03719.00
5.4.180.0070.07319.18
5.4.170.0130.06019.09
5.4.160.0070.04018.95
5.4.150.0030.07319.13
5.4.140.0130.06316.07
5.4.130.0070.06016.30
5.4.120.0100.06716.00
5.4.110.0030.06316.20
5.4.100.0030.06016.25
5.4.90.0000.04716.43
5.4.80.0200.02316.25
5.4.70.0030.06316.19
5.4.60.0070.03016.24
5.4.50.0070.07316.28
5.4.40.0030.07716.25
5.4.30.0070.07316.32
5.4.20.0070.04016.20
5.4.10.0070.07316.23
5.4.00.0030.05015.52
5.3.290.0070.04314.59
5.3.280.0030.05014.57
5.3.270.0100.07014.51
5.3.260.0070.06314.59
5.3.250.0100.04014.56
5.3.240.0100.04014.41
5.3.230.0070.07314.43
5.3.220.0070.04314.42
5.3.210.0070.07714.52
5.3.200.0000.06314.52
5.3.190.0030.04014.55
5.3.180.0030.04014.38
5.3.170.0070.06014.52
5.3.160.0100.06014.55
5.3.150.0070.03014.55
5.3.140.0030.06714.51
5.3.130.0000.03714.50
5.3.120.0000.04314.40
5.3.110.0070.07014.54
5.3.100.0000.05313.87
5.3.90.0070.05013.88
5.3.80.0070.03013.95
5.3.70.0100.04713.97
5.3.60.0070.07713.96
5.3.50.0030.07013.73
5.3.40.0030.08013.79
5.3.30.0030.07313.88
5.3.20.0030.07013.64
5.3.10.0030.07013.51
5.3.00.0070.07013.54
5.2.170.0030.04012.23
5.2.160.0070.06012.23
5.2.150.0030.03712.23
5.2.140.0070.05012.23
5.2.130.0070.05012.23
5.2.120.0070.05712.23
5.2.110.0030.06312.23
5.2.100.0070.02712.23
5.2.90.0030.02712.23
5.2.80.0000.03312.23
5.2.70.0000.03312.23
5.2.60.0100.02312.23
5.2.50.0000.03312.23
5.2.40.0000.03012.23
5.2.30.0100.02312.23
5.2.20.0000.03012.23
5.2.10.0030.02712.23
5.2.00.0070.02312.23
5.1.60.0030.02312.23
5.1.50.0000.02712.23
5.1.40.0030.02712.23
5.1.30.0030.02312.23
5.1.20.0000.02312.23
5.1.10.0000.02712.23
5.1.00.0000.02712.23
5.0.50.0030.02012.23
5.0.40.0030.01712.23
5.0.30.0070.02012.23
5.0.20.0000.02012.23
5.0.10.0000.04012.23
5.0.00.0070.06012.23
4.4.90.0000.01712.23
4.4.80.0000.02012.23
4.4.70.0030.01312.23
4.4.60.0000.01712.23
4.4.50.0000.01712.23
4.4.40.0000.02712.23
4.4.30.0030.01312.23
4.4.20.0030.01312.23
4.4.10.0070.01012.23
4.4.00.0000.02012.23
4.3.110.0000.01712.23
4.3.100.0000.01312.23
4.3.90.0000.01312.23
4.3.80.0000.02312.23
4.3.70.0030.01712.23
4.3.60.0000.03012.23
4.3.50.0030.01312.23
4.3.40.0000.02712.23
4.3.30.0000.01712.23
4.3.20.0000.02012.23
4.3.10.0000.01712.23
4.3.00.0000.02012.23

preferences:
34.01 ms | 400 KiB | 5 Q