3v4l.org

run code in 300+ PHP versions simultaneously
<?php $bcrypt = password_hash('blabla', PASSWORD_DEFAULT); $sha256 = hash_hmac('sha256', $bcrypt, $bcrypt); var_dump($bcrypt, $sha256);

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.110.0160.07616.58
7.2.80.0100.07615.90
7.2.60.0070.06816.58
7.2.00.0000.07619.23
7.1.200.0130.06515.81
7.1.100.0000.07417.70
7.1.70.0030.06816.77
7.1.60.0030.13119.32
7.1.50.0070.10516.84
7.1.00.0070.15722.45
7.0.200.0100.05916.81
7.0.140.0000.16321.92
7.0.60.0070.16319.91
7.0.50.0070.11017.85
7.0.40.0030.12020.02
7.0.30.0230.14320.16
7.0.20.0270.11020.06
7.0.10.0100.14020.12
7.0.00.0130.14720.09
5.6.280.0000.16020.90
5.6.210.0400.14320.50
5.6.200.0100.15318.27
5.6.190.0130.15720.67
5.6.180.3200.10320.60
5.6.170.0230.10320.54
5.6.160.0070.10320.70
5.6.150.0000.16718.16
5.6.140.0070.09718.18
5.6.130.0070.11718.19
5.6.120.0070.10021.08
5.6.110.0000.17720.98
5.6.100.0130.16720.99
5.6.90.0100.15321.09
5.6.80.0070.16020.40
5.6.70.3370.08320.39
5.5.350.0030.10020.37
5.5.340.0070.10018.01
5.5.330.0000.10320.42
5.5.320.0370.14720.28
5.5.310.0400.11020.21
5.5.300.0070.09717.91
5.5.290.0100.15717.91
5.5.280.0070.14720.84
5.5.270.0030.10020.86
5.5.260.0100.10320.86
5.5.250.0070.11020.57
5.5.240.0330.12320.14
5.4.450.0730.06019.63
5.4.440.0800.07319.10
5.4.430.0730.05319.63
5.4.420.0670.05719.57
5.4.410.0700.06719.50
5.4.400.0670.06019.14
5.4.390.0730.05319.21
5.4.380.0770.05318.99
5.4.370.0870.05318.94
5.4.360.0730.06019.18
5.4.350.0870.05019.27
5.4.340.0070.04111.97
5.4.320.0070.03412.45
5.4.310.0040.03912.45
5.4.300.0060.03612.45
5.4.290.0080.03712.45
5.4.280.0060.03712.35
5.4.270.0050.03912.34
5.4.260.0040.04012.34
5.4.250.0060.03812.34
5.4.240.0060.04112.35
5.4.230.0070.03612.34
5.4.220.0070.03512.34
5.4.210.0050.03612.34
5.4.200.0050.03812.34
5.4.190.0080.03812.33
5.4.180.0060.03712.34
5.4.170.0020.03912.34
5.4.160.0050.03612.34
5.4.150.0070.03412.34
5.4.140.0080.03512.02
5.4.130.0070.03912.01
5.4.120.0080.03411.96
5.4.110.0080.03411.96
5.4.100.0040.03711.96
5.4.90.0050.03711.96
5.4.80.0060.03711.96
5.4.70.0060.03411.96
5.4.60.0070.03411.96
5.4.50.0040.03611.96
5.4.40.0070.03311.95
5.4.30.0050.03611.95
5.4.20.0030.04111.95
5.4.10.0070.03811.95
5.4.00.0060.04111.44
5.3.290.0080.04012.80
5.3.280.0060.03812.71
5.3.270.0080.03712.72
5.3.260.0060.03812.72
5.3.250.0040.04012.72
5.3.240.0030.04012.72
5.3.230.0070.03612.71
5.3.220.0080.03412.68
5.3.210.0060.04212.68
5.3.200.0070.03612.68
5.3.190.0080.03512.68
5.3.180.0060.03612.68
5.3.170.0040.03812.67
5.3.160.0060.03712.67
5.3.150.0070.03612.67
5.3.140.0030.03912.66
5.3.130.0040.04012.66
5.3.120.0070.04112.66
5.3.110.0030.04112.66
5.3.100.0090.04212.12
5.3.90.0060.03512.08
5.3.80.0050.03612.07
5.3.70.0070.04312.07
5.3.60.0150.04112.06
5.3.50.0040.03712.00
5.3.40.0080.04112.00
5.3.30.0090.03211.94
5.3.20.0060.04611.73
5.3.10.0070.04011.70
5.3.00.0090.03911.68
5.2.170.0070.0299.18
5.2.160.0060.0289.18
5.2.150.0060.0299.18
5.2.140.0050.0309.18
5.2.130.0050.0289.14
5.2.120.0070.0269.14
5.2.110.0080.0259.15
5.2.100.0040.0289.14
5.2.90.0040.0309.14
5.2.80.0020.0339.13
5.2.70.0040.0309.13
5.2.60.0060.0289.09
5.2.50.0050.0289.06
5.2.40.0060.0369.03
5.2.30.0060.0289.01
5.2.20.0040.0319.00
5.2.10.0080.0308.92
5.2.00.0050.0388.78
5.1.60.0050.0238.06
5.1.50.0020.0268.06
5.1.40.0050.0248.04
5.1.30.0060.0248.39
5.1.20.0050.0268.42
5.1.10.0060.0248.14
5.1.00.0070.0248.14
5.0.50.0060.0196.62
5.0.40.0040.0226.48
5.0.30.0070.0296.29
5.0.20.0040.0206.26
5.0.10.0060.0186.24
5.0.00.0040.0306.23
4.4.90.0030.0154.78
4.4.80.0020.0204.75
4.4.70.0030.0174.76
4.4.60.0040.0234.76
4.4.50.0040.0204.77
4.4.40.0010.0264.71
4.4.30.0070.0104.76
4.4.20.0040.0144.85
4.4.10.0020.0164.85
4.4.00.0040.0244.76
4.3.110.0020.0164.67
4.3.100.0040.0134.67
4.3.90.0030.0144.63
4.3.80.0060.0214.59
4.3.70.0030.0144.63
4.3.60.0010.0164.62
4.3.50.0010.0174.63
4.3.40.0010.0264.54
4.3.30.0000.0183.29
4.3.20.0030.0153.26
4.3.10.0010.0163.21
4.3.00.0030.0276.71

preferences:
38.94 ms | 400 KiB | 5 Q