3v4l.org

run code in 300+ PHP versions simultaneously
<?php $token = uniqid('', true); print($token); $token = uniqid(mt_rand(), true); print($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.0030.01615.15
7.4.00.0030.01614.77
7.3.130.0000.01514.96
7.3.120.0120.00614.89
7.3.110.0130.00714.70
7.3.100.0080.00814.76
7.3.90.0110.00314.71
7.3.80.0100.00314.69
7.3.70.0070.00714.82
7.3.60.0030.01314.81
7.3.50.0060.00314.50
7.3.40.0100.00614.48
7.3.30.0060.01314.59
7.3.20.0090.00316.57
7.3.10.0090.00316.56
7.3.00.0030.00816.57
7.2.260.0030.01614.90
7.2.250.0030.01415.01
7.2.240.0040.01114.80
7.2.230.0000.01314.58
7.2.220.0120.00614.85
7.2.210.0030.01314.99
7.2.200.0070.01114.98
7.2.190.0030.00914.79
7.2.180.0110.00714.87
7.2.170.0030.01614.96
7.2.160.0060.00614.87
7.2.150.0100.00716.88
7.2.140.0060.01016.77
7.2.130.0090.00716.75
7.2.120.0040.01016.79
7.2.110.0040.00616.85
7.2.100.0040.01016.76
7.2.90.0060.00716.90
7.2.80.0020.00916.99
7.2.70.0060.00616.82
7.2.60.0040.00916.72
7.2.50.0090.00716.79
7.2.40.0050.01016.78
7.2.30.0070.00716.92
7.2.20.0060.00916.71
7.2.10.0040.01216.67
7.2.00.0050.00917.44
7.1.330.0060.01015.88
7.1.320.0100.00715.68
7.1.310.0070.00715.81
7.1.300.0000.00815.68
7.1.290.0080.00415.72
7.1.280.0060.00915.76
7.1.270.0030.00615.41
7.1.260.0060.00915.79
7.1.250.0020.00915.71
7.1.240.0050.00815.60
7.1.230.0020.01215.72
7.1.220.0050.01115.53
7.1.210.0100.00315.66
7.1.200.0060.00415.65
7.1.190.0050.00715.49
7.1.180.0020.01115.53
7.1.170.0070.00715.76
7.1.160.0060.00615.61
7.1.150.0050.00915.67
7.1.140.0030.00715.72
7.1.130.0040.00915.65
7.1.120.0070.00415.60
7.1.110.0040.00915.68
7.1.100.0090.00515.82
7.1.90.0070.00715.88
7.1.80.0020.01215.58
7.1.70.0040.00816.02
7.1.60.0050.01016.98
7.1.50.0110.00516.12
7.1.40.0040.00815.44
7.1.30.0020.00815.55
7.1.20.0050.00815.63
7.1.10.0090.00715.73
7.1.00.0050.03017.72
7.0.330.0000.01215.18
7.0.320.0030.00915.19
7.0.310.0040.00415.07
7.0.300.0020.01015.09
7.0.290.0050.00915.29
7.0.280.0050.00615.37
7.0.270.0030.00915.12
7.0.260.0050.00715.03
7.0.250.0050.00715.26
7.0.240.0040.00815.29
7.0.230.0030.00815.39
7.0.220.0080.00515.17
7.0.210.0070.00715.44
7.0.200.0060.00315.80
7.0.190.0040.00515.21
7.0.180.0050.00715.24
7.0.170.0010.01115.19
7.0.160.0050.00815.34
7.0.150.0060.00715.30
7.0.140.0070.02717.39
7.0.130.0030.01015.18
7.0.120.0070.00715.48
7.0.110.0100.00315.22
7.0.100.0000.01215.37
7.0.90.0030.01015.37
7.0.80.0070.00715.36
7.0.70.0050.00715.25
7.0.60.0110.02816.90
7.0.50.0060.03216.20
7.0.40.0020.03715.53
7.0.30.0170.02815.69
7.0.20.0090.02115.66
7.0.10.0110.01515.62
7.0.00.0060.02915.60
5.6.400.0060.00614.04
5.6.390.0030.00914.31
5.6.380.0110.00314.22
5.6.370.0080.00414.35
5.6.360.0080.00314.30
5.6.350.0050.00914.10
5.6.340.0050.01114.33
5.6.330.0030.00614.15
5.6.320.0100.00613.98
5.6.310.0100.00614.28
5.6.300.0080.00614.08
5.6.290.0020.00914.30
5.6.280.0050.02716.49
5.6.270.0080.00514.28
5.6.260.0050.00614.19
5.6.250.0100.00214.16
5.6.240.0070.00714.27
5.6.230.0070.00714.20
5.6.220.0000.01114.30
5.6.210.0090.02916.23
5.6.200.0080.03015.77
5.6.190.0030.03116.17
5.6.180.0120.01816.31
5.6.170.0110.03016.29
5.6.160.0060.01916.30
5.6.150.0060.03115.46
5.6.140.0100.01715.40
5.6.130.0080.03215.59
5.6.120.0080.01816.53
5.6.110.0070.03316.38
5.6.100.0100.02916.38
5.6.90.0040.03616.51
5.6.80.0060.02616.20
5.6.70.1150.01816.28
5.6.60.0100.00214.27
5.6.50.0020.00814.10
5.6.40.0020.01114.10
5.6.30.0020.01314.20
5.6.20.0050.01014.06
5.6.10.0050.00914.13
5.6.00.0100.00514.00
5.5.380.0020.01112.71
5.5.370.0060.00612.75
5.5.360.0040.00812.62
5.5.350.0050.03315.23
5.5.340.0080.02914.31
5.5.330.0080.03015.02
5.5.320.1400.01615.20
5.5.310.0090.03315.14
5.5.300.0060.01614.30
5.5.290.0060.02914.47
5.5.280.0030.03015.46
5.5.270.0090.01715.44
5.5.260.0090.02915.31
5.5.250.0060.03015.32
5.5.240.0060.03315.18
5.5.230.0070.00512.60
5.5.220.0020.01012.70
5.5.210.0060.00312.72
5.5.200.0070.00612.66
5.5.190.0040.00912.49
5.5.180.0030.00812.65
5.5.170.0060.00712.50
5.5.160.0030.00912.70
5.5.150.0040.00712.72
5.5.140.0060.00712.60
5.5.130.0030.00912.69
5.5.120.0030.00612.62
5.5.110.0080.00312.68
5.5.100.0070.00612.55
5.5.90.0020.01012.59
5.5.80.0080.00412.63
5.5.70.0050.00512.54
5.5.60.0060.00612.72
5.5.50.0050.00912.53
5.5.40.0060.00312.58
5.5.30.0060.00512.68
5.5.20.0060.00112.70
5.5.10.0000.01312.72
5.5.00.0050.00612.51
5.4.450.0260.02014.42
5.4.440.0200.01314.51
5.4.430.0180.01714.51
5.4.420.0210.01914.52
5.4.410.0120.01814.48
5.4.400.0150.01714.40
5.4.390.0180.01914.34
5.4.380.0040.02814.27
5.4.370.0070.02014.22
5.4.360.0120.01514.20
5.4.350.0050.02314.27
5.4.340.0070.02414.27
5.4.330.0050.00612.06
5.4.320.0060.01512.19
5.4.310.0060.01712.19
5.4.300.0060.01412.19
5.4.290.0060.01612.19
5.4.280.0010.01712.16
5.4.270.0030.01812.16
5.4.260.0040.01612.16
5.4.250.0030.01812.16
5.4.240.0040.01412.16
5.4.230.0060.01812.16
5.4.220.0030.01712.15
5.4.210.0070.01212.16
5.4.200.0060.01512.16
5.4.190.0040.01512.15
5.4.180.0070.01412.15
5.4.170.0040.01512.16
5.4.160.0030.02012.16
5.4.150.0040.01512.16
5.4.140.0030.01612.05
5.4.130.0050.01612.05
5.4.120.0060.01512.03
5.4.110.0040.01712.03
5.4.100.0050.01412.03
5.4.90.0040.01612.03
5.4.80.0070.01512.03
5.4.70.0030.01412.03
5.4.60.0030.01712.03
5.4.50.0020.01612.03
5.4.40.0050.01512.02
5.4.30.0040.01812.03
5.4.20.0020.01812.03
5.4.10.0060.01312.03
5.4.00.0070.01211.86
5.3.290.0030.01812.31
5.3.280.0040.01712.28
5.3.270.0060.01512.28
5.3.260.0030.01812.28
5.3.250.0040.02012.28
5.3.240.0030.01812.28
5.3.230.0050.01512.28
5.3.220.0060.01412.27
5.3.210.0060.01512.27
5.3.200.0030.01712.27
5.3.190.0050.01912.27
5.3.180.0040.02012.27
5.3.170.0020.01912.26
5.3.160.0060.01312.26
5.3.150.0020.01712.27
5.3.140.0080.01512.26
5.3.130.0030.01912.26
5.3.120.0030.01812.26
5.3.110.0020.01912.26
5.3.100.0020.01612.08
5.3.90.0050.01312.07
5.3.80.0070.01412.07
5.3.70.0050.01412.07
5.3.60.0020.01812.06
5.3.50.0030.01712.04
5.3.40.0050.01612.04
5.3.30.0040.01712.02
5.3.20.0020.01711.95
5.3.10.0060.01611.94
5.3.00.0040.01811.93
5.2.170.0030.01810.18
5.2.160.0030.01610.18
5.2.150.0040.01910.18
5.2.140.0040.02110.18
5.2.130.0050.01410.16
5.2.120.0030.02110.16
5.2.110.0020.02010.16
5.2.100.0040.01510.16
5.2.90.0050.01410.16
5.2.80.0060.01510.16
5.2.70.0040.01610.16
5.2.60.0070.01410.13
5.2.50.0010.01910.12
5.2.40.0050.01510.11
5.2.30.0050.01910.10
5.2.20.0060.01510.09
5.2.10.0060.01510.05
5.2.00.0060.0149.98
5.1.60.0030.0139.63
5.1.50.0050.0129.63
5.1.40.0040.0139.62
5.1.30.0040.0159.79
5.1.20.0050.0139.80
5.1.10.0040.0149.66
5.1.00.0030.0149.66
5.0.50.0020.0158.90
5.0.40.0040.0148.83
5.0.30.0050.0188.74
5.0.20.0020.0148.72
5.0.10.0040.0108.71
5.0.00.0020.0188.71
4.4.90.0060.0097.98
4.4.80.0020.0107.97
4.4.70.0040.0097.96
4.4.60.0040.0077.97
4.4.50.0040.0087.97
4.4.40.0020.0177.94
4.4.30.0040.0137.97
4.4.20.0040.0098.01
4.4.10.0020.0128.01
4.4.00.0010.0187.97
4.3.110.0020.0097.92
4.3.100.0030.0107.92
4.3.90.0010.0107.91
4.3.80.0020.0167.88
4.3.70.0020.0137.90
4.3.60.0020.0097.90
4.3.50.0010.0107.90
4.3.40.0020.0167.86
4.3.30.0010.0117.25
4.3.20.0020.0107.23
4.3.10.0020.0117.21
4.3.00.0020.01113.02

preferences:
38.18 ms | 401 KiB | 5 Q