3v4l.org

run code in 300+ PHP versions simultaneously
<?php $token = uniqid('', true); print_r($token); $token = uniqid(mt_rand(), true); print_r($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.10.0070.01114.95
7.4.00.0080.00914.82
7.3.130.0070.01314.87
7.3.120.0020.01314.55
7.3.110.0130.00614.73
7.3.100.0020.01014.50
7.3.90.0110.00514.62
7.3.80.0020.01314.72
7.3.70.0060.00514.77
7.3.60.0030.01014.71
7.3.50.0060.00614.60
7.3.40.0050.00914.44
7.3.30.0060.00914.68
7.3.20.0080.00716.52
7.3.10.0100.01016.16
7.3.00.0140.00616.50
7.2.260.0000.01914.61
7.2.250.0090.00714.92
7.2.240.0070.01214.72
7.2.230.0040.00914.81
7.2.220.0050.00914.94
7.2.210.0040.01114.71
7.2.200.0050.01014.79
7.2.190.0080.00814.88
7.2.180.0060.00315.03
7.2.170.0030.01014.75
7.2.160.0030.00614.70
7.2.150.0090.00916.65
7.2.140.0000.01616.92
7.2.130.0110.00816.41
7.2.120.0190.00616.52
7.2.110.0100.00716.40
7.2.100.0170.00616.50
7.2.90.0220.00816.82
7.2.80.0050.01216.44
7.2.70.0180.00616.50
7.2.60.0100.00716.39
7.2.50.0160.00316.75
7.2.40.0090.00416.50
7.2.30.0120.00916.91
7.2.20.0150.00416.63
7.2.10.0160.01216.70
7.2.00.0130.01117.36
7.1.330.0100.00515.87
7.1.320.0070.00915.60
7.1.310.0100.00415.69
7.1.300.0030.01015.54
7.1.290.0080.00615.72
7.1.280.0050.00815.60
7.1.270.0020.01115.74
7.1.260.0030.00815.63
7.1.250.0050.01215.28
7.1.240.0100.00615.71
7.1.230.0090.00615.80
7.1.220.0060.00915.48
7.1.210.0070.00715.43
7.1.200.0040.01115.59
7.1.190.0060.00615.54
7.1.180.0090.00415.71
7.1.170.0060.00915.92
7.1.160.0090.00015.67
7.1.150.0030.01015.80
7.1.140.0100.00715.86
7.1.130.0080.00815.75
7.1.120.0000.01415.64
7.1.110.0090.00615.65
7.1.100.0030.00816.91
7.1.90.0100.01015.50
7.1.80.0070.00715.66
7.1.70.0060.00516.54
7.1.60.0090.01017.71
7.1.50.0120.00916.39
7.1.40.0040.01215.74
7.1.30.0100.00315.47
7.1.20.0150.00015.86
7.1.10.0040.01515.60
7.1.00.0050.04219.16
7.0.330.0030.00915.56
7.0.320.0100.00615.40
7.0.310.0030.01315.13
7.0.300.0040.00815.58
7.0.290.0100.00615.30
7.0.280.0070.00715.46
7.0.270.0000.01415.24
7.0.260.0100.00015.22
7.0.250.0120.00315.48
7.0.240.0090.00615.20
7.0.230.0030.00815.16
7.0.220.0070.00715.35
7.0.210.0070.01015.02
7.0.200.0080.00216.00
7.0.190.0060.00915.24
7.0.180.0040.00915.18
7.0.170.0030.00715.39
7.0.160.0080.00315.41
7.0.150.0040.01515.45
7.0.140.0030.04018.71
7.0.130.0040.01115.50
7.0.120.0040.00815.31
7.0.110.0070.01015.49
7.0.100.0030.01015.54
7.0.90.0060.00315.46
7.0.80.0090.00315.28
7.0.70.0040.01115.32
7.0.60.0100.04117.59
7.0.50.0100.03216.72
7.0.40.0050.04416.83
7.0.30.0220.04016.71
7.0.20.0220.03716.84
7.0.10.0050.04916.74
7.0.00.0040.04716.64
5.6.400.0000.01513.98
5.6.390.0120.00014.46
5.6.380.0130.00013.97
5.6.370.0060.00914.24
5.6.360.0000.01614.21
5.6.350.0030.01014.37
5.6.340.0000.01414.21
5.6.330.0090.00314.10
5.6.320.0070.00314.04
5.6.310.0120.00314.18
5.6.300.0030.00614.39
5.6.290.0070.00714.41
5.6.280.0060.03917.51
5.6.270.0040.00714.33
5.6.260.0000.01314.07
5.6.250.0050.00514.06
5.6.240.0000.01414.33
5.6.230.0060.00314.12
5.6.220.0030.00614.42
5.6.210.0110.03317.52
5.6.200.0030.02716.16
5.6.190.0120.04017.26
5.6.180.0170.04517.21
5.6.170.0180.02117.27
5.6.160.0100.04717.46
5.6.150.0050.04016.13
5.6.140.0090.04116.26
5.6.130.0070.04516.20
5.6.120.0020.03217.64
5.6.110.0020.03417.76
5.6.100.0130.03817.53
5.6.90.0080.02317.79
5.6.80.0080.04317.23
5.6.70.0030.01014.06
5.6.60.0000.01513.91
5.6.50.0040.01114.35
5.6.40.0030.00914.28
5.6.30.0120.00314.06
5.6.20.0070.00714.02
5.6.10.0030.01014.30
5.6.00.0110.00413.96
5.5.380.0060.01014.30
5.5.370.0090.00613.85
5.5.360.0050.00314.17
5.5.350.0020.05317.43
5.5.340.0020.02716.16
5.5.330.0030.02617.41
5.5.320.0150.03317.29
5.5.310.0180.03017.13
5.5.300.0080.02716.17
5.5.290.0070.03215.86
5.5.280.0020.05117.49
5.5.270.0050.04317.42
5.5.260.0130.04017.53
5.5.250.0080.04017.46
5.5.240.2050.03017.23
5.5.230.0110.00014.20
5.5.220.0080.00814.22
5.5.210.0040.00413.89
5.5.200.0030.00813.86
5.5.190.0070.00714.18
5.5.180.0040.01113.91
5.5.170.0060.00913.98
5.5.160.0160.00013.78
5.5.150.0030.01014.11
5.5.140.0110.00313.71
5.5.130.0060.01214.18
5.5.120.0090.00313.90
5.5.110.0060.00913.84
5.5.100.0030.01314.05
5.5.90.0030.01014.26
5.5.80.0040.01114.22
5.5.70.0000.00814.00
5.5.60.0080.00813.77
5.5.50.0000.01114.16
5.5.40.0000.01613.63
5.5.30.0040.01113.89
5.5.20.0030.01013.96
5.5.10.0060.00914.00
5.5.00.0070.00713.98
5.4.450.0180.02015.04
5.4.440.0250.02515.18
5.4.430.0170.02015.06
5.4.420.0380.02115.22
5.4.410.0230.02115.08
5.4.400.0180.02315.04
5.4.390.0650.02614.98
5.4.380.0030.03814.76
5.4.370.0120.02714.74
5.4.360.0080.02914.66
5.4.350.0100.02914.70
5.4.340.0100.02914.67
5.4.330.0000.01210.83
5.4.320.0030.02211.68
5.4.310.0060.02811.64
5.4.300.0050.02211.64
5.4.290.0050.02511.64
5.4.280.0030.02411.59
5.4.270.0060.01711.59
5.4.260.0050.02311.59
5.4.250.0040.02311.61
5.4.240.0060.01811.60
5.4.230.0040.02111.65
5.4.220.0060.02311.59
5.4.210.0050.02111.59
5.4.200.0040.02211.66
5.4.190.0050.02111.58
5.4.180.0060.02011.59
5.4.170.0060.01711.59
5.4.160.0060.02111.59
5.4.150.0050.02111.59
5.4.140.0060.02011.43
5.4.130.0040.02311.42
5.4.120.0020.02311.43
5.4.110.0040.02311.46
5.4.100.0070.01811.43
5.4.90.0030.02311.40
5.4.80.0070.02211.44
5.4.70.0060.01911.42
5.4.60.0040.02011.40
5.4.50.0040.02011.40
5.4.40.0050.02011.45
5.4.30.0020.02511.39
5.4.20.0030.02011.42
5.4.10.0060.01911.39
5.4.00.0020.02711.17
5.3.290.0040.02311.82
5.3.280.0040.02411.77
5.3.270.0050.02111.78
5.3.260.0040.02311.78
5.3.250.0060.02211.78
5.3.240.0040.02311.77
5.3.230.0040.02311.77
5.3.220.0040.02211.76
5.3.210.0060.02611.75
5.3.200.0070.01811.76
5.3.190.0040.02311.75
5.3.180.0060.02211.75
5.3.170.0040.02311.75
5.3.160.0060.02011.75
5.3.150.0030.02411.75
5.3.140.0060.02111.74
5.3.130.0080.02211.75
5.3.120.0040.02711.75
5.3.110.0040.02311.74
5.3.100.0060.02011.47
5.3.90.0070.02011.46
5.3.80.0050.02511.45
5.3.70.0040.02311.45
5.3.60.0040.02111.45
5.3.50.0050.01811.42
5.3.40.0030.02411.42
5.3.30.0070.02011.39
5.3.20.0030.02311.28
5.3.10.0060.01711.26
5.3.00.0030.02511.26
5.2.170.0020.0349.18
5.2.160.0050.0289.18
5.2.150.0050.0299.19
5.2.140.0040.0309.18
5.2.130.0060.0269.14
5.2.120.0030.0379.14
5.2.110.0040.0299.15
5.2.100.0040.0309.15
5.2.90.0070.0269.14
5.2.80.0060.0299.14
5.2.70.0060.0319.13
5.2.60.0030.0329.10
5.2.50.0020.0329.07
5.2.40.0060.0279.04
5.2.30.0050.0289.01
5.2.20.0060.0329.00
5.2.10.0040.0298.93
5.2.00.0080.0278.79
5.1.60.0040.0238.08
5.1.50.0030.0268.08
5.1.40.0050.0248.05
5.1.30.0050.0358.41
5.1.20.0100.0268.43
5.1.10.0060.0238.16
5.1.00.0020.0288.15
5.0.50.0010.0246.63
5.0.40.0020.0276.49
5.0.30.0030.0326.30
5.0.20.0040.0196.27
5.0.10.0060.0186.25
5.0.00.0030.0316.24
4.4.90.0040.0144.78
4.4.80.0030.0154.76
4.4.70.0070.0284.75
4.4.60.0030.0234.75
4.4.50.0030.0154.77
4.4.40.0030.0254.71
4.4.30.0050.0134.76
4.4.20.0010.0174.84
4.4.10.0020.0174.85
4.4.00.0060.0234.76
4.3.110.0030.0164.67
4.3.100.0050.0134.66
4.3.90.0040.0174.63
4.3.80.0010.0264.59
4.3.70.0040.0214.63
4.3.60.0030.0194.63
4.3.50.0000.0204.63
4.3.40.0030.0244.54
4.3.30.0020.0253.31
4.3.20.0040.0193.29
4.3.10.0040.0253.25
4.3.00.0370.01314.85

preferences:
35.55 ms | 401 KiB | 5 Q