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, $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.0090.00614.91
7.3.120.0090.00914.90
7.3.110.0140.00414.84
7.3.100.0060.01315.01
7.3.90.0000.01314.85
7.3.80.0060.00614.53
7.3.70.0030.00714.75
7.3.60.0040.01114.85
7.3.50.0040.00414.71
7.3.40.0050.00514.81
7.3.30.0040.00814.55
7.3.20.0080.00416.77
7.3.10.0070.00516.33
7.3.00.0080.00716.49
7.2.250.0070.01014.84
7.2.240.0140.00314.92
7.2.230.0080.00815.06
7.2.220.0030.01214.86
7.2.210.0000.01515.18
7.2.200.0090.00615.12
7.2.190.0000.01314.99
7.2.180.0030.01015.08
7.2.170.0000.00915.06
7.2.160.0000.01114.80
7.2.150.0140.00417.03
7.2.140.0030.01016.63
7.2.130.0100.00516.78
7.2.120.0110.00616.65
7.2.110.0080.00716.38
7.2.100.0090.00916.43
7.2.90.0060.00816.47
7.2.80.0050.00916.76
7.2.70.0050.01016.65
7.2.60.0030.00916.64
7.2.50.0080.00916.74
7.2.40.0060.00516.72
7.2.30.0000.01516.85
7.2.20.0100.01016.48
7.2.10.0080.01116.74
7.2.00.0080.01117.74
7.1.330.0040.01115.82
7.1.320.0040.00815.71
7.1.310.0060.00615.94
7.1.300.0030.00715.60
7.1.290.0000.01115.85
7.1.280.0120.00015.92
7.1.270.0070.00715.84
7.1.260.0070.00715.62
7.1.250.0090.00115.66
7.1.240.0030.01015.81
7.1.230.0060.00315.95
7.1.220.0050.00515.73
7.1.210.0060.00915.90
7.1.200.0060.00615.73
7.1.190.0060.00315.49
7.1.180.0000.01315.59
7.1.170.0030.00915.96
7.1.160.0030.00615.95
7.1.150.0060.00615.77
7.1.140.0100.00715.87
7.1.130.0070.00715.86
7.1.120.0040.00715.58
7.1.110.0030.01215.86
7.1.100.0000.01115.91
7.1.90.0060.00615.85
7.1.80.0060.00615.88
7.1.70.0050.00516.52
7.1.60.0070.01117.57
7.1.50.0070.00616.28
7.1.40.0100.00315.82
7.1.30.0080.00315.83
7.1.20.0000.01115.86
7.1.10.0000.01215.84
7.1.00.0030.03219.19
7.0.330.0000.01115.42
7.0.320.0040.00815.47
7.0.310.0030.01315.35
7.0.300.0030.00715.41
7.0.290.0030.01015.46
7.0.280.0030.01115.13
7.0.270.0060.00315.32
7.0.260.0030.00915.44
7.0.250.0060.01215.46
7.0.240.0090.00615.47
7.0.230.0040.00415.50
7.0.220.0030.01015.61
7.0.210.0140.00015.40
7.0.200.0060.00716.08
7.0.190.0030.00715.29
7.0.180.0050.00315.42
7.0.170.0050.00315.27
7.0.160.0090.00315.54
7.0.150.0060.00315.55
7.0.140.0020.03918.75
7.0.130.0000.01415.46
7.0.120.0120.00315.51
7.0.110.0000.00915.57
7.0.100.0000.01515.23
7.0.90.0080.00815.48
7.0.80.0080.04017.62
7.0.70.0210.04617.53
7.0.60.0250.04517.75
7.0.50.0250.03817.89
7.0.40.0070.02516.89
7.0.30.0030.04216.70
7.0.20.0170.01816.90
7.0.10.0050.05016.84
7.0.00.0070.04716.79
5.6.400.0060.00613.96
5.6.390.0060.01014.31
5.6.380.0110.00314.48
5.6.370.0070.00714.23
5.6.360.0040.00414.30
5.6.350.0060.00914.17
5.6.340.0030.01313.94
5.6.330.0060.00614.61
5.6.320.0080.00414.45
5.6.310.0070.00714.21
5.6.300.0060.00314.27
5.6.290.0030.01314.35
5.6.280.0100.03517.71
5.6.270.0040.00414.06
5.6.260.0030.01314.34
5.6.250.0040.01114.09
5.6.240.0050.00514.44
5.6.230.0050.04517.52
5.6.220.0030.02817.39
5.6.210.0020.04817.54
5.6.200.0070.04617.63
5.6.190.0030.04417.68
5.6.180.0120.03817.57
5.6.170.0080.02817.65
5.6.160.0020.03217.65
5.6.150.0100.03517.68
5.6.140.0080.03317.68
5.6.130.0050.04517.59
5.6.120.0080.04517.73
5.6.110.0070.03517.60
5.6.100.0120.03817.70
5.6.90.0090.02417.78
5.6.80.0020.02917.26
5.6.70.0080.03517.21
5.6.60.0090.04017.28
5.6.50.0050.04517.30
5.6.40.0070.04517.33
5.6.30.0110.03517.16
5.6.20.0070.02317.38
5.6.10.0050.03517.33
5.6.00.0070.04017.34
5.5.380.0100.00314.43
5.5.370.0050.04917.25
5.5.360.0030.02617.42
5.5.350.0030.03017.17
5.5.340.0050.04717.43
5.5.330.0070.04217.62
5.5.320.0080.04317.58
5.5.310.0070.04417.66
5.5.300.0030.03317.40
5.5.290.0050.04717.49
5.5.280.0050.04317.58
5.5.270.0030.02817.67
5.5.260.0090.03217.40
5.5.250.0130.03717.40
5.5.240.0050.04417.00
5.5.230.0080.04617.08
5.5.220.0090.02317.13
5.5.210.0050.04217.05
5.5.200.0080.03217.24
5.5.190.0100.04117.17
5.5.180.0070.04217.02
5.5.170.0080.00814.26
5.5.160.0110.04017.11
5.5.150.0060.04217.05
5.5.140.0070.04317.16
5.5.130.0050.04117.04
5.5.120.0100.02316.99
5.5.110.0100.03817.14
5.5.100.0050.04317.17
5.5.90.0110.03817.05
5.5.80.0030.03717.20
5.5.70.0020.04917.16
5.5.60.0050.04517.16
5.5.50.0100.04416.87
5.5.40.0100.04017.06
5.5.30.0070.04217.17
5.5.20.0020.04217.09
5.5.10.0070.03917.15
5.5.00.0060.04517.12
5.4.450.0080.03916.01
5.4.440.0070.03016.02
5.4.430.0050.04316.01
5.4.420.0050.04716.01
5.4.410.0080.04015.93
5.4.400.0100.03515.73
5.4.390.0020.04515.79
5.4.380.0050.02615.79
5.4.370.0020.03715.81
5.4.360.0050.04015.84
5.4.350.0050.04315.85
5.4.340.0050.02315.82
5.4.330.0000.01312.64
5.4.320.0020.03515.88
5.4.310.0110.02015.80
5.4.300.0080.03715.85
5.4.290.0030.04715.89
5.4.280.0050.02715.85
5.4.270.0020.02815.81
5.4.260.0100.03815.86
5.4.250.0020.02915.87
5.4.240.0030.04315.93
5.4.230.0080.03015.84
5.4.220.0070.02515.81
5.4.210.0060.04115.84
5.4.200.0100.04115.80
5.4.190.0020.02715.93
5.4.180.0050.03715.79
5.4.170.0070.03215.88
5.4.160.0070.03115.85
5.4.150.0050.04415.71
5.4.140.0020.04314.52
5.4.130.0030.02914.35
5.4.120.0060.03914.46
5.4.110.0040.03014.43
5.4.100.0070.03014.53
5.4.90.0070.03814.52
5.4.80.0020.03514.44
5.4.70.0050.02914.52
5.4.60.0100.03714.52
5.4.50.0080.03614.49
5.4.40.0050.04014.54
5.4.30.0050.03914.41
5.4.20.0020.04314.47
5.4.10.0070.04014.49
5.4.00.0060.04014.10
5.3.290.0030.03113.65
5.3.280.0080.04013.59
5.3.270.0080.02713.60
5.3.260.0080.02813.54
5.3.250.0030.04613.61
5.3.240.0050.03813.55
5.3.230.0030.03313.59
5.3.220.0030.04313.60
5.3.210.0120.03513.60
5.3.200.0110.03413.60
5.3.190.0040.02913.51
5.3.180.0050.03513.60
5.3.170.0050.03813.57
5.3.160.0040.03713.51
5.3.150.0070.04013.53
5.3.140.0030.03613.57
5.3.130.0020.03413.50
5.3.120.0050.04213.59
5.3.110.0020.02513.59
5.3.100.0090.03213.26
5.3.90.0050.03513.23
5.3.80.0050.03213.20
5.3.70.0070.04013.26
5.3.60.0060.03813.32
5.3.50.0080.03913.17
5.3.40.0070.04113.27
5.3.30.0020.04213.27
5.3.20.0050.04513.13
5.3.10.0050.04213.07
5.3.00.0030.04613.13
5.2.170.0100.05711.55
5.2.160.0030.05011.55
5.2.150.0130.04311.55
5.2.140.0030.06711.55
5.2.130.0000.05711.55
5.2.120.0070.05311.55
5.2.110.0030.04311.55
5.2.100.0030.06311.55
5.2.90.0000.06011.55
5.2.80.0170.04711.55
5.2.70.0000.06011.55
5.2.60.0000.06311.55
5.2.50.0070.05311.55
5.2.40.0000.06311.55
5.2.30.0070.05011.55
5.2.20.0030.06311.55
5.2.10.0070.05711.55
5.2.00.0030.06711.55
5.1.60.0030.05711.55
5.1.50.0000.06011.55
5.1.40.0130.04311.55
5.1.30.0030.05311.55
5.1.20.0100.05011.55
5.1.10.0070.05311.55
5.1.00.0000.06311.55
5.0.50.0100.02011.55
5.0.40.0030.04311.55
5.0.30.0000.04711.55
5.0.20.0100.02311.55
5.0.10.0100.04711.55
5.0.00.0030.05711.55
4.4.90.0000.03011.55
4.4.80.0000.03011.55
4.4.70.0000.02311.55
4.4.60.0030.03711.55
4.4.50.0000.03711.55
4.4.40.0030.05311.55
4.4.30.0000.03711.55
4.4.20.0030.03311.55
4.4.10.0030.03311.55
4.4.00.0070.05311.55
4.3.110.0030.03311.55
4.3.100.0030.03011.55
4.3.90.0030.03311.55
4.3.80.0000.05011.55
4.3.70.0070.02711.55
4.3.60.0030.03711.55
4.3.50.0100.03011.55
4.3.40.0030.05011.55
4.3.30.0030.03711.55
4.3.20.0000.03711.55
4.3.10.0000.03011.55
4.3.00.0070.03311.55

preferences:
35.1 ms | 401 KiB | 5 Q