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() == %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.00.0060.01214.98
7.3.120.0030.00914.96
7.3.110.0100.00614.87
7.3.100.0000.01514.92
7.3.90.0000.01414.61
7.3.80.0000.01214.81
7.3.70.0060.00614.83
7.3.60.0070.00714.78
7.3.50.0060.00614.56
7.3.40.0060.00614.72
7.3.30.0000.00914.52
7.3.20.0030.01016.62
7.3.10.0030.01216.93
7.3.00.0030.01316.68
7.2.250.0030.01415.04
7.2.240.0120.00615.17
7.2.230.0000.01214.93
7.2.220.0030.01015.04
7.2.210.0040.01014.96
7.2.200.0000.01415.10
7.2.190.0060.00614.97
7.2.180.0030.00914.98
7.2.170.0070.00715.00
7.2.160.0060.00914.70
7.2.150.0100.00316.84
7.2.140.0070.00716.89
7.2.130.0130.00316.86
7.2.120.0000.00816.71
7.2.110.0030.00716.81
7.2.100.0070.00716.85
7.2.90.0060.00916.85
7.2.80.0080.00616.91
7.2.70.0030.00716.84
7.2.60.0000.01216.99
7.2.50.0100.00016.97
7.2.40.0000.00916.75
7.2.30.0090.00616.81
7.2.20.0060.00616.73
7.2.10.0080.00416.88
7.2.00.0040.00816.36
7.1.330.0090.00315.96
7.1.320.0000.01415.92
7.1.310.0030.01015.77
7.1.300.0000.01215.88
7.1.290.0060.00815.84
7.1.280.0100.00315.98
7.1.270.0030.00915.86
7.1.260.0110.00415.53
7.1.250.0040.00415.59
7.1.70.0000.01117.16
7.1.60.0110.01419.17
7.1.50.0200.00316.95
7.1.00.0000.06022.46
7.0.200.0030.00616.61
7.0.140.0030.07322.10
7.0.110.0070.08721.73
7.0.100.0000.08021.85
7.0.90.0030.08721.74
7.0.80.0000.07321.72
7.0.70.0070.07721.73
7.0.60.0100.07021.46
7.0.50.0070.05021.86
7.0.40.0030.07719.81
7.0.30.0030.08019.86
7.0.20.0030.04719.85
7.0.10.0070.05319.73
7.0.00.0100.03319.59
5.6.280.0070.06721.06
5.6.260.0100.08320.73
5.6.250.0100.05320.88
5.6.240.0000.08720.68
5.6.230.0030.04320.63
5.6.220.0030.08020.68
5.6.210.0000.08720.60
5.6.200.0070.08020.64
5.6.190.0070.08020.82
5.6.180.0100.03320.63
5.6.170.0030.05720.61
5.6.160.0030.04020.70
5.6.150.0000.04320.70
5.6.140.0070.04320.64
5.6.130.0000.06720.64
5.6.120.0030.04020.70
5.6.110.0100.03320.54
5.6.100.0030.04020.59
5.6.90.0070.03720.54
5.6.80.0070.03720.00
5.6.70.0070.07019.95
5.6.60.0030.04019.99
5.6.50.0030.03719.86
5.6.40.0030.04019.93
5.6.30.0030.04020.06
5.6.20.0000.04319.97
5.6.10.0030.04720.04
5.6.00.0100.03319.99
5.5.380.0030.07317.53
5.5.370.0000.08017.58
5.5.360.0030.07717.65
5.5.350.0000.08317.64
5.5.340.0030.08017.85
5.5.330.0030.07318.10
5.5.320.0030.08718.16
5.5.310.0000.07318.16
5.5.300.0070.03718.09
5.5.290.0030.04017.86
5.5.280.0000.04318.02
5.5.270.0070.03718.08
5.5.260.0100.04318.08
5.5.250.0170.02717.67
5.5.240.0070.06717.63
5.5.230.0000.08017.27
5.5.220.0100.06017.26
5.5.210.0030.03717.37
5.5.200.0070.06317.34
5.5.190.0000.07317.21
5.5.180.0030.03717.38
5.5.160.0070.03317.45
5.5.150.0100.03717.37
5.5.140.0000.04017.37
5.5.130.0070.04717.48
5.5.120.0030.03717.35
5.5.110.0000.04017.50
5.5.100.0030.03717.10
5.5.90.0030.03717.25
5.5.80.0030.05317.38
5.5.70.0000.04317.34
5.5.60.0100.03017.25
5.5.50.0000.04017.13
5.5.40.0000.04017.34
5.5.30.0070.03317.39
5.5.20.0000.04017.33
5.5.10.0000.04017.40
5.5.00.0000.04017.39
5.4.450.0070.05319.44
5.4.440.0100.04319.43
5.4.430.0000.04019.50
5.4.420.0000.07019.40
5.4.410.0000.04319.20
5.4.400.0030.03718.95
5.4.390.0030.03719.18
5.4.380.0100.06019.09
5.4.370.0030.04019.25
5.4.360.0000.07318.93
5.4.350.0000.03719.00
5.4.340.0030.05319.16
5.4.320.0000.04319.00
5.4.310.0030.03719.12
5.4.300.0030.03719.07
5.4.290.0030.03718.92
5.4.280.0030.03719.06
5.4.270.0030.03719.07
5.4.260.0070.05019.07
5.4.250.0000.04018.98
5.4.240.0070.03319.17
5.4.230.0100.03019.02
5.4.220.0000.04019.07
5.4.210.0030.03719.15
5.4.200.0030.03718.94
5.4.190.0000.04019.02
5.4.180.0000.04019.23
5.4.170.0070.03318.94
5.4.160.0070.03318.94
5.4.150.0030.03718.94
5.4.140.0070.04716.44
5.4.130.0000.05016.52
5.4.120.0000.05316.22
5.4.110.0030.07016.30
5.4.100.0030.06716.50
5.4.90.0030.03316.36
5.4.80.0030.05316.51
5.4.70.0030.04716.52
5.4.60.0070.07016.21
5.4.50.0070.07316.45
5.4.40.0100.03716.55
5.4.30.0030.06316.37
5.4.20.0000.07716.37
5.4.10.0100.07016.20
5.4.00.0070.04015.64
5.3.290.0070.05314.68
5.3.280.0030.04014.52
5.3.270.0170.02314.53
5.3.260.0030.04014.52
5.3.250.0000.03714.54
5.3.240.0030.04014.66
5.3.230.0030.05014.38
5.3.220.0070.07314.35
5.3.210.0030.07014.50
5.3.200.0000.04314.35
5.3.190.0030.03714.56
5.3.180.0000.07714.44
5.3.170.0030.07314.48
5.3.160.0030.07714.65
5.3.150.0030.04714.55
5.3.140.0000.07714.55
5.3.130.0070.07714.40
5.3.120.0030.05314.64
5.3.110.0030.07314.46
5.3.100.0000.07314.05
5.3.90.0030.07014.05
5.3.80.0070.06713.85
5.3.70.0000.07713.84
5.3.60.0030.03714.07
5.3.50.0030.06314.00
5.3.40.0100.06713.97
5.3.30.0100.05713.77
5.3.20.0000.07713.79
5.3.10.0030.06313.60
5.3.00.0000.07713.65
5.2.170.0000.07011.05
5.2.160.0030.06311.08
5.2.150.0030.05011.16
5.2.140.0030.06311.04
5.2.130.0000.03711.11
5.2.120.0070.05711.00
5.2.110.0000.04711.26
5.2.100.0070.05711.05
5.2.90.0030.04311.26
5.2.80.0000.06311.00
5.2.70.0070.03311.11
5.2.60.0070.05710.99
5.2.50.0000.06010.95
5.2.40.0070.03011.00
5.2.30.0070.06010.91
5.2.20.0030.05010.90
5.2.10.0000.06310.77
5.2.00.0000.06310.66
5.1.60.0000.05710.00
5.1.50.0070.0509.81
5.1.40.0030.0309.96
5.1.30.0070.04310.25
5.1.20.0030.05310.35
5.1.10.0070.03310.31
5.1.00.0100.06310.01
5.0.50.0070.0439.11
5.0.40.0030.0439.11
5.0.30.0070.0609.11
5.0.20.0000.0479.11
5.0.10.0070.0409.11
5.0.00.0030.0639.11
4.4.90.0070.0339.11
4.4.80.0000.0339.11
4.4.70.0000.0209.11
4.4.60.0000.0379.11
4.4.50.0100.0279.11
4.4.40.0030.0279.11
4.4.30.0000.0209.11
4.4.20.0000.0309.11
4.4.10.0000.0379.11
4.4.00.0000.0339.11
4.3.110.0030.0339.11
4.3.100.0030.0339.11
4.3.90.0000.0379.11
4.3.80.0070.0509.11
4.3.70.0030.0309.11
4.3.60.0000.0209.11
4.3.50.0030.0239.11
4.3.40.0000.0539.11
4.3.30.0000.0239.11
4.3.20.0000.0379.11
4.3.10.0100.0279.11
4.3.00.0030.0379.11

preferences:
36.25 ms | 401 KiB | 5 Q