3v4l.org

run code in 300+ PHP versions simultaneously
<?php $password = "hi"; $salt = "email@email.de"; echo password_hash(base64_encode(hash_hmac("sha512", $password, $salt, true)), PASSWORD_BCRYPT);

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.0170.06614.66
7.4.00.0100.06914.74
7.3.130.0030.07514.71
7.3.120.0080.07414.83
7.3.110.0110.07014.92
7.3.100.0050.07314.61
7.3.90.0020.07614.87
7.3.80.0030.07014.86
7.3.70.0050.07014.77
7.3.60.0070.06814.58
7.3.50.0070.06914.85
7.3.40.0070.06514.72
7.3.30.0070.07014.63
7.3.20.0030.06916.49
7.3.10.0070.06716.68
7.3.00.0030.06816.66
7.2.260.0100.06915.05
7.2.250.0070.07315.00
7.2.240.0080.06714.86
7.2.230.0050.07314.89
7.2.220.0050.06914.98
7.2.210.0070.06814.88
7.2.200.0070.06714.85
7.2.190.0020.06914.87
7.2.180.0100.06314.88
7.2.170.0030.07015.05
7.2.160.0100.06214.86
7.2.150.0030.07316.85
7.2.140.0000.07516.96
7.2.130.0030.06816.56
7.2.120.0070.06216.81
7.2.110.0000.07716.76
7.2.100.0100.06816.60
7.2.90.0000.07216.83
7.2.80.0070.07117.01
7.2.70.0100.06516.80
7.2.60.0050.07016.58
7.2.50.0030.07016.78
7.2.40.0060.06816.83
7.2.30.0070.06716.93
7.2.20.0070.06716.77
7.2.10.0070.06616.83
7.2.00.0030.07117.99
7.1.330.0100.06515.91
7.1.320.0080.06915.65
7.1.310.0030.06915.51
7.1.300.0030.07415.52
7.1.290.0050.07015.73
7.1.280.0030.07015.68
7.1.270.0030.07015.46
7.1.260.0050.07115.58
7.1.250.0100.07015.39
7.1.240.0030.06815.59
7.1.230.0070.06915.52
7.1.220.0060.07115.54
7.1.210.0030.07215.56
7.1.200.0050.06915.71
7.1.190.0070.06615.79
7.1.180.0070.06715.65
7.1.170.0070.06315.63
7.1.160.0000.07315.75
7.1.150.0070.06615.59
7.1.140.0030.07015.63
7.1.130.0070.06915.80
7.1.120.0000.07215.84
7.1.110.0030.06915.78
7.1.100.0030.07216.97
7.1.90.0060.06815.79
7.1.80.0030.06615.68
7.1.70.0030.07616.32
7.1.60.0110.09217.69
7.1.50.0070.07516.25
7.1.40.0030.07015.68
7.1.30.0000.07815.65
7.1.20.0070.06915.63
7.1.10.0100.06615.73
7.1.00.0050.11718.96
7.0.330.0030.06914.98
7.0.320.0060.07115.43
7.0.310.0000.07615.56
7.0.300.0030.07115.39
7.0.290.0070.06915.40
7.0.280.0000.07515.28
7.0.270.0070.06915.31
7.0.260.0070.06815.17
7.0.250.0130.06215.27
7.0.240.0030.06515.58
7.0.230.0160.06115.43
7.0.220.0030.06815.33
7.0.210.0000.07515.31
7.0.200.0100.07016.09
7.0.190.0070.06815.30
7.0.180.0130.06415.35
7.0.170.0060.06415.53
7.0.160.0000.07315.32
7.0.150.0030.06715.43
7.0.140.0070.06714.99
7.0.130.0000.07415.29
7.0.120.0160.06115.21
7.0.110.0060.06915.38
7.0.100.0060.06815.31
7.0.90.0030.07015.38
7.0.80.0030.07615.25
7.0.70.0030.07015.60
7.0.60.0070.11517.50
7.0.50.0120.11116.65
7.0.40.0070.08216.83
7.0.30.0150.10916.76
7.0.20.0180.09316.72
7.0.10.0050.11416.79
7.0.00.0070.08916.63
5.6.400.0070.07014.25
5.6.390.0030.07514.35
5.6.380.0070.06714.13
5.6.370.0070.07114.28
5.6.360.0130.06014.31
5.6.350.0070.07014.39
5.6.340.0070.06714.50
5.6.330.0000.06813.90
5.6.320.0070.06714.14
5.6.310.0030.07414.56
5.6.300.0030.07113.96
5.6.290.0030.07014.04
5.6.280.0030.08017.64
5.6.270.0030.06714.57
5.6.260.0030.06814.17
5.6.250.0070.07014.04
5.6.240.0030.07014.16
5.6.230.0030.06814.34
5.6.220.0070.06814.36
5.6.210.0030.10517.37
5.6.200.0080.11616.17
5.6.190.0030.09017.43
5.6.180.0120.09217.37
5.6.170.0220.11017.26
5.6.160.0050.11517.40
5.6.150.0050.08516.25
5.6.140.0050.11216.22
5.6.130.0070.10916.20
5.6.120.0020.11917.67
5.6.110.0080.11617.71
5.6.100.0030.11917.56
5.6.90.0070.10617.58
5.6.80.0100.10817.22
5.6.70.0070.06914.21
5.6.60.0030.07013.96
5.6.50.0100.06713.96
5.6.40.0000.07414.05
5.6.30.0100.06514.25
5.6.20.0070.06214.21
5.6.10.0070.06813.95
5.6.00.0030.08014.21
5.5.380.0070.07413.96
5.5.370.0000.07414.31
5.5.360.0100.07614.08
5.5.350.0080.11817.07
5.5.340.0030.11616.17
5.5.330.0100.11717.35
5.5.320.0220.07617.17
5.5.310.0170.09917.26
5.5.300.0080.09916.03
5.5.290.0020.12015.98
5.5.280.0030.08617.57
5.5.270.0070.09717.54
5.5.260.0100.11417.60
5.5.250.0080.10017.39
5.5.240.0150.11516.99
5.5.230.0030.06913.79
5.5.220.0070.06614.01
5.5.210.0070.07114.20
5.5.200.0030.07113.93
5.5.190.0030.06914.39
5.5.180.0100.06314.32
5.5.170.0000.06814.21
5.5.160.0030.07514.18
5.5.150.0030.07014.21
5.5.140.0030.06813.98
5.5.130.0070.06714.08
5.5.120.0030.06513.81
5.5.110.0070.06714.20
5.5.100.0100.06513.98
5.5.90.0030.07113.95
5.5.80.0060.07214.12
5.5.70.0000.07713.96
5.5.60.0070.06513.98
5.5.50.0100.06213.93
5.5.40.0070.06614.04
5.5.30.0060.06414.29
5.5.20.0030.07214.28
5.5.10.0070.06614.06
5.5.00.0030.07213.93

preferences:
39.52 ms | 401 KiB | 5 Q