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_srand() == %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.4.10.0100.01014.94
7.4.00.0070.01014.72
7.3.130.0130.00014.69
7.3.120.0030.01614.98
7.3.110.0030.01414.52
7.3.100.0090.00615.07
7.3.90.0070.01014.79
7.3.80.0000.01514.63
7.3.70.0090.00614.84
7.3.60.0080.00414.85
7.3.50.0090.00315.02
7.3.40.0070.00714.49
7.3.30.0070.00714.65
7.3.20.0040.00816.75
7.3.10.0070.00716.38
7.3.00.0040.00816.70
7.2.260.0140.00714.73
7.2.250.0110.00715.03
7.2.240.0070.00714.80
7.2.230.0160.00015.13
7.2.220.0070.00715.24
7.2.210.0070.00714.89
7.2.200.0100.00315.12
7.2.190.0000.01514.90
7.2.180.0070.00415.06
7.2.170.0090.00014.79
7.2.160.0150.00014.89
7.2.150.0060.01017.00
7.2.140.0060.00616.88
7.2.130.0000.01416.93
7.2.120.0080.00817.04
7.2.110.0000.01416.84
7.2.100.0000.01316.79
7.2.90.0040.01016.95
7.2.80.0030.00617.03
7.2.70.0110.00016.92
7.2.60.0030.00916.73
7.2.50.0070.01117.01
7.2.40.0090.00616.97
7.2.30.0080.00816.94
7.2.20.0070.00716.85
7.2.10.0030.01316.98
7.2.00.0110.00016.90
7.1.330.0100.00315.76
7.1.320.0120.00315.87
7.1.310.0080.00315.82
7.1.300.0070.01115.61
7.1.290.0070.00715.93
7.1.280.0070.00415.61
7.1.270.0030.00615.82
7.1.260.0030.00715.86
7.1.250.0000.01515.82
7.1.240.0060.00315.80
7.1.230.0130.00315.79
7.1.220.0070.00715.77
7.1.210.0040.00915.89
7.1.200.0070.00715.98
7.1.190.0000.01115.89
7.1.180.0030.00615.91
7.1.170.0070.00715.94
7.1.160.0000.01215.62
7.1.150.0040.00415.69
7.1.140.0000.01115.87
7.1.130.0030.01415.84
7.1.120.0060.00315.96
7.1.110.0110.00415.69
7.1.100.0060.00315.82
7.1.90.0100.00315.89
7.1.80.0070.00715.59
7.1.70.0030.00816.49
7.1.60.0050.01317.39
7.1.50.0080.01116.27
7.1.40.0070.01015.63
7.1.30.0060.00615.88
7.1.20.0060.00615.75
7.1.10.0030.01015.78
7.1.00.0030.03819.11
7.0.330.0040.00415.16
7.0.320.0070.00415.43
7.0.310.0100.00315.62
7.0.300.0110.00415.26
7.0.290.0060.00615.64
7.0.280.0030.00815.27
7.0.270.0030.00915.36
7.0.260.0060.00615.07
7.0.250.0060.00615.32
7.0.240.0000.01315.22
7.0.230.0070.01315.50
7.0.220.0100.00315.41
7.0.210.0070.01415.25
7.0.200.0090.00516.09
7.0.190.0060.00915.23
7.0.180.0030.00715.47
7.0.170.0080.00515.50
7.0.160.0070.01015.26
7.0.150.0100.00315.33
7.0.140.0050.03518.77
7.0.130.0040.01015.41
7.0.120.0070.00715.38
7.0.110.0000.01415.59
7.0.100.0100.03117.75
7.0.90.0070.04517.73
7.0.80.0030.04617.67
7.0.70.0190.02417.54
7.0.60.0110.03917.66
7.0.50.0150.03217.83
7.0.40.0020.03016.79
7.0.30.0070.02016.65
7.0.20.0020.03116.77
7.0.10.0080.02316.83
7.0.00.0020.04116.76
5.6.400.0030.00614.14
5.6.390.0090.00314.28
5.6.380.0030.00714.26
5.6.370.0030.00914.21
5.6.360.0100.00714.01
5.6.350.0030.00814.20
5.6.340.0080.00814.16
5.6.330.0060.00314.46
5.6.320.0030.00614.05
5.6.310.0040.01114.33
5.6.300.0060.00914.06
5.6.290.0070.00714.42
5.6.280.0040.03917.48
5.6.270.0130.00014.25
5.6.260.0030.01014.19
5.6.250.0070.04917.35
5.6.240.0080.04517.44
5.6.230.0080.04717.47
5.6.220.0050.04517.31
5.6.210.0080.04117.31
5.6.200.0060.02617.77
5.6.190.0050.04217.64
5.6.180.0040.04717.82
5.6.170.0030.02617.64
5.6.160.0040.02917.67
5.6.150.0050.04317.66
5.6.140.0100.04817.71
5.6.130.0070.04917.69
5.6.120.0100.03517.66
5.6.110.0060.04517.76
5.6.100.0120.03517.67
5.6.90.0050.03017.67
5.6.80.0070.02317.26
5.6.70.0070.03717.30
5.6.60.0060.04317.44
5.6.50.0050.03617.25
5.6.40.0050.03817.43
5.6.30.0030.04617.31
5.6.20.0120.03217.35
5.6.10.0070.04317.21
5.6.00.0070.04217.19
5.5.380.0100.04517.29
5.5.370.0080.03517.36
5.5.360.0090.02317.26
5.5.350.0100.04317.36
5.5.340.0100.02217.62
5.5.330.0030.04217.67
5.5.320.0100.04717.50
5.5.310.0080.02817.52
5.5.300.0100.04717.54
5.5.290.0150.03917.57
5.5.280.0120.04017.45
5.5.270.0050.02617.49
5.5.260.0070.02917.59
5.5.250.0050.04417.29
5.5.240.0070.02517.13
5.5.230.0070.04617.05
5.5.220.0070.04117.26
5.5.210.0050.04117.31
5.5.200.0050.03617.26
5.5.190.0110.03717.15
5.5.180.0080.04317.01
5.5.170.0030.01014.00
5.5.160.0120.03017.10
5.5.150.0080.03417.26
5.5.140.0080.03817.11
5.5.130.0070.03517.09
5.5.120.0000.03017.22
5.5.110.0120.03717.07
5.5.100.0070.02217.09
5.5.90.0050.02317.03
5.5.80.0080.02517.00
5.5.70.0090.03217.17
5.5.60.0090.02617.13
5.5.50.0060.03817.07
5.5.40.0080.03817.04
5.5.30.0080.04017.13
5.5.20.0030.02917.08
5.5.10.0000.04717.02
5.5.00.0050.03717.14
5.4.450.0050.04414.99
5.4.440.0050.02215.28
5.4.430.0070.02515.08
5.4.420.0070.04115.19
5.4.410.0060.02515.16
5.4.400.0070.04315.10
5.4.390.0070.03214.89
5.4.380.0020.04015.05
5.4.370.0080.03814.88
5.4.360.0050.04314.97
5.4.350.0120.03614.93
5.4.340.0080.04015.13
5.4.330.0070.00311.09
5.4.320.0070.03715.02
5.4.310.0080.03914.81
5.4.300.0070.02715.10
5.4.290.0110.02014.84
5.4.280.0030.03314.97
5.4.270.0080.03515.02
5.4.260.0060.03914.93
5.4.250.0070.04115.00
5.4.240.0050.02214.81
5.4.230.0130.01315.04
5.4.220.0070.02415.04
5.4.210.0050.02714.98
5.4.200.0030.03514.97
5.4.190.0030.03814.87
5.4.180.0050.02515.00
5.4.170.0020.04315.02
5.4.160.0100.03514.90
5.4.150.0100.03514.85
5.4.140.0080.02513.51
5.4.130.0030.02813.70
5.4.120.0070.03013.56
5.4.110.0030.04313.62
5.4.100.0080.03213.58
5.4.90.0050.04013.69
5.4.80.0030.03713.61
5.4.70.0020.02513.45
5.4.60.0060.03313.67
5.4.50.0070.02513.53
5.4.40.0000.02613.64
5.4.30.0070.03813.57
5.4.20.0050.02713.72
5.4.10.0050.03513.57
5.4.00.0030.03813.17
5.3.290.0080.04012.59
5.3.280.0060.02112.43
5.3.270.0080.03312.57
5.3.260.0040.03412.53
5.3.250.0000.03512.45
5.3.240.0000.03512.39
5.3.230.0070.03012.53
5.3.220.0070.02812.39
5.3.210.0060.03312.40
5.3.200.0030.03412.36
5.3.190.0070.03212.50
5.3.180.0100.03112.43
5.3.170.0050.02512.50
5.3.160.0050.03212.48
5.3.150.0050.03312.48
5.3.140.0110.03612.50
5.3.130.0050.04212.44
5.3.120.0080.03712.45
5.3.110.0080.03812.34
5.3.100.0050.04012.12
5.3.90.0060.03912.14
5.3.80.0070.04012.13
5.3.70.0080.02812.13
5.3.60.0050.02212.08
5.3.50.0080.02312.10
5.3.40.0050.04412.07
5.3.30.0070.03812.17
5.3.20.0070.02511.97
5.3.10.0100.02311.96
5.3.00.0050.02911.95
5.2.170.0130.02710.97
5.2.160.0170.03311.18
5.2.150.0030.06310.99
5.2.140.0070.06011.20
5.2.130.0070.06311.02
5.2.120.0070.04711.02
5.2.110.0070.04011.13
5.2.100.0130.05711.02
5.2.90.0070.05310.92
5.2.80.0070.04311.09
5.2.70.0100.04310.93
5.2.60.0100.02310.86
5.2.50.0000.03310.95
5.2.40.0000.03710.99
5.2.30.0070.02310.83
5.2.20.0030.03010.88
5.2.10.0000.03010.80
5.2.00.0000.03010.61
5.1.60.0070.02010.05
5.1.50.0000.02710.04
5.1.40.0000.0279.97
5.1.30.0000.02710.38
5.1.20.0070.02010.20
5.1.10.0030.02710.07
5.1.00.0000.03010.13
5.0.50.0000.0238.80
5.0.40.0030.0208.80
5.0.30.0030.0378.80
5.0.20.0000.0208.80
5.0.10.0000.0208.80
5.0.00.0030.0338.80
4.4.90.0000.0208.80
4.4.80.0030.0138.80
4.4.70.0000.0178.80
4.4.60.0000.0178.80
4.4.50.0030.0138.80
4.4.40.0070.0208.80
4.4.30.0000.0178.80
4.4.20.0030.0138.80
4.4.10.0000.0138.80
4.4.00.0030.0238.80
4.3.110.0000.0178.80
4.3.100.0030.0138.80
4.3.90.0000.0138.80
4.3.80.0000.0238.80
4.3.70.0030.0138.80
4.3.60.0030.0138.80
4.3.50.0000.0178.80
4.3.40.0030.0208.80
4.3.30.0000.0238.80
4.3.20.0000.0178.80
4.3.10.0000.0238.80
4.3.00.0000.0138.80

preferences:
36.63 ms | 400 KiB | 5 Q