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() == 0x%08x\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.4.10.0120.00615.54
7.4.00.0100.00915.33
7.3.130.0070.01115.64
7.3.120.0070.01015.20
7.3.110.0100.00715.36
7.3.100.0080.00815.35
7.3.90.0050.00715.22
7.3.80.0060.00715.35
7.3.70.0060.00915.33
7.3.60.0070.00615.36
7.3.50.0030.01115.28
7.3.40.0080.00515.29
7.3.30.0060.00615.22
7.3.20.0080.00617.20
7.3.10.0090.00616.91
7.3.00.0090.00716.85
7.2.260.0070.01215.54
7.2.250.0120.00715.49
7.2.240.0120.00815.64
7.2.230.0050.00915.68
7.2.220.0040.00815.50
7.2.210.0060.00915.42
7.2.200.0050.01015.51
7.2.190.0040.00915.52
7.2.180.0030.01015.51
7.2.170.0050.00915.49
7.2.160.0030.00915.71
7.2.150.0090.00717.46
7.2.140.0070.00717.60
7.2.130.0090.00617.28
7.2.120.0050.01017.29
7.2.110.0080.00817.29
7.2.100.0050.00817.42
7.2.90.0050.00817.27
7.2.80.0050.00817.23
7.2.70.0070.01017.38
7.2.60.0110.00717.23
7.2.50.0060.01017.38
7.2.40.0080.00917.41
7.2.30.0090.00517.24
7.2.20.0030.01017.25
7.2.10.0080.00617.34
7.2.00.0050.01117.31
7.1.330.0030.01216.27
7.1.320.0060.00916.28
7.1.310.0030.01216.40
7.1.300.0080.00416.34
7.1.290.0060.00716.33
7.1.280.0030.00816.34
7.1.270.0050.00816.19
7.1.260.0080.00316.23
7.1.250.0060.00916.26
7.1.240.0040.00916.56
7.1.230.0020.01016.54
7.1.220.0060.00816.56
7.1.210.0020.01416.49
7.1.200.0030.01016.54
7.1.190.0030.00916.60
7.1.180.0080.00616.55
7.1.170.0060.00616.46
7.1.160.0050.00816.51
7.1.150.0050.00916.59
7.1.140.0020.01216.57
7.1.130.0070.00716.59
7.1.120.0090.00416.35
7.1.110.0080.00816.38
7.1.100.0040.01116.63
7.1.90.0060.00816.45
7.1.80.0090.00616.49
7.1.70.0030.00716.69
7.1.60.0060.01117.50
7.1.50.0100.00816.54
7.1.40.0080.00816.55
7.1.30.0050.01116.45
7.1.20.0090.00216.45
7.1.10.0100.00516.53
7.1.00.0080.02918.48
7.0.330.0030.00716.12
7.0.320.0040.00916.01
7.0.310.0090.00516.13
7.0.300.0060.00616.23
7.0.290.0060.00716.22
7.0.280.0070.00816.06
7.0.270.0050.00716.15
7.0.260.0060.00516.18
7.0.250.0050.00716.16
7.0.240.0040.01116.23
7.0.230.0050.00816.00
7.0.220.0040.01116.15
7.0.210.0050.00616.25
7.0.200.0030.00816.40
7.0.190.0050.00916.02
7.0.180.0040.00916.14
7.0.170.0010.00916.32
7.0.160.0050.00816.29
7.0.150.0020.01216.11
7.0.140.0070.02818.18
7.0.130.0090.00416.26
7.0.120.0030.01116.20
7.0.110.0040.00616.23
7.0.100.0090.03217.51
7.0.90.0060.01717.42
7.0.80.0090.03117.46
7.0.70.0130.01917.32
7.0.60.0080.03117.36
7.0.50.0060.03417.60
7.0.40.0050.02816.17
7.0.30.0070.01916.14
7.0.20.0100.02316.13
7.0.10.0080.02916.21
7.0.00.0090.02916.20
5.6.400.0030.01015.06
5.6.390.0030.00915.13
5.6.380.0030.01015.12
5.6.370.0060.00814.84
5.6.360.0030.01014.94
5.6.350.0040.01015.15
5.6.340.0080.00615.12
5.6.330.0080.00815.08
5.6.320.0070.00915.05
5.6.310.0050.00514.87
5.6.300.0030.00915.11
5.6.290.0050.00815.11
5.6.280.0080.02616.97
5.6.270.0040.00914.88
5.6.260.0060.00814.98
5.6.250.0080.03016.85
5.6.240.0060.03117.04
5.6.230.0060.02216.96
5.6.220.0080.01416.93
5.6.210.0090.01716.76
5.6.200.0020.03616.97
5.6.190.0030.03417.02
5.6.180.0090.02817.05
5.6.170.0060.03216.98
5.6.160.0070.03117.09
5.6.150.0100.02917.09
5.6.140.0080.02417.00
5.6.130.0090.01917.02
5.6.120.0050.02216.99
5.6.110.0040.03216.81
5.6.100.0120.01816.93
5.6.90.0080.02116.96
5.6.80.0050.03116.73
5.6.70.0080.02916.55
5.6.60.0090.01516.81
5.6.50.0100.02616.81
5.6.40.0050.01916.74
5.6.30.0070.02516.75
5.6.20.0030.02516.63
5.6.10.0080.03016.81
5.6.00.0070.03116.75
5.5.380.0050.03316.66
5.5.370.0080.03216.77
5.5.360.0100.02316.67
5.5.350.0100.01416.68
5.5.340.0060.03416.99
5.5.330.0060.02516.90
5.5.320.0070.03116.93
5.5.310.0080.02016.76
5.5.300.0090.02916.80
5.5.290.0070.02516.95
5.5.280.0080.03116.93
5.5.270.0050.02516.86
5.5.260.0050.03016.98
5.5.250.0050.02016.79
5.5.240.0110.02416.62
5.5.230.0050.03416.71
5.5.220.0050.02616.46
5.5.210.0070.02016.53
5.5.200.0030.01916.66
5.5.190.0040.02516.74
5.5.180.0070.03016.64
5.5.170.0050.00714.85
5.5.160.0070.02816.69
5.5.150.0080.02116.68
5.5.140.0040.02216.68
5.5.130.0060.01916.60
5.5.120.0080.01516.65
5.5.110.0040.01916.41
5.5.100.0080.01416.56
5.5.90.0060.01816.46
5.5.80.0050.01916.56
5.5.70.0070.01516.54
5.5.60.0050.01716.55
5.5.50.0070.01716.48
5.5.40.0060.01416.60
5.5.30.0060.02016.50
5.5.20.0000.02416.48
5.5.10.0040.02116.63
5.5.00.0020.01916.47
5.4.450.0080.02514.38
5.4.440.0070.02814.36
5.4.430.0060.02214.19
5.4.420.0030.01914.34
5.4.410.0060.02214.30
5.4.400.0070.03014.19
5.4.390.0030.01614.17
5.4.380.0080.02314.20
5.4.370.0070.02614.17
5.4.360.0050.01714.19
5.4.350.0040.02514.06
5.4.340.0050.03014.23
5.4.330.0050.00611.87
5.4.320.0040.02114.30
5.4.310.0020.03314.13
5.4.300.0030.02614.24
5.4.290.0040.02914.15
5.4.280.0030.01914.23
5.4.270.0060.01414.20
5.4.260.0020.02014.14
5.4.250.0040.01714.09
5.4.240.0060.01814.29
5.4.230.0070.01614.15
5.4.220.0040.01414.12
5.4.210.0070.01514.11
5.4.200.0040.01814.18
5.4.190.0050.01914.16
5.4.180.0030.01814.14
5.4.170.0030.01814.16
5.4.160.0040.01814.19
5.4.150.0090.01214.21
5.4.140.0040.01713.29
5.4.130.0030.01513.34
5.4.120.0040.01713.32
5.4.110.0090.01113.32
5.4.100.0000.02113.32
5.4.90.0060.01613.34
5.4.80.0020.01813.32
5.4.70.0020.01913.36
5.4.60.0030.01713.39
5.4.50.0010.01613.32
5.4.40.0020.01513.37
5.4.30.0030.01513.23
5.4.20.0030.01713.37
5.4.10.0040.01313.29
5.4.00.0030.01613.16
5.3.290.0030.01712.67
5.3.280.0030.02012.63
5.3.270.0010.02012.79
5.3.260.0060.01512.71
5.3.250.0050.01712.68
5.3.240.0020.02012.50
5.3.230.0020.01912.56
5.3.220.0060.01412.50
5.3.210.0050.01812.47
5.3.200.0020.01712.52
5.3.190.0000.02012.54
5.3.180.0030.01612.55
5.3.170.0040.01412.59
5.3.160.0070.01212.61
5.3.150.0010.02012.50
5.3.140.0040.01712.54
5.3.130.0040.01312.57
5.3.120.0070.01812.55
5.3.110.0070.01112.66
5.3.100.0050.01612.39
5.3.90.0050.01712.43
5.3.80.0020.01512.37
5.3.70.0050.01412.26
5.3.60.0060.01412.38
5.3.50.0040.01212.28
5.3.40.0030.01612.27
5.3.30.0010.02112.38
5.3.20.0060.01312.22
5.3.10.0070.01212.11
5.3.00.0030.01712.07
5.2.170.0030.02712.01
5.2.160.0100.02012.01
5.2.150.0000.02712.01
5.2.140.0000.03312.01
5.2.130.0000.02712.01
5.2.120.0070.02012.01
5.2.110.0030.02312.01
5.2.100.0000.02712.01
5.2.90.0000.03312.01
5.2.80.0000.02712.01
5.2.70.0000.02712.01
5.2.60.0000.02712.01
5.2.50.0000.02712.01
5.2.40.0070.02312.01
5.2.30.0030.03012.01
5.2.20.0000.03012.01
5.2.10.0030.03012.01
5.2.00.0100.06312.01
5.1.60.0030.04712.01
5.1.50.0000.05012.01
5.1.40.0070.05312.01
5.1.30.0100.03312.01
5.1.20.0070.02012.01
5.1.10.0030.05712.01
5.1.00.0000.06012.01
5.0.50.0030.04312.01
5.0.40.0030.02012.01
5.0.30.0000.06312.01
5.0.20.0000.02012.01
5.0.10.0030.04712.01
5.0.00.0030.04312.01
4.4.90.0030.01312.01
4.4.80.0000.01312.01
4.4.70.0000.03312.01
4.4.60.0000.01712.01
4.4.50.0000.02312.01
4.4.40.0030.02312.01
4.4.30.0070.02012.01
4.4.20.0030.03712.01
4.4.10.0030.01312.01
4.4.00.0000.05712.01
4.3.110.0100.02312.01
4.3.100.0030.02312.01
4.3.90.0070.02312.01
4.3.80.0030.05012.01
4.3.70.0000.03312.01
4.3.60.0000.03712.01
4.3.50.0000.03712.01
4.3.40.0000.02312.01
4.3.30.0000.03712.01
4.3.20.0000.03712.01
4.3.10.0030.02312.01
4.3.00.0030.03312.01

preferences:
39.79 ms | 401 KiB | 5 Q