3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hash = password_hash('qwerty',PASSWORD_DEFAULT); echo $hash; echo "\n"; if (password_verify("qwerty", $hash)) { echo "Yes\r\n"; } else { echo "No\r\n"; } ?>

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.00.0000.14114.64
7.3.120.0070.13814.73
7.3.110.0100.13514.68
7.3.100.0070.13414.98
7.3.90.0000.14014.74
7.3.80.0030.13014.83
7.3.70.0030.12814.74
7.3.60.0000.12814.50
7.3.50.0070.12814.60
7.3.40.0030.13114.82
7.3.30.0070.13114.72
7.3.20.0030.13016.59
7.3.10.0020.13816.72
7.3.00.0030.13316.60
7.2.250.0070.13914.92
7.2.240.0070.13514.94
7.2.230.0130.13315.04
7.2.220.0000.13815.15
7.2.210.0030.13714.96
7.2.200.0030.12815.01
7.2.190.0000.13914.94
7.2.180.0100.12914.96
7.2.170.0070.12814.93
7.2.130.0030.13716.76
7.2.120.0130.12116.90
7.2.110.0000.13016.55
7.2.100.0070.13816.94
7.2.90.0100.12516.84
7.2.80.0030.13316.67
7.2.70.0100.12716.77
7.2.60.0050.13316.90
7.2.50.0030.13416.75
7.2.40.0100.13216.86
7.2.30.0070.12716.59
7.2.20.0100.12416.93
7.2.10.0070.13116.92
7.2.00.0080.12918.18
7.1.330.0130.12416.01
7.1.320.0060.13615.64
7.1.310.0030.13515.88
7.1.300.0030.13515.65
7.1.290.0070.12515.63
7.1.280.0030.13015.99
7.1.270.0070.12915.81
7.1.260.0070.12715.72
7.1.250.0030.13115.78
7.1.200.0100.12715.50
7.1.100.0100.12818.07
7.1.70.0000.20317.18
7.1.60.0100.18119.17
7.1.50.0130.19116.64
7.1.00.0070.15722.43
7.0.200.0030.12316.72
7.0.140.0000.22722.12
7.0.100.0170.21719.94
7.0.90.0170.20319.81
7.0.80.0000.24319.84
7.0.70.0100.22019.79
7.0.60.0100.19719.88
7.0.50.0070.21720.26
7.0.40.0070.23020.06
7.0.30.0130.21020.11
7.0.20.0070.22720.11
7.0.10.0070.21720.00
7.0.00.0030.23720.05
5.6.280.0070.23321.07
5.6.250.0130.21020.59
5.6.240.0030.21020.56
5.6.230.0070.20320.64
5.6.220.0170.21720.66
5.6.210.0070.18020.57
5.6.200.0070.21720.97
5.6.190.0170.23721.03
5.6.180.0070.23321.04
5.6.170.0070.23321.00
5.6.160.0100.21320.96
5.6.150.0130.18021.07
5.6.140.0100.21321.01
5.6.130.0070.20720.92
5.6.120.0070.21320.89
5.6.110.0200.20720.91
5.6.100.0070.21321.02
5.6.90.0100.21720.98
5.6.80.0170.21020.28
5.6.70.0100.22320.29
5.6.60.0100.18320.37
5.6.50.0070.24020.48
5.6.40.0170.22320.48
5.6.30.0100.21020.39
5.6.20.0130.27020.48
5.6.10.0200.21320.33
5.6.00.0200.21020.39
5.5.380.0030.23320.35
5.5.370.0100.20720.30
5.5.360.0030.21320.36
5.5.350.0030.22020.38
5.5.340.0170.23320.83
5.5.330.0070.24320.89
5.5.320.0100.21020.76
5.5.310.0170.20320.84
5.5.300.0030.22020.79
5.5.290.0070.21020.68
5.5.280.0130.17720.64
5.5.270.0100.22320.68
5.5.260.0100.21020.75
5.5.250.0130.21320.69
5.5.240.0100.20720.12
5.5.230.0070.23720.17
5.5.220.0130.23020.23
5.5.210.0130.21720.18
5.5.200.0130.21020.14
5.5.190.0070.22720.20
5.5.180.0130.22319.94
5.5.160.0130.19720.04
5.5.150.0070.23720.21
5.5.140.0130.26720.20
5.5.130.0130.16320.08
5.5.120.0070.20320.20
5.5.110.0030.19020.13
5.5.100.0270.16019.97
5.5.90.0000.16320.07
5.5.80.0070.16020.04
5.5.70.0030.16019.99
5.5.60.0100.13320.11
5.5.50.0030.14019.91
5.5.40.0030.17719.98
5.5.30.0030.21020.10
5.5.20.0070.16020.10
5.5.10.0170.13320.01
5.5.00.0070.13719.98
5.4.450.0130.07019.36
5.4.440.0170.07319.30
5.4.430.0170.07319.11
5.4.420.0170.07719.28
5.4.410.0030.07719.16
5.4.400.0170.06718.91
5.4.390.0100.08019.14
5.4.380.0100.07718.96
5.4.370.0100.07718.98
5.4.360.0030.08319.03
5.4.350.0030.05718.82
5.4.340.0100.06318.97
5.4.320.0170.07018.93
5.4.310.0100.07719.12
5.4.300.0100.07318.81
5.4.290.0170.06319.02
5.4.280.0070.05319.06
5.4.270.0070.06019.03
5.4.260.0030.04318.96
5.4.250.0030.03719.07
5.4.240.0030.04018.94
5.4.230.0130.05718.80
5.4.220.0070.07019.07
5.4.210.0070.05319.13
5.4.200.0030.03319.07
5.4.190.0070.03718.80
5.4.180.0130.05718.81
5.4.170.0030.04319.09
5.4.160.0030.07019.04
5.4.150.0000.04319.05
5.4.140.0030.04316.32
5.4.130.0030.04016.34
5.4.120.0070.05016.32
5.4.110.0030.07316.42
5.4.100.0000.04016.39
5.4.90.0030.03716.26
5.4.80.0070.03316.43
5.4.70.0030.05716.22
5.4.60.0100.03316.40
5.4.50.0030.03716.31
5.4.40.0000.03716.33
5.4.30.0000.04016.34
5.4.20.0030.05716.29
5.4.10.0130.03016.38
5.4.00.0000.05015.78
5.3.290.0100.07714.60
5.3.280.0000.04014.55
5.3.270.0070.06314.59
5.3.260.0070.03314.53
5.3.250.0070.05314.58
5.3.240.0070.03314.42
5.3.230.0030.06314.55
5.3.220.0000.04014.54
5.3.210.0000.03714.52
5.3.200.0070.03014.43
5.3.190.0030.03714.55
5.3.180.0100.02714.55
5.3.170.0000.04014.50
5.3.160.0100.06014.56
5.3.150.0030.03714.55
5.3.140.0030.03314.53
5.3.130.0030.03714.53
5.3.120.0000.03714.43
5.3.110.0000.05714.48
5.3.100.0000.03713.89
5.3.90.0070.07714.00
5.3.80.0070.07013.77
5.3.70.0070.05714.00
5.3.60.0100.04313.96
5.3.50.0100.06313.86
5.3.40.0130.05013.94
5.3.30.0070.07313.76
5.3.20.0170.06313.65
5.3.10.0070.06313.65
5.3.00.0200.05713.57
5.2.170.0070.05010.94
5.2.160.0070.06311.06
5.2.150.0070.06011.10
5.2.140.0030.06011.10
5.2.130.0000.06711.09
5.2.120.0000.06010.95
5.2.110.0070.04311.04
5.2.100.0000.06311.09
5.2.90.0100.04310.93
5.2.80.0030.06710.94
5.2.70.0030.04710.91
5.2.60.0030.05010.90
5.2.50.0000.06311.00
5.2.40.0000.05711.05
5.2.30.0000.05010.84
5.2.20.0030.06310.91
5.2.10.0030.05710.77
5.2.00.0070.05310.77
5.1.60.0070.0509.99
5.1.50.0100.0479.84
5.1.40.0030.05310.02
5.1.30.0000.06010.24
5.1.20.0000.06310.40
5.1.10.0000.0609.94
5.1.00.0030.05310.06
5.0.50.0070.0478.55
5.0.40.0070.0408.40
5.0.30.0030.0638.23
5.0.20.0030.0338.20
5.0.10.0000.0478.23
5.0.00.0030.0478.16
4.4.90.0030.0308.16
4.4.80.0000.0378.16
4.4.70.0000.0378.16
4.4.60.0030.0378.16
4.4.50.0070.0338.16
4.4.40.0000.0538.16
4.4.30.0000.0408.16
4.4.20.0030.0378.16
4.4.10.0030.0338.16
4.4.00.0100.0508.16
4.3.110.0000.0378.16
4.3.100.0030.0378.16
4.3.90.0030.0338.16
4.3.80.0070.0508.16
4.3.70.0030.0338.16
4.3.60.0000.0278.16
4.3.50.0030.0338.16
4.3.40.0000.0438.16
4.3.30.0030.0338.16
4.3.20.0000.0338.16
4.3.10.0000.0378.16
4.3.00.0000.0378.16

preferences:
32.98 ms | 400 KiB | 5 Q