3v4l.org

run code in 300+ PHP versions simultaneously
<?php $un = "jarrod"; $uid = "1"; $key = uniqid($uid."_"); $ip = "124.168.106.184"; $time = time(); $seed = "some-random-string"; $hash = md5("$seed$uid$ip$time"); print "$key\n"; print "$hash";

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.2.00.0030.01319.38
7.1.70.0000.00717.16
7.1.60.0110.01419.70
7.1.50.0090.00916.54
7.1.00.0000.08022.44
7.0.200.0140.00716.86
7.0.140.0100.06722.09
7.0.80.0500.08019.95
7.0.70.0600.07720.01
7.0.60.0430.07319.88
7.0.50.0500.05020.19
7.0.40.0000.09020.13
7.0.30.0100.05320.09
7.0.20.0130.07020.14
7.0.10.0000.09019.99
7.0.00.0030.08720.07
5.6.280.0100.06721.10
5.6.230.0000.09320.56
5.6.220.0030.04720.57
5.6.210.0100.07720.64
5.6.200.0130.08021.07
5.6.190.0070.08320.88
5.6.180.0030.08720.88
5.6.170.0130.04321.07
5.6.160.0100.05321.01
5.6.150.0000.08321.07
5.6.140.0070.07320.95
5.6.130.0030.08720.94
5.6.120.0100.07321.16
5.6.110.0030.08721.09
5.6.100.0100.09021.09
5.6.90.0070.07321.04
5.6.80.0070.08020.51
5.6.70.0030.04320.41
5.6.60.0030.04020.42
5.6.50.0030.05320.45
5.6.40.0000.09320.30
5.6.30.0130.07020.43
5.6.20.0030.06320.32
5.6.10.0100.08320.38
5.6.00.0000.07020.42
5.5.370.0130.03320.46
5.5.360.0070.08320.42
5.5.350.0100.07720.34
5.5.340.0100.06320.75
5.5.330.0130.05020.88
5.5.320.0030.08320.89
5.5.310.0170.05320.92
5.5.300.0130.07320.82
5.5.290.0130.07720.72
5.5.280.0030.09320.91
5.5.270.0130.07720.87
5.5.260.0030.05720.91
5.5.250.0070.08020.64
5.5.240.0100.04720.20
5.5.230.0070.05020.26
5.5.220.0000.08320.19
5.5.210.0000.07020.10
5.5.200.0070.07020.23
5.5.190.0030.09020.25
5.5.180.0070.08020.14
5.5.160.0070.06720.26
5.5.150.0100.06320.27
5.5.140.0130.07320.07
5.5.130.0100.07020.23
5.5.120.0100.07720.26
5.5.110.0070.05319.94
5.5.100.0030.08720.11
5.5.90.0000.05020.08
5.5.80.0030.06720.15
5.5.70.0170.07320.03
5.5.60.0170.04720.05
5.5.50.0030.08320.05
5.5.40.0070.07320.04
5.5.30.0070.04320.07
5.5.20.0030.07719.95
5.5.10.0100.07020.00
5.5.00.0130.07020.09
5.4.450.0100.07719.47
5.4.440.0170.07019.41
5.4.430.0170.07319.39
5.4.420.0070.05719.43
5.4.410.0030.06319.41
5.4.400.0070.03719.23
5.4.390.0100.04019.11
5.4.380.0100.06319.03
5.4.370.0030.07319.12
5.4.360.0130.06319.14
5.4.350.0030.04318.97
5.4.340.0100.07319.04
5.4.320.0030.08318.95
5.4.310.0170.06719.24
5.4.300.0100.05319.05
5.4.290.0030.07718.96
5.4.280.0070.04719.11
5.4.270.0100.04319.05
5.4.260.0030.04719.09
5.4.250.0100.07719.07
5.4.240.0100.06318.97
5.4.230.0030.07319.09
5.4.220.0070.08019.09
5.4.210.0070.05019.14
5.4.200.0130.07018.89
5.4.190.0030.07319.13
5.4.180.0130.06319.10
5.4.170.0070.05719.20
5.4.160.0100.06718.76
5.4.150.0070.05719.04
5.4.140.0000.04316.36
5.4.130.0100.03716.35
5.4.120.0030.03716.27
5.4.110.0000.06716.44
5.4.100.0100.03016.20
5.4.90.0030.03716.39
5.4.80.0000.03716.46
5.4.70.0000.03716.18
5.4.60.0070.03316.28
5.4.50.0070.03316.41
5.4.40.0100.03016.23
5.4.30.0000.04016.40
5.4.20.0000.03716.28
5.4.10.0000.05316.31
5.4.00.0030.03315.77
5.3.290.0070.08014.64
5.3.280.0000.08714.57
5.3.270.0070.07714.56
5.3.260.0000.06314.47
5.3.250.0100.07014.61
5.3.240.0030.04314.60
5.3.230.0030.08014.58
5.3.220.0000.04014.50
5.3.210.0100.03314.54
5.3.200.0000.05014.53
5.3.190.0100.03014.52
5.3.180.0100.03314.57
5.3.170.0000.04314.41
5.3.160.0000.04014.42
5.3.150.0030.04714.43
5.3.140.0030.03714.56
5.3.130.0000.04314.41
5.3.120.0030.04714.36
5.3.110.0000.04014.52
5.3.100.0030.03714.04
5.3.90.0170.02013.98
5.3.80.0030.03714.00
5.3.70.0070.03013.87
5.3.60.0030.03313.96
5.3.50.0000.03713.80
5.3.40.0170.03013.80
5.3.30.0000.03713.72
5.3.20.0070.03013.54
5.3.10.0000.03713.64
5.3.00.0000.05713.54
5.2.170.0070.02311.08
5.2.160.0030.03010.96
5.2.150.0030.02711.18
5.2.140.0100.05711.13
5.2.130.0070.02310.91
5.2.120.0070.05311.12
5.2.110.0030.04310.94
5.2.100.0030.02710.89
5.2.90.0030.03011.08
5.2.80.0000.03310.94
5.2.70.0000.03011.14
5.2.60.0000.03310.89
5.2.50.0030.03010.97
5.2.40.0000.03010.95
5.2.30.0030.02710.96
5.2.20.0000.03010.89
5.2.10.0000.03010.90
5.2.00.0000.03310.57
5.1.60.0000.0309.82
5.1.50.0030.03010.05
5.1.40.0030.0239.96
5.1.30.0000.02710.26
5.1.20.0030.02710.20
5.1.10.0130.04010.13
5.1.00.0030.05710.11
5.0.50.0100.0238.60
5.0.40.0000.0478.50
5.0.30.0070.0608.25
5.0.20.0030.0478.30
5.0.10.0130.0338.28
5.0.00.0030.0538.14
4.4.90.0000.0177.38
4.4.80.0000.0177.38
4.4.70.0000.0177.38
4.4.60.0070.0107.38
4.4.50.0030.0137.38
4.4.40.0000.0277.38
4.4.30.0030.0137.38
4.4.20.0030.0177.38
4.4.10.0000.0337.38
4.4.00.0000.0577.38
4.3.110.0030.0337.38
4.3.100.0000.0277.38
4.3.90.0070.0337.38
4.3.80.0070.0307.38
4.3.70.0000.0377.38
4.3.60.0000.0237.38
4.3.50.0030.0337.38
4.3.40.0030.0477.38
4.3.30.0030.0337.38
4.3.20.0030.0337.38
4.3.10.0000.0377.38
4.3.00.0000.0307.38

preferences:
32.09 ms | 400 KiB | 5 Q