3v4l.org

run code in 300+ PHP versions simultaneously
<?php $password = 123; $hash = password_hash(123, PASSWORD_DEFAULT); var_dump(password_verify($password, $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.0050.13916.24
7.3.00.0090.13116.47
7.2.130.0130.13116.59
7.2.120.0110.12516.38
7.2.110.0110.13116.79
7.2.100.0030.13116.36
7.2.90.0050.13416.67
7.2.80.0100.13416.33
7.2.70.0100.13416.48
7.2.60.0050.13716.49
7.2.50.0070.13416.57
7.2.40.0120.13316.52
7.2.30.0110.12616.64
7.2.20.0070.13216.66
7.2.10.0120.12916.46
7.2.00.0070.13217.57
7.1.250.0070.13115.68
7.1.100.0270.13617.78
7.1.70.0070.12517.14
7.1.60.0030.20619.21
7.1.50.0130.12716.93
7.1.00.0030.21322.50
7.0.200.0100.11716.69
7.0.140.0100.21721.95
7.0.60.0100.20320.03
7.0.50.0030.17717.81
7.0.40.0030.16720.23
7.0.30.0330.21020.30
7.0.20.0270.22020.09
7.0.10.0000.22020.07
7.0.00.0070.16320.19
5.6.280.0030.23720.88
5.6.210.0100.19320.60
5.6.200.0100.23318.11
5.6.190.0100.18720.60
5.6.180.3470.16320.49
5.6.170.0230.17720.44
5.6.160.0030.16720.50
5.6.150.0130.15718.27
5.6.140.0200.21318.18
5.6.130.0030.19018.18
5.6.120.0070.16320.89
5.6.110.0030.21021.02
5.6.100.0030.23020.94
5.6.90.0170.19320.84
5.6.80.0030.21320.48
5.6.70.4430.16320.38
5.5.350.0030.22020.45
5.5.340.0070.15717.98
5.5.330.0030.21020.21
5.5.320.0230.16320.24
5.5.310.0270.19720.31
5.5.300.0000.17017.98
5.5.290.0030.21317.95
5.5.280.0070.21320.76
5.5.270.0130.25320.86
5.5.260.0030.22020.86
5.5.250.0130.22020.61
5.5.240.0000.17720.18
5.4.450.2130.04319.42
5.4.440.2000.04319.42
5.4.430.2270.04019.56
5.4.420.1900.04019.38
5.4.410.1900.04019.41
5.4.400.0530.05319.25
5.4.390.0070.04718.77
5.4.380.0000.04318.84
5.4.370.1870.03719.09
5.4.360.2130.04319.06
5.4.350.2200.03319.24
5.4.340.2130.04719.22
5.4.320.2200.03719.21
5.4.310.1830.04018.78
5.4.300.1830.04019.13
5.4.290.2030.04719.09
5.4.280.2130.05019.16
5.4.270.1830.04019.13
5.4.260.1770.04318.79
5.4.250.1930.04319.23
5.4.240.2500.02718.92
5.4.230.0670.04319.07
5.4.220.0100.07319.25
5.4.210.0100.04319.23
5.4.200.0330.04019.24
5.4.190.2200.03319.21
5.4.180.2070.05019.08
5.4.170.2030.03719.12
5.4.160.2030.04019.14
5.4.150.1900.03319.11
5.4.140.2000.03316.27
5.4.130.0570.03316.48
5.4.120.0000.05016.45
5.4.110.0370.03716.23
5.4.100.1770.03316.50
5.4.90.2270.04016.49
5.4.80.1800.03016.37
5.4.70.1900.02716.39
5.4.60.1970.04316.16
5.4.50.1830.03316.19
5.4.40.2130.03016.38
5.4.30.1900.03316.35
5.4.20.2070.03316.32
5.4.10.2030.03316.04
5.4.00.0730.03715.76
5.3.290.0130.03714.56
5.3.280.0030.03714.45
5.3.270.1970.04714.54
5.3.260.1530.03314.55
5.3.250.1830.03014.47
5.3.240.1870.03714.65
5.3.230.1830.04014.43
5.3.220.2070.02714.44
5.3.210.1870.04014.51
5.3.200.1800.04014.51
5.3.190.1970.04014.43
5.3.180.1900.03314.57
5.3.170.1970.03714.50
5.3.160.0100.03714.40
5.3.150.0000.03714.40
5.3.140.0800.03714.50
5.3.130.2200.04014.37
5.3.120.2000.03314.39
5.3.110.1500.04014.59
5.3.100.1930.04013.94
5.3.90.1870.04013.88
5.3.80.0600.03313.87
5.3.70.0230.07013.96
5.3.60.0200.03713.96
5.3.50.0170.04713.79
5.3.40.0200.06013.89
5.3.30.0130.03713.92
5.3.20.0130.03713.49
5.3.10.0170.04013.60
5.3.00.0230.04013.47
5.2.170.0100.03711.15
5.2.160.0170.06011.16
5.2.150.0200.03010.98
5.2.140.0130.03311.00
5.2.130.0170.06311.26
5.2.120.0100.03711.01
5.2.110.0170.06011.00
5.2.100.0200.05311.18
5.2.90.0100.03710.99
5.2.80.0130.03011.14
5.2.70.0270.05311.03
5.2.60.0030.04311.20
5.2.50.0100.06711.09
5.2.40.0030.04310.87
5.2.30.0130.05711.12
5.2.20.0130.03010.86
5.2.10.0170.05710.96
5.2.00.0130.05710.57
5.1.60.0170.02010.00
5.1.50.0100.02710.04
5.1.40.0130.0479.89
5.1.30.0130.02710.25
5.1.20.0130.04010.20
5.1.10.0130.03010.19
5.1.00.0130.03010.19
5.0.50.0030.0238.63
5.0.40.0070.0438.30
5.0.30.0070.0308.15
5.0.20.0170.0178.11
5.0.10.0030.0438.29
5.0.00.0100.0508.11
4.4.90.0100.0338.11
4.4.80.0100.0178.11
4.4.70.0100.0238.11
4.4.60.0070.0178.11
4.4.50.0100.0238.11
4.4.40.0100.0278.11
4.4.30.0070.0238.11
4.4.20.0030.0378.11
4.4.10.0130.0378.11
4.4.00.0170.0508.11
4.3.110.0130.0278.11
4.3.100.0030.0208.11
4.3.90.0100.0278.11
4.3.80.0070.0278.11
4.3.70.0070.0208.11
4.3.60.0030.0208.11
4.3.50.0070.0178.11
4.3.40.0070.0308.11
4.3.30.0000.0238.11
4.3.20.0030.0178.11
4.3.10.0030.0338.11
4.3.00.0070.0378.11

preferences:
46.12 ms | 401 KiB | 5 Q