3v4l.org

run code in 300+ PHP versions simultaneously
<?php $token = uniqid('', true); var_dump($token); $token = uniqid(mt_rand(), true); var_dump($token);

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.01214.91
7.3.120.0090.00814.75
7.3.110.0050.01114.60
7.3.100.0050.01014.88
7.3.90.0080.00814.67
7.3.80.0030.01514.86
7.3.70.0020.01114.62
7.3.60.0020.01314.44
7.3.50.0070.00714.64
7.3.40.0040.00714.71
7.3.30.0080.00314.43
7.3.20.0090.00516.50
7.3.10.0050.01216.57
7.3.00.0070.00816.30
7.2.250.0080.01214.80
7.2.240.0060.00914.69
7.2.230.0070.00914.91
7.2.220.0070.01114.99
7.2.210.0020.01314.73
7.2.200.0100.00614.91
7.2.190.0060.01014.88
7.2.180.0030.01014.74
7.2.170.0080.00614.80
7.2.00.0060.00619.10
7.1.330.0050.00915.62
7.1.320.0060.00815.82
7.1.310.0050.01015.69
7.1.300.0060.00515.46
7.1.290.0060.00515.65
7.1.280.0060.00615.84
7.1.270.0020.01215.57
7.1.260.0060.00615.69
7.1.70.0060.00616.93
7.1.60.0100.01319.70
7.1.50.0070.01416.78
7.1.00.0100.06722.31
7.0.200.0030.00616.50
7.0.140.0030.06321.96
7.0.60.0200.09021.82
7.0.50.0070.04717.90
7.0.40.0100.03720.21
7.0.30.0230.08020.04
7.0.20.0130.04720.09
7.0.10.0030.04320.30
7.0.00.0100.08720.16
5.6.280.0030.07321.04
5.6.210.0100.08320.69
5.6.200.0070.08018.12
5.6.190.0030.09320.39
5.6.180.0200.04320.36
5.6.170.0370.04720.41
5.6.160.0070.05720.38
5.6.150.0030.05718.12
5.6.140.0070.08018.11
5.6.130.0070.04318.11
5.6.120.0070.10320.98
5.6.110.0030.05321.11
5.6.100.0100.08021.12
5.6.90.0030.07720.96
5.6.80.0000.04320.39
5.5.350.0230.04020.43
5.5.340.0070.08017.97
5.5.330.0100.05320.37
5.5.320.0230.04720.30
5.5.310.0200.05020.27
5.5.300.0030.08018.01
5.5.290.0030.05718.01
5.5.280.0100.08020.79
5.5.270.0130.06320.75
5.5.260.0130.06020.86
5.5.250.0070.08020.57
5.5.240.0230.06720.25
5.4.450.3800.04719.46
5.4.440.0100.08019.48
5.4.430.1570.07019.47
5.4.420.4570.04319.16
5.4.410.4470.04019.03
5.4.400.4870.03319.14
5.4.390.4300.03719.13
5.4.380.4000.04019.13
5.4.370.3600.04319.01
5.4.360.4170.04018.97
5.4.350.4830.03718.98
5.4.340.4700.03319.14
5.4.320.4900.03019.06
5.4.310.4670.04319.01
5.4.300.4670.03319.15
5.4.290.1330.03019.05
5.4.280.2500.04019.24
5.4.270.3270.03719.04
5.4.260.2770.03719.24
5.4.250.3230.03319.13
5.4.240.3800.03718.83
5.4.230.1000.03719.12
5.4.220.2170.04319.04
5.4.210.2470.03719.18
5.4.200.3770.03719.12
5.4.190.3670.04319.05
5.4.180.3470.04019.04
5.4.170.4200.04318.98
5.4.160.3800.03719.10
5.4.150.4600.03318.82
5.4.140.3770.03316.43
5.4.130.3430.03316.21
5.4.120.4470.03016.32
5.4.110.4230.03716.49
5.4.100.4370.04016.13
5.4.90.4000.03716.46
5.4.80.3570.03716.37
5.4.70.0030.04316.54
5.4.60.0100.07316.43
5.4.50.4730.04016.34
5.4.40.5200.03716.38
5.4.30.4730.03316.36
5.4.20.4370.03716.19
5.4.10.4930.03316.12
5.4.00.4370.04015.82
5.3.290.4730.03714.58
5.3.280.1870.03714.41
5.3.270.3830.04014.53
5.3.260.4630.03714.52
5.3.250.3970.03014.52
5.3.240.4370.03714.61
5.3.230.4270.03314.54
5.3.220.3930.03714.48
5.3.210.3930.03314.49
5.3.200.3830.03714.54
5.3.190.4630.04014.35
5.3.180.4630.03314.52
5.3.170.4130.04314.38
5.3.160.0030.06314.49
5.3.150.2800.03314.48
5.3.140.4170.03314.47
5.3.130.4630.04314.44
5.3.120.4900.03714.47
5.3.110.4900.03714.42
5.3.100.4600.03013.91
5.3.90.4800.03713.84
5.3.80.4830.03713.95
5.3.70.4130.03714.03
5.3.60.3370.04013.93
5.3.50.0030.07713.87
5.3.40.2970.04313.86
5.3.30.4770.03713.83
5.3.20.4870.04013.65
5.3.10.4830.03313.59
5.3.00.4270.04013.57
5.2.170.0030.05311.07
5.2.160.0100.04711.09
5.2.150.4030.02711.04
5.2.140.4100.02711.30
5.2.130.4270.03311.09
5.2.120.4130.03011.03
5.2.110.3570.03711.07
5.2.100.3830.02711.00
5.2.90.2730.03011.03
5.2.80.3670.02711.09
5.2.70.3630.02311.08
5.2.60.3870.02710.92
5.2.50.3370.02711.16
5.2.40.3570.03310.88
5.2.30.3730.02710.82
5.2.20.3370.02711.11
5.2.10.3070.03710.77
5.2.00.2830.03010.77
5.1.60.2870.02710.14
5.1.50.2930.0279.98
5.1.40.3200.03010.11
5.1.30.3630.03310.47
5.1.20.3470.03010.41
5.1.10.3570.03010.20
5.1.00.3370.02710.18
5.0.50.1530.0238.49
5.0.40.1830.0278.55
5.0.30.1670.0338.28
5.0.20.1770.0208.25
5.0.10.2000.0138.27
5.0.00.1530.0308.19
4.4.90.1600.0135.86
4.4.80.1930.0105.81
4.4.70.1900.0135.82
4.4.60.1700.0175.81
4.4.50.1570.0205.86
4.4.40.1730.0235.78
4.4.30.1570.0175.80
4.4.20.1800.0175.88
4.4.10.1500.0135.88
4.4.00.1930.0235.79
4.3.110.1570.0105.79
4.3.100.1570.0175.74
4.3.90.1930.0175.75
4.3.80.1870.0275.83
4.3.70.1830.0175.72
4.3.60.1600.0175.73
4.3.50.1670.0175.72
4.3.40.1930.0275.65
4.3.30.0970.0205.02
4.3.20.1100.0205.03
4.3.10.1070.0205.04
4.3.00.1070.0205.04

preferences:
35.21 ms | 401 KiB | 5 Q