3v4l.org

run code in 300+ PHP versions simultaneously
<?php $salt = uniqid(); $hash = hash('sha256', $salt.'123456'); var_dump($salt, $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.4.00.0040.01414.81
7.3.120.0030.01314.87
7.3.110.0080.00814.68
7.3.100.0060.00614.71
7.3.90.0030.01014.55
7.3.80.0070.01014.70
7.3.70.0070.00414.36
7.3.60.0070.01014.64
7.3.50.0080.00414.42
7.3.40.0030.01314.85
7.3.30.0100.00314.82
7.3.20.0070.01016.54
7.3.10.0090.00616.46
7.3.00.0100.00316.54
7.2.250.0070.01314.89
7.2.240.0130.00714.99
7.2.230.0070.01014.72
7.2.220.0060.00614.98
7.2.210.0030.01214.69
7.2.200.0130.00315.07
7.2.190.0120.00315.00
7.2.180.0030.00614.97
7.2.170.0000.01114.93
7.2.00.0060.00619.07
7.1.330.0030.00715.64
7.1.320.0070.00715.53
7.1.310.0100.00315.84
7.1.300.0060.00615.73
7.1.290.0000.01215.69
7.1.280.0030.01315.77
7.1.270.0120.00315.74
7.1.260.0130.00315.88
7.1.70.0040.00417.16
7.1.60.0160.01019.40
7.1.50.0110.01116.95
7.1.00.0000.03722.57
7.0.200.0040.00416.73
7.0.140.0030.07321.95
7.0.70.0070.08021.76
7.0.60.0070.07721.82
7.0.50.0100.08322.05
7.0.40.0100.05020.13
7.0.30.0130.07320.14
7.0.20.0130.07720.18
7.0.10.0170.07019.94
7.0.00.0030.08320.09
5.6.280.0000.07721.03
5.6.220.0100.08020.65
5.6.210.0070.08720.74
5.6.200.0000.05321.05
5.6.190.0030.08721.16
5.6.180.0100.07721.00
5.6.170.0030.07720.95
5.6.160.0030.09021.00
5.6.150.0070.07721.13
5.6.140.0000.08721.00
5.6.130.0070.07721.03
5.6.120.0030.09021.03
5.6.110.0100.07720.92
5.6.100.0070.05320.98
5.6.90.0030.05321.00
5.6.80.0070.07720.47
5.6.70.0000.08320.43
5.6.60.0000.08320.38
5.6.50.0070.05320.48
5.6.40.0130.07320.29
5.6.30.0000.05720.30
5.6.20.0070.07720.48
5.6.10.0030.08020.40
5.6.00.0000.06020.28
5.5.360.0070.08720.33
5.5.350.0000.09020.36
5.5.340.0030.05320.91
5.5.330.0000.09020.86
5.5.320.0130.08020.82
5.5.310.0070.07320.87
5.5.300.0000.07720.85
5.5.290.0030.07020.85
5.5.280.0070.08020.81
5.5.270.0030.07320.62
5.5.260.0030.04320.80
5.5.250.0170.07320.64
5.5.240.0100.07020.29
5.5.230.0070.07720.20
5.5.220.0030.08020.10
5.5.210.0100.07320.14
5.5.200.0070.05720.17
5.5.190.0070.04020.17
5.5.180.0100.07720.13
5.5.160.0030.05020.17
5.5.150.0070.07719.96
5.5.140.0030.08320.25
5.5.130.0000.08720.11
5.5.120.0000.08020.15
5.5.110.0030.08319.94
5.5.100.0030.08020.06
5.5.90.0100.07020.01
5.5.80.0030.07719.96
5.5.70.0030.08320.08
5.5.60.0000.07720.11
5.5.50.0130.06720.05
5.5.40.0070.07020.05
5.5.30.0000.06020.12
5.5.20.0000.06320.13
5.5.10.0070.08320.10
5.5.00.0100.06020.07
5.4.450.0100.08019.56
5.4.440.0000.08719.40
5.4.430.0030.08019.13
5.4.420.0000.08319.35
5.4.410.0070.03319.43
5.4.400.0130.05019.10
5.4.390.0170.07019.02
5.4.380.0030.07718.98
5.4.370.0000.08018.81
5.4.360.0030.04319.12
5.4.350.0030.07719.05
5.4.340.0070.07318.96
5.4.320.0000.07319.13
5.4.310.0070.08018.81
5.4.300.0030.08018.96
5.4.290.0000.07319.11
5.4.280.0030.07718.98
5.4.270.0130.06718.90
5.4.260.0100.07319.14
5.4.250.0100.04718.78
5.4.240.0070.07318.80
5.4.230.0130.07019.02
5.4.220.0030.07718.97
5.4.210.0000.08318.97
5.4.200.0030.04019.05
5.4.190.0070.03318.96
5.4.180.0030.07719.04
5.4.170.0000.08319.08
5.4.160.0170.06319.20
5.4.150.0070.08018.79
5.4.140.0100.07316.32
5.4.130.0030.07316.38
5.4.120.0000.04716.37
5.4.110.0000.08016.27
5.4.100.0030.07316.21
5.4.90.0000.07316.33
5.4.80.0030.07716.43
5.4.70.0070.06016.40
5.4.60.0070.07016.39
5.4.50.0030.05716.40
5.4.40.0030.07316.38
5.4.30.0030.05316.23
5.4.20.0070.06716.18
5.4.10.0000.08016.18
5.4.00.0000.07715.71
5.3.290.0030.08014.52
5.3.280.0130.06314.56
5.3.270.0000.08714.54
5.3.260.0100.07714.46
5.3.250.0000.07014.47
5.3.240.0070.07014.57
5.3.230.0070.04714.43
5.3.220.0000.07714.55
5.3.210.0070.06714.57
5.3.200.0070.07014.51
5.3.190.0070.07014.42
5.3.180.0030.06314.55
5.3.170.0070.07314.55
5.3.160.0030.08014.39
5.3.150.0170.06714.55
5.3.140.0070.05314.49
5.3.130.0070.07714.40
5.3.120.0130.07314.54
5.3.110.0070.07714.52
5.3.100.0100.06313.99
5.3.90.0030.07313.87
5.3.80.0030.06714.00
5.3.70.0070.07013.97
5.3.60.0030.07313.96
5.3.50.0030.07013.90
5.3.40.0000.07013.71
5.3.30.0000.07313.85
5.3.20.0000.07313.55
5.3.10.0070.06013.51
5.3.00.0000.08013.39
5.2.170.0030.06712.25
5.2.160.0070.06012.25
5.2.150.0030.05712.25
5.2.140.0000.05712.25
5.2.130.0030.06312.25
5.2.120.0030.05712.25
5.2.110.0030.05712.25
5.2.100.0000.06012.25
5.2.90.0100.05312.25
5.2.80.0000.06012.25
5.2.70.0030.06312.25
5.2.60.0000.05012.25
5.2.50.0000.06712.25
5.2.40.0030.06012.25
5.2.30.0030.06712.25
5.2.20.0030.05012.25
5.2.10.0000.05312.25
5.2.00.0030.06012.25
5.1.60.0030.04712.25
5.1.50.0000.05312.25
5.1.40.0030.05312.25
5.1.30.0030.06012.25
5.1.20.0000.06012.25
5.1.10.0030.05012.25
5.1.00.0000.06012.25
5.0.50.0000.04712.25
5.0.40.0030.04312.25
5.0.30.0000.05312.25
5.0.20.0030.03712.25
5.0.10.0000.04712.25
5.0.00.0030.06712.25
4.4.90.0030.03312.25
4.4.80.0000.03712.25
4.4.70.0000.02712.25
4.4.60.0000.03012.25
4.4.50.0030.03712.25
4.4.40.0130.03712.25
4.4.30.0030.03312.25
4.4.20.0000.03712.25
4.4.10.0030.03312.25
4.4.00.0030.05012.25
4.3.110.0070.03012.25
4.3.100.0000.03312.25
4.3.90.0030.02712.25
4.3.80.0030.04012.25
4.3.70.0030.03312.25
4.3.60.0030.03312.25
4.3.50.0000.03712.25
4.3.40.0070.04012.25
4.3.30.0000.03712.25
4.3.20.0000.03712.25
4.3.10.0000.03312.25
4.3.00.0000.03712.25

preferences:
35.61 ms | 401 KiB | 5 Q