3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hash = password_hash('123123', PASSWORD_DEFAULT, ['cost'=>10]); print $hash; var_dump(password_verify('123123', $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.3.10.0070.12816.71
7.3.00.0030.12816.51
7.2.130.0070.13317.02
7.2.120.0000.13416.63
7.2.110.0070.13116.73
7.2.100.0070.13016.82
7.2.90.0030.13416.83
7.2.80.0030.13417.00
7.2.70.0070.13016.66
7.2.60.0100.12516.80
7.2.50.0030.13317.01
7.2.40.0000.13216.77
7.2.30.0030.13316.77
7.2.20.0030.12817.04
7.2.10.0030.13416.72
7.2.00.0070.13518.15
7.1.250.0030.13315.79
7.1.200.0000.13515.84
7.1.100.0440.14915.64
7.1.70.0030.12917.08
7.1.60.0130.17019.40
7.1.50.0100.18917.02
7.1.00.0030.23722.43
7.0.200.0030.12316.79
7.0.140.0030.22322.21
7.0.60.0100.20719.80
7.0.50.0000.17717.89
7.0.40.0200.21020.21
7.0.30.0370.20320.09
7.0.20.0200.21320.16
7.0.10.0070.17720.19
7.0.00.0000.16320.10
5.6.210.0170.20720.70
5.6.200.0200.20018.18
5.6.190.0000.22020.43
5.6.180.0030.17020.27
5.6.170.0300.17720.45
5.6.160.0030.17020.54
5.6.150.0030.18718.19
5.6.140.0030.20318.10
5.6.130.0100.22718.29
5.6.120.0030.17021.11
5.6.110.0130.25321.06
5.6.100.0100.21320.98
5.6.90.0200.21320.99
5.6.80.0070.15320.37
5.5.350.0270.21720.48
5.5.340.0000.16017.96
5.5.330.0100.20020.21
5.5.320.0130.15720.23
5.5.310.0370.18020.26
5.5.300.0130.22017.95
5.5.290.0130.22318.01
5.5.280.0030.22720.73
5.5.270.0070.17020.87
5.5.260.0130.22720.86
5.5.250.0130.22720.60
5.5.240.0030.21020.35
5.4.450.0770.06019.31
5.4.440.0670.05019.50
5.4.430.0670.05719.35
5.4.420.0570.06319.32
5.4.410.0570.06719.40
5.4.400.0400.04718.71
5.4.390.0530.05318.52
5.4.380.0070.05318.49
5.4.370.0270.03718.68
5.4.360.0070.04718.59
5.4.350.0120.03611.97
5.4.340.0070.04811.96
5.4.320.0050.03612.45
5.4.310.0050.03812.45
5.4.300.0120.03512.45
5.4.290.0120.03312.45
5.4.280.0050.03712.35
5.4.270.0060.03612.34
5.4.260.0060.04412.34
5.4.250.0100.04212.35
5.4.240.0060.03712.34
5.4.230.0070.04312.34
5.4.220.0050.03812.34
5.4.210.0040.04112.34
5.4.200.0070.03712.34
5.4.190.0050.03912.34
5.4.180.0070.03412.34
5.4.170.0050.03612.34
5.4.160.0050.03712.34
5.4.150.0070.03612.34
5.4.140.0040.04612.02
5.4.130.0070.03412.01
5.4.120.0060.04011.97
5.4.110.0090.04311.96
5.4.100.0100.03211.96
5.4.90.0080.03511.96
5.4.80.0060.03811.96
5.4.70.0110.03311.96
5.4.60.0090.03511.96
5.4.50.0080.04111.96
5.4.40.0070.03611.95
5.4.30.0050.03811.95
5.4.20.0070.04711.95
5.4.10.0070.04311.94
5.4.00.0080.04911.44
5.3.290.0060.04012.80
5.3.280.0070.04212.71
5.3.270.0080.03712.72
5.3.260.0100.03912.72
5.3.250.0070.05212.72
5.3.240.0080.04112.72
5.3.230.0090.03912.71
5.3.220.0080.05312.68
5.3.210.0070.04012.68
5.3.200.0090.04312.68
5.3.190.0120.03712.68
5.3.180.0050.03912.68
5.3.170.0060.03812.67
5.3.160.0070.04512.68
5.3.150.0050.03912.68
5.3.140.0050.04012.66
5.3.130.0080.03912.66
5.3.120.0030.04312.66
5.3.110.0120.04712.66
5.3.100.0110.04312.12
5.3.90.0100.03212.08
5.3.80.0060.03712.08
5.3.70.0050.03812.07
5.3.60.0070.03812.06
5.3.50.0070.03512.00
5.3.40.0080.03412.00
5.3.30.0040.03711.95
5.3.20.0050.03711.72
5.3.10.0040.03711.70
5.3.00.0070.03511.69
5.2.170.0100.0269.18
5.2.160.0040.0299.18
5.2.150.0040.0469.18
5.2.140.0060.0359.18
5.2.130.0040.0309.14
5.2.120.0060.0279.14
5.2.110.0040.0319.14
5.2.100.0040.0299.14
5.2.90.0040.0299.14
5.2.80.0070.0299.14
5.2.70.0080.0279.14
5.2.60.0030.0319.09
5.2.50.0030.0339.06
5.2.40.0060.0279.04
5.2.30.0050.0309.01
5.2.20.0060.0309.01
5.2.10.0030.0288.93
5.2.00.0060.0288.78
5.1.60.0060.0318.07
5.1.50.0010.0278.07
5.1.40.0040.0248.05
5.1.30.0060.0298.40
5.1.20.0050.0258.41
5.1.10.0070.0318.14
5.1.00.0040.0288.14
5.0.50.0070.0196.62
5.0.40.0050.0196.48
5.0.30.0040.0316.29
5.0.20.0040.0246.26
5.0.10.0000.0246.24
5.0.00.0020.0326.23
4.4.90.0010.0174.78
4.4.80.0020.0174.75
4.4.70.0040.0154.75
4.4.60.0030.0164.75
4.4.50.0030.0204.77
4.4.40.0040.0274.71
4.4.30.0030.0154.76
4.4.20.0030.0224.85
4.4.10.0050.0184.85
4.4.00.0020.0254.76
4.3.110.0040.0204.66
4.3.100.0020.0204.67
4.3.90.0050.0124.63
4.3.80.0030.0244.58
4.3.70.0040.0144.63
4.3.60.0040.0134.63
4.3.50.0040.0144.63
4.3.40.0020.0254.54
4.3.30.0010.0213.28
4.3.20.0030.0233.26
4.3.10.0020.0203.22
4.3.00.0100.0236.95

preferences:
35.17 ms | 401 KiB | 5 Q