3v4l.org

run code in 300+ PHP versions simultaneously
<?php print("Seeding the generator<BR>"); mt_srand((double)microtime() * 1000000); print("With no arguments: " . mt_rand() . "<BR>"); print("With no arguments: " . mt_rand() . "<BR>"); print("With no arguments: " . mt_rand() . "<BR>"); ?>

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.10.0040.00816.36
7.3.00.0090.00316.65
7.2.130.0070.00716.93
7.2.120.0000.01116.54
7.2.110.0000.01416.94
7.2.100.0030.01216.86
7.2.90.0070.01016.62
7.2.80.0060.01216.74
7.2.70.0040.00416.86
7.2.60.0100.00017.04
7.2.50.0030.01416.90
7.2.40.0050.00816.96
7.2.30.0030.01416.81
7.2.20.0060.00617.10
7.2.10.0070.00716.85
7.2.00.0060.00818.03
7.1.250.0030.00715.69
7.1.70.0000.01017.14
7.1.60.0090.01519.50
7.1.50.0090.01216.90
7.1.00.0030.07722.43
7.0.200.0630.00314.16
7.0.140.0070.06722.21
7.0.60.0070.05719.90
7.0.50.0030.05717.80
7.0.40.0130.07719.92
7.0.30.0370.07720.13
7.0.20.0370.07020.16
7.0.10.0070.08720.12
7.0.00.0100.04720.20
5.6.280.0030.07321.10
5.6.210.0100.06020.62
5.6.200.0000.06718.12
5.6.190.0070.08020.40
5.6.180.0130.04720.45
5.6.170.0200.06320.50
5.6.160.0100.08020.51
5.6.150.0070.08018.22
5.6.140.0030.07718.07
5.6.130.0100.07318.15
5.6.120.0130.07721.09
5.6.110.0100.07020.98
5.6.100.0070.07021.02
5.6.90.0100.09021.00
5.6.80.0130.07020.52
5.6.70.4200.04320.34
5.5.350.0130.08020.32
5.5.340.0000.04317.93
5.5.330.0100.08020.14
5.5.320.0030.04020.34
5.5.310.0270.05020.21
5.5.300.0170.04717.89
5.5.290.0070.07717.96
5.5.280.0100.03720.77
5.5.270.0130.05720.75
5.5.260.0130.07720.88
5.5.250.0030.04020.54
5.5.240.0200.06020.18
5.4.450.1430.04019.42
5.4.440.1270.04019.54
5.4.430.1070.04019.10
5.4.420.0030.06019.45
5.4.410.0070.06318.95
5.4.400.0800.07718.68
5.4.390.0930.06018.61
5.4.380.0930.05018.71
5.4.370.1000.05718.68
5.4.360.0870.06718.59
5.4.350.0870.06018.72
5.4.340.0200.05718.71
5.4.320.0830.06718.71
5.4.310.1170.05318.52
5.4.300.0970.05318.74
5.4.290.1230.06718.58
5.4.280.1130.06018.74
5.4.270.0970.06718.57
5.4.260.0770.05718.47
5.4.250.0970.06018.73
5.4.240.0400.05318.70
5.4.230.1100.06018.57
5.4.220.1100.06318.60
5.4.210.1170.06718.44
5.4.200.0900.05716.55
5.4.190.1070.04718.63
5.4.180.0600.06318.47
5.4.170.1000.07718.72
5.4.160.1000.07318.59
5.4.150.1100.06018.69
5.4.140.0800.06716.27
5.4.130.1100.05016.07
5.4.120.1200.04716.21
5.4.110.1170.06716.16
5.4.100.0930.07316.07
5.4.90.1030.05316.11
5.4.80.1030.05716.29
5.4.70.0800.05716.23
5.4.60.0900.05716.13
5.4.50.1370.03716.00
5.4.40.1070.05016.26
5.4.30.1800.05316.28
5.4.20.0930.06016.31
5.4.10.0970.05016.26
5.4.00.1100.06015.59
5.3.290.1200.06714.66
5.3.280.1130.05014.48
5.3.270.1100.07714.60
5.3.260.1130.07314.67
5.3.250.1000.07014.57
5.3.240.1270.07314.54
5.3.230.1400.06714.68
5.3.220.1130.07014.65
5.3.210.1000.07314.46
5.3.200.1100.07314.64
5.3.190.1100.07714.45
5.3.180.0670.06714.64
5.3.170.0300.06714.46
5.3.160.1200.06314.64
5.3.150.1370.06314.63
5.3.140.1470.07014.59
5.3.130.4530.06714.45
5.3.120.1200.05714.57
5.3.110.0930.08314.45
5.3.100.0900.06014.08
5.3.90.0600.05713.99
5.3.80.1170.05313.90
5.3.70.1070.04713.96
5.3.60.0900.07014.03
5.3.50.0900.06013.89
5.3.40.0800.07013.97
5.3.30.0930.06013.90
5.3.20.1130.05013.59
5.3.10.1100.06713.60
5.3.00.0900.05013.73
5.2.170.0730.04011.18
5.2.160.0870.05311.17
5.2.150.0800.04711.16
5.2.140.0600.05311.17
5.2.130.0770.05311.13
5.2.120.0770.04311.03
5.2.110.0970.05011.14
5.2.100.0700.05011.15
5.2.90.0730.05711.10
5.2.80.0770.06711.09
5.2.70.0730.05711.15
5.2.60.0700.05010.95
5.2.50.0770.05311.14
5.2.40.0700.04310.92
5.2.30.0770.04710.96
5.2.20.0670.04311.09
5.2.10.0400.04711.03
5.2.00.0770.05010.83
5.1.60.0830.04310.16
5.1.50.0900.03710.05
5.1.40.0670.03310.10
5.1.30.0670.04310.43
5.1.20.0530.04310.43
5.1.10.0570.04710.08
5.1.00.0700.04710.09
5.0.50.0470.0278.73
5.0.40.0470.0238.48
5.0.30.0330.0578.40
5.0.20.0330.0308.37
5.0.10.0300.0438.16
5.0.00.0270.0608.25
4.4.90.0400.0235.86
4.4.80.0430.0275.89
4.4.70.0370.0335.87
4.4.60.0370.0305.85
4.4.50.0400.0335.93
4.4.40.0300.0435.94
4.4.30.0370.0305.87
4.4.20.0300.0305.92
4.4.10.0330.0375.98
4.4.00.0400.0335.91
4.3.110.0430.0305.93
4.3.100.0270.0205.80
4.3.90.0330.0305.91
4.3.80.0330.0475.85
4.3.70.0500.0275.79
4.3.60.0370.0235.85
4.3.50.0300.0235.78
4.3.40.0570.0235.79
4.3.30.0100.0374.54
4.3.20.0300.0274.55
4.3.10.0370.0274.49
4.3.00.0230.01713.87

preferences:
39.27 ms | 401 KiB | 5 Q