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 == %d\n", $testseed ); } ?>

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.0050.01015.05
7.3.120.0020.01414.82
7.3.110.0090.00914.92
7.3.100.0070.01014.93
7.3.90.0030.01214.96
7.3.80.0050.00814.79
7.3.70.0080.00314.81
7.3.60.0100.00514.91
7.3.50.0040.00814.85
7.3.40.0090.00514.73
7.3.30.0050.00714.87
7.3.20.0040.01116.75
7.3.10.0080.00616.60
7.3.00.0080.00516.72
7.2.250.0100.00814.92
7.2.240.0050.01415.08
7.2.230.0090.00714.83
7.2.220.0060.00815.16
7.2.210.0050.00914.91
7.2.200.0020.00815.02
7.2.190.0070.01015.06
7.2.180.0020.01315.05
7.2.170.0030.01015.10
7.2.160.0030.01015.00
7.2.150.0070.00416.81
7.2.140.0080.00416.89
7.2.130.0080.00816.66
7.2.120.0060.01216.80
7.2.110.0030.00616.62
7.2.100.0040.00717.05
7.2.90.0060.00617.01
7.2.80.0100.00716.86
7.2.70.0070.00716.58
7.2.60.0110.00717.09
7.2.50.0090.00917.00
7.2.40.0000.01216.94
7.2.30.0030.01016.65
7.2.20.0030.01516.87
7.2.10.0030.01016.68
7.2.00.0070.00316.96
7.1.330.0090.00715.94
7.1.320.0080.00615.96
7.1.310.0030.00615.64
7.1.300.0040.00615.57
7.1.290.0060.00615.54
7.1.280.0070.00515.83
7.1.270.0050.00815.75
7.1.260.0060.00715.88
7.1.250.0070.01015.67
7.1.240.0000.01515.61
7.1.230.0070.00715.88
7.1.220.0040.01115.76
7.1.210.0070.00715.88
7.1.200.0030.01315.98
7.1.190.0040.00815.84
7.1.180.0030.01015.82
7.1.170.0090.00615.84
7.1.160.0000.01215.94
7.1.150.0000.01715.80
7.1.140.0070.00715.83
7.1.130.0030.01415.86
7.1.120.0070.00715.79
7.1.110.0000.01315.95
7.1.100.0090.00615.66
7.1.90.0030.01315.88
7.1.80.0060.00915.75
7.1.70.0000.00916.35
7.1.60.0080.01017.41
7.1.50.0110.00416.13
7.1.40.0030.00615.75
7.1.30.0060.00915.82
7.1.20.0100.00715.84
7.1.10.0080.00315.85
7.1.00.0070.03818.99
7.0.330.0080.00415.63
7.0.320.0040.01115.35
7.0.310.0050.00515.45
7.0.300.0000.00915.39
7.0.290.0000.01215.39
7.0.280.0100.00615.44
7.0.270.0000.01115.54
7.0.260.0070.00715.47
7.0.250.0030.01015.54
7.0.240.0000.00915.55
7.0.230.0040.01215.58
7.0.220.0000.00815.56
7.0.210.0090.00415.31
7.0.200.0060.00615.95
7.0.190.0070.01015.66
7.0.180.0030.00615.50
7.0.170.0060.00315.50
7.0.160.0090.00615.21
7.0.150.0030.01015.56
7.0.140.0080.03818.86
7.0.130.0060.00615.32
7.0.120.0130.00015.29
7.0.110.0030.01215.46
7.0.100.0030.02917.79
7.0.90.0060.02717.68
7.0.80.0000.02917.59
7.0.70.0060.02917.81
7.0.60.0030.03517.69
7.0.50.0070.03217.93
7.0.40.0080.02416.80
7.0.30.0070.02516.81
7.0.20.0080.02316.75
7.0.10.0070.02816.84
7.0.00.0100.03016.84
5.6.400.0030.01214.52
5.6.390.0060.00614.27
5.6.380.0040.01114.12
5.6.370.0060.00314.55
5.6.360.0030.01014.52
5.6.350.0040.01214.19
5.6.340.0090.00914.13
5.6.330.0060.00614.27
5.6.320.0070.01014.57
5.6.310.0000.00914.10
5.6.300.0030.01014.50
5.6.290.0040.00414.25
5.6.280.0060.04117.73
5.6.270.0070.01114.55
5.6.260.0110.00714.57
5.6.250.0070.02817.62
5.6.240.0080.02517.57
5.6.230.0040.04917.56
5.6.220.0090.02317.42
5.6.210.0030.02617.42
5.6.200.0020.03017.76
5.6.190.0060.03417.48
5.6.180.0100.02517.53
5.6.170.0020.03417.85
5.6.160.0070.02417.66
5.6.150.0080.04017.54
5.6.140.0110.02317.73
5.6.130.0080.02017.53
5.6.120.0080.04317.54
5.6.110.0090.03217.68
5.6.100.0020.04517.60
5.6.90.0050.03217.61
5.6.80.0070.02817.18
5.6.70.0100.03317.31
5.6.60.0050.02817.32
5.6.50.0050.03517.44
5.6.40.0090.02417.22
5.6.30.0100.03217.24
5.6.20.0030.03117.26
5.6.10.0030.03317.22
5.6.00.0060.02317.20
5.5.380.0130.02717.46
5.5.370.0090.02217.37
5.5.360.0080.02917.31
5.5.350.0050.02717.19
5.5.340.0050.02317.37
5.5.330.0030.03517.54
5.5.320.0080.02717.60
5.5.310.0030.02717.44
5.5.300.0110.02117.53
5.5.290.0060.02617.54
5.5.280.0090.04017.37
5.5.270.0050.03317.31
5.5.260.0070.03217.35
5.5.250.0140.04017.58
5.5.240.0050.02817.04
5.5.230.0070.02717.21
5.5.220.0090.03117.29
5.5.210.0060.02317.13
5.5.200.0020.02817.29
5.5.190.0080.03717.28
5.5.180.0050.02617.10
5.5.170.0030.00814.08
5.5.160.0020.02917.22
5.5.150.0070.03317.26
5.5.140.0040.02917.12
5.5.130.0000.03617.27
5.5.120.0050.04017.04
5.5.110.0100.02517.28
5.5.100.0020.02617.04
5.5.90.0070.03517.21
5.5.80.0070.02317.12
5.5.70.0030.02717.21
5.5.60.0060.02217.26
5.5.50.0080.03416.95
5.5.40.0070.02517.01
5.5.30.0080.02316.85
5.5.20.0060.03017.30
5.5.10.0070.02517.16
5.5.00.0030.02816.97
5.4.450.0030.02316.40
5.4.440.0050.04416.41
5.4.430.0080.03816.48
5.4.420.0100.03416.33
5.4.410.0070.03716.39
5.4.400.0070.02816.26
5.4.390.0030.02716.34
5.4.380.0050.03416.29
5.4.370.0070.01816.35
5.4.360.0080.03216.39
5.4.350.0020.02916.20
5.4.340.0050.02316.31
5.4.330.0030.00713.55
5.4.320.0030.03616.31
5.4.310.0070.03616.26
5.4.300.0050.02716.25
5.4.290.0020.04016.25
5.4.280.0040.03316.27
5.4.270.0080.02516.27
5.4.260.0060.03616.39
5.4.250.0050.02316.23
5.4.240.0080.02216.30
5.4.230.0070.02216.33
5.4.220.0060.02616.22
5.4.210.0050.03716.32
5.4.200.0050.03116.29
5.4.190.0030.02816.33
5.4.180.0100.03516.26
5.4.170.0050.02316.26
5.4.160.0030.02516.29
5.4.150.0030.02916.33
5.4.140.0030.02414.96
5.4.130.0050.03214.92
5.4.120.0080.02814.95
5.4.110.0090.02014.88
5.4.100.0070.03414.98
5.4.90.0050.03814.91
5.4.80.0000.03114.96
5.4.70.0060.03114.92
5.4.60.0100.01714.98
5.4.50.0000.04014.89
5.4.40.0070.02914.95
5.4.30.0070.02814.89
5.4.20.0070.02514.98
5.4.10.0070.03214.87
5.4.00.0050.03314.67
5.3.290.0030.02814.04
5.3.280.0070.02014.04
5.3.270.0070.02114.06
5.3.260.0070.02214.07
5.3.250.0130.03514.01
5.3.240.0050.03514.07
5.3.230.0050.02613.99
5.3.220.0080.03814.06
5.3.210.0070.04314.04
5.3.200.0050.04014.05
5.3.190.0060.03613.97
5.3.180.0030.02913.98
5.3.170.0030.02013.99
5.3.160.0060.03114.05
5.3.150.0070.03914.03
5.3.140.0030.03413.98
5.3.130.0020.03214.04
5.3.120.0050.02314.05
5.3.110.0030.03213.97
5.3.100.0060.02313.78
5.3.90.0040.04013.79
5.3.80.0050.02413.71
5.3.70.0120.03013.66
5.3.60.0090.02013.78
5.3.50.0030.04313.71
5.3.40.0030.04313.68
5.3.30.0090.03313.70
5.3.20.0090.03213.62
5.3.10.0000.02813.61
5.3.00.0070.03913.61
5.2.170.0030.04713.67
5.2.160.0170.04313.67
5.2.150.0030.03713.67
5.2.140.0070.05013.67
5.2.130.0030.05013.67
5.2.120.0000.04013.67
5.2.110.0030.05313.67
5.2.100.0030.05013.67
5.2.90.0100.05713.67
5.2.80.0030.05013.67
5.2.70.0070.04713.67
5.2.60.0000.03313.67
5.2.50.0000.03313.67
5.2.40.0030.05013.67
5.2.30.0000.05713.67
5.2.20.0100.04713.67
5.2.10.0100.04313.67
5.2.00.0030.05313.67
5.1.60.0030.05013.67
5.1.50.0030.05713.67
5.1.40.0030.02313.67
5.1.30.0070.02313.67
5.1.20.0100.05013.67
5.1.10.0100.02713.67
5.1.00.0000.04313.67
5.0.50.0070.04013.67
5.0.40.0070.04313.67
5.0.30.0030.05313.67
5.0.20.0130.03713.67
5.0.10.0030.04713.67
5.0.00.0100.05713.67
4.4.90.0000.02013.67
4.4.80.0000.01713.67
4.4.70.0030.02013.67
4.4.60.0000.02013.67
4.4.50.0000.01713.67
4.4.40.0000.05713.67
4.4.30.0030.03013.67
4.4.20.0030.03013.67
4.4.10.0030.03713.67
4.4.00.0030.05713.67
4.3.110.0030.03713.67
4.3.100.0070.03013.67
4.3.90.0070.03013.67
4.3.80.0070.04713.67
4.3.70.0070.02013.67
4.3.60.0070.02313.67
4.3.50.0070.01313.67
4.3.40.0000.05313.67
4.3.30.0000.02013.67
4.3.20.0000.03713.67
4.3.10.0070.03313.67
4.3.00.0000.02013.67

preferences:
36.29 ms | 401 KiB | 5 Q