3v4l.org

run code in 300+ PHP versions simultaneously
<?php $username = 'admin'; $password = 'server'; $salt = hash('sha512', $username); //Salt $password = hash('sha512', $salt.$password); echo $password;

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)
8.3.60.0000.01418.43
8.3.50.0160.00521.98
8.3.40.0140.00318.68
8.3.30.0110.00418.91
8.3.20.0040.00420.07
8.3.10.0060.00323.69
8.3.00.0070.00417.59
8.2.180.0120.00316.38
8.2.170.0140.00722.96
8.2.160.0100.00320.22
8.2.150.0050.00324.18
8.2.140.0050.00324.66
8.2.130.0080.00026.16
8.2.120.0040.00422.23
8.2.110.0070.00422.18
8.2.100.0090.00317.59
8.2.90.0040.00417.63
8.2.80.0040.00417.97
8.2.70.0030.00518.04
8.2.60.0060.00317.93
8.2.50.0040.00418.10
8.2.40.0000.00720.61
8.2.30.0030.00717.93
8.2.20.0070.00017.72
8.2.10.0070.00018.16
8.2.00.0070.00017.77
8.1.280.0180.01525.92
8.1.270.0030.00522.19
8.1.260.0040.00426.35
8.1.250.0080.00528.09
8.1.240.0030.00623.72
8.1.230.0090.00319.16
8.1.220.0060.00317.79
8.1.210.0040.00418.77
8.1.200.0000.01017.35
8.1.190.0000.00817.22
8.1.180.0040.00418.10
8.1.170.0050.00518.22
8.1.160.0000.00721.93
8.1.150.0030.00618.85
8.1.140.0000.00717.38
8.1.130.0070.00017.86
8.1.120.0070.00017.36
8.1.110.0000.00817.30
8.1.100.0050.00217.34
8.1.90.0030.00517.36
8.1.80.0000.00717.39
8.1.70.0050.00317.22
8.1.60.0040.00417.43
8.1.50.0000.00817.46
8.1.40.0080.00317.44
8.1.30.0030.00517.50
8.1.20.0040.00417.57
8.1.10.0000.00717.51
8.1.00.0030.00517.44
8.0.300.0030.00320.09
8.0.290.0000.00916.63
8.0.280.0080.00018.35
8.0.270.0030.00317.30
8.0.260.0030.00317.24
8.0.250.0040.00416.86
8.0.240.0030.00316.83
8.0.230.0070.00016.85
8.0.220.0060.00016.89
8.0.210.0000.00716.77
8.0.200.0000.00616.93
8.0.190.0030.00516.82
8.0.180.0000.00716.92
8.0.170.0000.00816.93
8.0.160.0030.00416.89
8.0.150.0000.00716.88
8.0.140.0040.00416.73
8.0.130.0050.00013.27
8.0.120.0040.00416.78
8.0.110.0080.00016.83
8.0.100.0030.00516.66
8.0.90.0040.00416.87
8.0.80.0070.01316.91
8.0.70.0040.00416.82
8.0.60.0000.00816.83
8.0.50.0000.00716.78
8.0.30.0130.00916.88
8.0.20.0060.01317.40
8.0.10.0050.00216.98
8.0.00.0100.01116.82
7.4.330.0030.00315.02
7.4.320.0030.00316.57
7.4.300.0000.00616.52
7.4.290.0040.00416.35
7.4.280.0040.00416.52
7.4.270.0030.00316.46
7.4.260.0070.00016.50
7.4.250.0040.00416.41
7.4.240.0030.00416.48
7.4.230.0050.00216.51
7.4.220.0070.01016.47
7.4.210.0000.01616.48
7.4.200.0040.00416.32
7.4.160.0140.00416.29
7.4.150.0100.01217.40
7.4.140.0080.00917.86
7.4.130.0110.00616.42
7.4.120.0080.00816.41
7.4.110.0080.00816.44
7.4.100.0120.00916.58
7.4.90.0110.00616.40
7.4.80.0080.00819.39
7.4.70.0100.00716.50
7.4.60.0060.00916.41
7.4.50.0000.00416.46
7.4.40.0080.01216.34
7.4.30.0040.01316.18
7.4.00.0120.00314.87
7.3.330.0020.00212.92
7.3.320.0000.00513.11
7.3.310.0020.00516.01
7.3.300.0000.00616.13
7.3.290.0140.00016.14
7.3.280.0090.00716.20
7.3.270.0120.01217.40
7.3.260.0130.00916.29
7.3.250.0080.01016.46
7.3.240.0080.00816.27
7.3.230.0160.00616.43
7.3.210.0120.00616.56
7.3.200.0150.00619.39
7.3.190.0100.01116.23
7.3.180.0080.01016.46
7.3.170.0100.00716.27
7.3.160.0120.00316.41
7.2.330.0100.00616.72
7.2.320.0110.00716.26
7.2.310.0160.00616.29
7.2.300.0090.00616.52
7.2.290.0100.00716.39
7.2.60.0040.01116.95
7.1.200.0120.00316.00
7.1.70.0000.00717.08
7.1.60.0130.00319.32
7.1.50.0110.00516.95
7.1.00.0030.07722.51
7.0.200.0030.00516.79
7.0.140.0000.07321.95
7.0.60.0030.04020.06
7.0.50.0000.09017.80
7.0.40.0030.09320.40
7.0.30.0430.07020.01
7.0.20.0300.04720.17
7.0.10.0130.07720.12
7.0.00.0200.06720.03
5.6.280.0000.07721.04
5.6.210.0170.07720.52
5.6.200.0070.05018.14
5.6.190.0100.08720.45
5.6.180.0370.04720.45
5.6.170.0370.05020.45
5.6.160.0100.08020.51
5.6.150.0030.07318.22
5.6.140.0100.07718.07
5.6.130.0130.07318.18
5.6.120.0070.08320.89
5.6.110.0070.08021.08
5.6.100.0100.08020.98
5.6.90.0070.07021.00
5.6.80.0000.04720.46
5.5.350.0170.04320.34
5.5.340.0100.08018.02
5.5.330.0000.05020.37
5.5.320.0230.08020.31
5.5.310.0230.05720.27
5.5.300.0130.07317.95
5.5.290.0100.07017.99
5.5.280.0100.06720.68
5.5.270.0130.06020.88
5.5.260.0100.08320.87
5.5.250.0170.08020.58
5.5.240.0170.03320.14
5.4.450.0330.04019.21
5.4.440.0370.05319.42
5.4.430.0230.04719.41
5.4.420.0670.00019.46
5.4.410.0700.00019.37
5.4.400.0870.00019.01
5.4.390.0630.00018.95
5.4.380.0670.00018.94
5.4.370.0800.00019.04
5.4.360.0600.00019.13
5.4.350.0670.00019.05
5.4.340.0090.03611.96
5.4.320.0070.03512.45
5.4.310.0070.04312.45
5.4.300.0070.03612.45
5.4.290.0060.03912.45
5.4.280.0090.03712.35
5.4.270.0050.03712.35
5.4.260.0040.03912.34
5.4.250.0050.03912.35
5.4.240.0080.03512.35
5.4.230.0080.04312.34
5.4.220.0070.03512.34
5.4.210.0070.03512.34
5.4.200.0090.03412.34
5.4.190.0090.03412.34
5.4.180.0070.03512.34
5.4.170.0060.04212.35
5.4.160.0060.03612.34
5.4.150.0090.03512.34
5.4.140.0050.04612.02
5.4.130.0070.03612.01
5.4.120.0050.03611.97
5.4.110.0030.03811.96
5.4.100.0060.03511.96
5.4.90.0050.03711.96
5.4.80.0000.04211.97
5.4.70.0010.04311.96
5.4.60.0050.03511.96
5.4.50.0070.03811.96
5.4.40.0010.04111.95
5.4.30.0050.03811.95
5.4.20.0070.04011.95
5.4.10.0090.03711.95
5.4.00.0050.03911.44
5.3.290.0090.03712.80
5.3.280.0060.03912.71
5.3.270.0050.04812.73
5.3.260.0110.04912.72
5.3.250.0100.04912.72
5.3.240.0060.03812.72
5.3.230.0050.03912.71
5.3.220.0070.03712.68
5.3.210.0090.03912.68
5.3.200.0060.03812.68
5.3.190.0030.04012.68
5.3.180.0040.03812.67
5.3.170.0110.03712.67
5.3.160.0060.03612.67
5.3.150.0090.04212.67
5.3.140.0060.03612.66
5.3.130.0050.03912.66
5.3.120.0070.03912.65
5.3.110.0100.05312.66
5.3.100.0090.03912.11
5.3.90.0080.05112.08
5.3.80.0060.03912.07
5.3.70.0110.04412.08
5.3.60.0070.04012.06
5.3.50.0100.03312.00
5.3.40.0070.04712.00
5.3.30.0100.03411.95
5.3.20.0070.04011.72
5.3.10.0090.03911.69
5.3.00.0090.03811.67
5.2.170.0060.0299.18
5.2.160.0050.0309.18
5.2.150.0030.0319.18
5.2.140.0020.0329.17
5.2.130.0060.0389.14
5.2.120.0030.0399.14
5.2.110.0060.0309.14
5.2.100.0040.0329.13
5.2.90.0070.0369.13
5.2.80.0070.0299.14
5.2.70.0030.0319.14
5.2.60.0040.0369.09
5.2.50.0090.0349.06
5.2.40.0090.0289.03
5.2.30.0070.0279.01
5.2.20.0090.0358.99
5.2.10.0060.0368.91
5.2.00.0050.0358.77
5.1.60.0050.0278.06
5.1.50.0080.0258.06
5.1.40.0050.0248.04
5.1.30.0050.0308.39
5.1.20.0040.0358.41
5.1.10.0050.0268.14
5.1.00.0040.0268.14
5.0.50.0030.0226.62
5.0.40.0020.0216.48
5.0.30.0040.0316.29
5.0.20.0050.0186.26
5.0.10.0020.0226.24
5.0.00.0020.0326.23
4.4.90.0020.0164.77
4.4.80.0050.0204.75
4.4.70.0040.0154.76
4.4.60.0030.0164.75
4.4.50.0030.0174.77
4.4.40.0050.0284.71
4.4.30.0020.0184.76
4.4.20.0030.0184.84
4.4.10.0030.0154.85
4.4.00.0040.0304.76
4.3.110.0030.0174.66
4.3.100.0020.0164.66
4.3.90.0050.0144.63
4.3.80.0020.0254.59
4.3.70.0040.0154.63
4.3.60.0020.0164.63
4.3.50.0060.0234.63
4.3.40.0020.0254.53
4.3.30.0020.0183.28
4.3.20.0010.0173.25
4.3.10.0010.0163.22
4.3.00.0100.02010.43

preferences:
49.7 ms | 401 KiB | 5 Q