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_rand( $testseed ); $r = mt_rand(); printf( "rand() == 0x%08x == %d\n", $testseed, $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.1.70.0520.01015.41
7.1.60.0340.00615.45
7.1.50.0140.00316.90
7.1.40.0090.00416.38
7.1.30.0110.00516.38
7.1.20.0050.01016.43
7.1.10.0110.00216.65
7.1.00.0070.00716.67
7.0.200.1320.00716.57
7.0.190.0060.00616.36
7.0.180.0100.00416.14
7.0.170.0080.01216.20
7.0.160.0030.01016.43
7.0.150.0120.00616.25
7.0.140.0070.00716.41
7.0.130.0060.00816.59
7.0.120.0080.00516.72
7.0.110.0050.00816.54
7.0.100.0000.01216.15
7.0.90.0070.00716.41
7.0.80.0070.00716.41
7.0.70.0040.00916.51
7.0.60.0080.00415.96
7.0.50.0060.01216.55
7.0.40.0090.00914.98
7.0.30.0120.00014.98
7.0.20.0070.00714.98
7.0.10.0080.00414.98
7.0.00.0000.01914.98
5.6.300.0090.04320.89
5.6.290.0030.05020.82
5.6.280.0000.05020.84
5.6.270.0090.03920.76
5.6.260.0130.04321.02
5.6.250.0220.03920.97
5.6.240.0110.04420.86
5.6.230.0180.03920.82
5.6.220.0070.07921.00
5.6.210.0100.06920.59
5.6.200.0150.04820.82
5.6.190.0030.09920.95
5.6.180.0130.03920.95
5.6.170.0000.06620.71
5.6.160.0090.04420.80
5.6.150.0090.03720.74
5.6.140.0060.04420.81
5.6.130.0000.07420.81
5.6.120.0000.05520.76
5.6.110.0030.05020.85
5.6.100.0080.04620.81
5.6.90.0070.05520.96
5.6.80.0030.04620.21
5.6.70.0160.04220.14
5.6.60.0120.04320.40
5.6.50.0040.04420.42
5.6.40.0000.05220.09
5.6.30.0060.04020.22
5.6.20.0000.05420.38
5.6.10.0080.04120.30
5.6.00.0070.06820.26
5.5.380.0130.03717.58
5.5.370.0070.03817.46
5.5.360.0070.07517.44
5.5.350.0100.07217.60
5.5.340.0030.06518.04
5.5.330.0030.05617.72
5.5.320.0070.03618.02
5.5.310.0000.04917.95
5.5.300.0130.03218.05
5.5.290.0070.04017.96
5.5.280.0000.04317.95
5.5.270.0000.05218.08
5.5.260.0030.05117.73
5.5.250.0000.04717.51
5.5.240.0030.04717.09
5.5.230.0270.03417.39
5.5.220.0030.05317.41
5.5.210.0030.04717.40
5.5.200.0000.04717.33
5.5.190.0060.04117.35
5.5.180.0160.03517.32
5.5.160.0100.03317.18
5.5.150.0030.04617.18
5.5.140.0070.06217.41
5.5.130.0170.03817.41
5.5.120.0100.03417.31
5.5.110.0000.06617.37
5.5.100.0130.04617.22
5.5.90.0000.05017.25
5.5.80.0030.04317.30
5.5.70.0120.05816.92
5.5.60.0060.03917.30
5.5.50.0090.03717.18
5.5.40.0000.05017.27
5.5.30.0120.03116.94
5.5.20.0070.03517.18
5.5.10.0030.04217.30
5.5.00.0030.04417.26
5.4.450.0030.05219.37
5.4.440.0030.04119.40
5.4.430.0000.05219.37
5.4.420.0070.04419.40
5.4.410.0100.03919.02
5.4.400.0130.03718.83
5.4.390.0040.04319.14
5.4.380.0030.04619.00
5.4.370.0070.04019.07
5.4.360.0130.03319.01
5.4.350.0090.03419.07
5.4.340.0060.05019.17
5.4.320.0070.03918.91
5.4.310.0090.03419.19
5.4.300.0100.03918.91
5.4.290.0030.04319.00
5.4.280.0030.04218.85
5.4.270.0100.04219.14
5.4.260.0040.04019.09
5.4.250.0070.04319.00
5.4.240.0130.04319.06
5.4.230.0120.05918.82
5.4.220.0030.04318.87
5.4.210.0040.03719.13
5.4.200.0100.04819.01
5.4.190.0070.03818.96
5.4.180.0040.03719.10
5.4.170.0070.04119.05
5.4.160.0090.03618.97
5.4.150.0280.04219.12
5.4.140.0070.04016.33
5.4.130.0070.03116.61
5.4.120.0090.03216.56
5.4.110.0030.03816.58
5.4.100.0040.03916.42
5.4.90.0030.04516.58
5.4.80.0070.03716.65
5.4.70.0070.03816.48
5.4.60.0060.03816.62
5.4.50.0000.04516.32
5.4.40.0070.04416.64
5.4.30.0000.03716.54
5.4.20.0000.04016.34
5.4.10.0030.04216.31
5.4.00.0030.03515.84
5.3.290.0000.04314.98
5.3.280.0060.06014.98
5.3.270.0030.04714.98
5.3.260.0030.04114.98
5.3.250.0030.04114.98
5.3.240.0030.03614.98
5.3.230.0000.04914.98
5.3.220.0000.04214.98
5.3.210.0030.03814.98
5.3.200.0190.03614.98
5.3.190.0000.04814.98
5.3.180.0030.05514.98
5.3.170.0060.03514.98
5.3.160.0070.03514.98
5.3.150.0060.03514.98
5.3.140.0060.04114.98
5.3.130.0100.03014.98
5.3.120.0000.04014.98
5.3.110.0090.05614.98
5.3.100.0040.03514.98
5.3.90.0060.03214.98
5.3.80.0100.05214.98
5.3.70.0030.03514.98
5.3.60.0040.04014.98
5.3.50.0000.03914.98
5.3.40.0160.04114.98
5.3.30.0040.04714.98
5.3.20.0000.04614.98
5.3.10.0030.04114.98
5.3.00.0100.04214.98

preferences:
37.35 ms | 401 KiB | 5 Q