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() == 12%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.120.0060.00914.73
7.3.110.0030.01214.77
7.3.100.0000.01414.88
7.3.90.0000.01514.63
7.3.80.0120.00314.59
7.3.70.0070.00314.90
7.3.60.0110.00414.82
7.3.50.0030.00714.83
7.3.40.0040.00814.49
7.3.30.0120.00614.55
7.3.20.0000.01116.32
7.3.10.0090.00616.57
7.3.00.0040.01116.66
7.2.240.0070.00714.96
7.2.230.0000.01614.96
7.2.220.0000.01815.07
7.2.210.0090.00314.66
7.2.200.0030.01015.15
7.2.190.0130.00015.02
7.2.180.0030.01115.06
7.2.170.0060.01014.84
7.2.160.0060.00914.82
7.2.150.0000.01716.96
7.2.140.0040.01216.93
7.2.130.0040.01116.93
7.2.120.0090.00616.87
7.2.110.0120.00317.02
7.2.100.0040.00716.66
7.2.90.0080.00816.81
7.2.80.0090.00616.89
7.2.70.0040.00816.86
7.2.60.0030.01316.95
7.2.50.0040.01116.98
7.2.40.0110.00716.65
7.2.30.0030.01416.95
7.2.20.0070.00417.00
7.2.10.0080.00816.91
7.2.00.0060.00918.08
7.1.330.0000.01115.95
7.1.320.0090.00315.91
7.1.310.0030.01215.98
7.1.300.0100.00716.05
7.1.290.0060.01215.70
7.1.280.0060.00915.91
7.1.270.0030.01415.89
7.1.260.0070.00415.86
7.1.250.0030.01015.93
7.1.70.0000.01516.92
7.1.60.0090.01619.17
7.1.50.0030.01416.97
7.1.00.0070.07022.57
7.0.200.0020.00516.45
7.0.140.0030.07322.08
7.0.120.0130.05321.96
7.0.110.0100.08322.05
7.0.100.0130.06721.98
7.0.90.0030.03722.13
7.0.80.0070.06322.02
7.0.70.0070.06322.01
7.0.60.0100.06021.93
7.0.50.0070.03722.16
7.0.40.0030.05019.94
7.0.30.0070.03720.13
7.0.20.0070.04320.00
7.0.10.0000.04019.99
7.0.00.0030.03720.14
5.6.280.0070.09020.81
5.6.270.0070.06320.94
5.6.260.0030.04021.00
5.6.250.0070.04720.98
5.6.240.0070.07720.80
5.6.230.0070.04320.77
5.6.220.0070.07720.77
5.6.210.0070.03320.89
5.6.200.0100.04720.79
5.6.190.0070.04321.03
5.6.180.0030.04320.88
5.6.170.0070.04021.01
5.6.160.0000.03721.03
5.6.150.0030.03320.99
5.6.140.0000.03721.00
5.6.130.0000.04020.95
5.6.120.0030.04020.88
5.6.110.0000.03720.73
5.6.100.0000.06721.02
5.6.90.0000.04320.85
5.6.80.0000.03320.39
5.6.70.0000.03320.24
5.6.60.0000.03320.12
5.6.50.0000.04020.24
5.6.40.0000.03320.35
5.6.30.0000.04720.38
5.6.20.0000.03720.22
5.6.10.0030.04020.33
5.6.00.0100.03320.36
5.5.380.0070.06317.57
5.5.370.0030.07317.60
5.5.360.0000.04717.62
5.5.350.0030.04717.53
5.5.340.0000.04318.13
5.5.330.0100.07017.85
5.5.320.0000.03717.99
5.5.310.0100.04017.76
5.5.300.0000.04718.12
5.5.290.0030.04318.25
5.5.280.0070.03017.98
5.5.270.0070.07317.85
5.5.260.0030.03318.16
5.5.250.0000.04017.65
5.5.240.0030.03017.27
5.5.230.0070.03017.36
5.5.220.0000.03717.50
5.5.210.0030.03017.50
5.5.200.0070.03017.45
5.5.190.0030.03317.48
5.5.180.0030.03017.48
5.5.160.0000.06017.11
5.5.150.0000.03317.46
5.5.140.0000.03717.48
5.5.130.0000.03317.45
5.5.120.0000.04017.47
5.5.110.0070.03317.24
5.5.100.0030.04017.12
5.5.90.0000.03717.01
5.5.80.0030.03717.25
5.5.70.0070.02717.28
5.5.60.0030.03017.23
5.5.50.0130.02717.09
5.5.40.0000.04017.09
5.5.30.0000.03317.13
5.5.20.0000.04717.13
5.5.10.0000.04017.02
5.5.00.0000.03317.33
5.4.450.0000.03319.23
5.4.440.0000.05019.31
5.4.430.0000.03319.28
5.4.420.0000.05019.20
5.4.410.0030.03319.18
5.4.400.0030.03718.93
5.4.390.0030.03718.90
5.4.380.0000.03018.98
5.4.370.0000.03318.97
5.4.360.0000.03319.13
5.4.350.0030.03718.90
5.4.340.0070.04719.13
5.4.320.0000.03718.98
5.4.310.0030.03318.88
5.4.300.0000.03718.90
5.4.290.0000.03019.21
5.4.280.0000.03318.95
5.4.270.0030.03318.95
5.4.260.0070.05019.04
5.4.250.0000.03718.89
5.4.240.0000.04018.90
5.4.230.0030.02718.98
5.4.220.0070.03718.96
5.4.210.0070.03019.02
5.4.200.0070.03319.18
5.4.190.0030.05719.05
5.4.180.0000.03318.87
5.4.170.0000.03318.88
5.4.160.0030.04019.04
5.4.150.0000.04719.04
5.4.140.0070.06016.42
5.4.130.0070.04716.39
5.4.120.0030.02716.41
5.4.110.0070.03316.44
5.4.100.0070.06716.32
5.4.90.0030.07316.41
5.4.80.0000.07316.18
5.4.70.0070.04716.17
5.4.60.0000.03316.45
5.4.50.0030.06716.20
5.4.40.0000.04316.35
5.4.30.0000.03716.16
5.4.20.0030.03716.19
5.4.10.0030.05316.20
5.4.00.0000.04015.84
5.3.290.0070.03714.56
5.3.280.0000.03714.46
5.3.270.0030.03014.57
5.3.260.0000.03714.64
5.3.250.0000.03714.66
5.3.240.0000.03314.62
5.3.230.0030.03314.60
5.3.220.0070.02714.50
5.3.210.0000.03714.58
5.3.200.0030.07714.49
5.3.190.0030.03014.41
5.3.180.0000.03714.34
5.3.170.0030.06714.63
5.3.160.0070.03014.63
5.3.150.0070.07014.65
5.3.140.0070.07014.57
5.3.130.0030.07014.37
5.3.120.0030.06714.48
5.3.110.0070.03014.42
5.3.100.0030.06313.89
5.3.90.0070.06714.03
5.3.80.0070.06714.03
5.3.70.0000.08013.90
5.3.60.0030.06013.92
5.3.50.0030.05713.83
5.3.40.0000.07014.04
5.3.30.0000.03713.78
5.3.20.0070.03713.61
5.3.10.0070.07013.67
5.3.00.0030.03713.52
5.2.170.0030.06011.94
5.2.160.0070.03311.94
5.2.150.0000.03311.94
5.2.140.0000.05011.94
5.2.130.0000.05311.94
5.2.120.0030.02711.94
5.2.110.0030.05711.94
5.2.100.0030.03311.94
5.2.90.0030.05011.94
5.2.80.0030.06311.94
5.2.70.0030.03711.94
5.2.60.0070.05311.94
5.2.50.0030.04711.94
5.2.40.0030.03011.94
5.2.30.0030.03311.94
5.2.20.0000.04711.94
5.2.10.0030.03311.94
5.2.00.0030.05711.94
5.1.60.0070.04011.94
5.1.50.0030.04711.94
5.1.40.0000.02711.94
5.1.30.0000.05011.94
5.1.20.0030.04311.94
5.1.10.0070.03011.94
5.1.00.0000.03011.94
5.0.50.0030.04011.94
5.0.40.0070.04311.94
5.0.30.0070.02711.94
5.0.20.0030.04011.94
5.0.10.0030.01711.94
5.0.00.0000.05011.94
4.4.90.0030.01311.94
4.4.80.0000.02011.94
4.4.70.0000.03311.94
4.4.60.0000.01711.94
4.4.50.0000.02311.94
4.4.40.0000.04711.94
4.4.30.0070.03011.94
4.4.20.0000.01711.94
4.4.10.0000.02011.94
4.4.00.0000.04311.94
4.3.110.0000.01711.94
4.3.100.0000.01711.94
4.3.90.0030.01311.94
4.3.80.0030.02311.94
4.3.70.0000.02711.94
4.3.60.0000.02011.94
4.3.50.0070.02011.94
4.3.40.0000.05311.94
4.3.30.0000.04011.94
4.3.20.0000.03311.94
4.3.10.0030.03311.94
4.3.00.0030.02711.94

preferences:
37.73 ms | 401 KiB | 5 Q