3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hash = password_hash("admin", PASSWORD_DEFAULT); var_dump($hash); var_dump(password_verify("admin", $hash)); $hash = '$2y$10$HQfBMgdHdi7OY1qrk94OpOM.Y4faT.76VD1O6ehf2TyRzwncV1ppG'; var_dump($hash); var_dump(password_verify("admin", $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.4.10.0050.20614.76
7.4.00.0090.19714.98
7.3.130.0080.19914.76
7.3.120.0060.20214.38
7.3.110.0080.20314.82
7.3.100.0060.19514.70
7.3.90.0100.19114.75
7.3.80.0050.19314.65
7.3.70.0060.19214.64
7.3.60.0020.19214.65
7.3.50.0060.19214.64
7.3.40.0070.18714.53
7.3.30.0060.18914.57
7.3.20.0020.19616.33
7.3.10.0020.19016.43
7.3.00.0040.19116.43
7.2.260.0100.19915.03
7.2.250.0030.20714.77
7.2.240.0090.19315.11
7.2.230.0110.19414.94
7.2.220.0100.19415.00
7.2.210.0040.18914.94
7.2.200.0070.19414.73
7.2.190.0040.19614.79
7.2.180.0040.19414.90
7.2.170.0040.19314.80
7.2.160.0120.18014.92
7.2.150.0070.19016.84
7.2.140.0070.18616.71
7.2.130.0100.19116.87
7.2.120.0000.19016.89
7.2.110.0080.18816.69
7.2.100.0020.19516.69
7.2.90.0030.18416.57
7.2.80.0050.18616.77
7.2.70.0070.18516.71
7.2.60.0120.18816.78
7.2.50.0050.18616.85
7.2.40.0050.20516.80
7.2.30.0030.19016.70
7.2.20.0070.18916.66
7.2.10.0070.18716.89
7.2.00.0030.18717.34
7.1.330.0030.19715.63
7.1.320.0010.19915.65
7.1.310.0060.19415.73
7.1.300.0070.18715.71
7.1.290.0030.19215.65
7.1.280.0000.19615.73
7.1.270.0040.18615.63
7.1.260.0060.18915.75
7.1.250.0070.19315.77
7.1.240.0070.18415.68
7.1.230.0030.18915.66
7.1.220.0050.18715.69
7.1.210.0000.19415.54
7.1.200.0040.18915.65
7.1.190.0030.19215.67
7.1.180.0030.18915.57
7.1.170.0050.18815.73
7.1.160.0050.18715.68
7.1.150.0030.19215.65
7.1.140.0070.18815.62
7.1.130.0070.18915.85
7.1.120.0030.18515.65
7.1.110.0030.19215.63
7.1.100.0060.18916.61
7.1.90.0030.18915.53
7.1.80.0050.18815.67
7.1.70.0040.19716.06
7.1.60.0080.21316.96
7.1.50.0040.20416.13
7.1.40.0020.18915.70
7.1.30.0030.19215.49
7.1.20.0030.18515.75
7.1.10.0020.19415.51
7.1.00.0030.22517.80
7.0.330.0050.18715.27
7.0.320.0050.19015.20
7.0.310.0050.19115.24
7.0.300.0020.18815.37
7.0.290.0020.19315.31
7.0.280.0000.19215.39
7.0.270.0030.19615.41
7.0.260.0070.18215.27
7.0.250.0050.18815.29
7.0.240.0050.19015.36
7.0.230.0050.18715.42
7.0.220.0050.18615.34
7.0.210.0000.19315.30
7.0.200.0220.18915.02
7.0.190.0020.19415.41
7.0.180.0050.18815.32
7.0.170.0030.18915.33
7.0.160.0050.19315.35
7.0.150.0070.19015.49
7.0.140.0080.18515.42
7.0.130.0050.18415.15
7.0.120.0020.19115.42
7.0.110.0020.18815.34
7.0.100.0090.21216.88
7.0.90.0040.22816.77
7.0.80.0190.20816.89
7.0.70.0060.21816.85
7.0.60.0070.21716.96
7.0.50.0140.21016.87
7.0.40.0060.20715.59
7.0.30.0040.21515.53
7.0.20.0090.21215.62
7.0.10.0020.22515.58
7.0.00.0080.22215.63
5.6.400.0030.19014.08
5.6.390.0030.19514.13
5.6.380.0020.19214.30
5.6.370.0080.18614.39
5.6.360.0030.18914.08
5.6.350.0020.19214.20
5.6.340.0080.18814.16
5.6.330.0000.19713.97
5.6.320.0070.18314.02
5.6.310.0030.18714.22
5.6.300.0030.19314.03
5.6.290.0050.19014.37
5.6.280.0030.20416.51
5.6.270.0050.18514.38
5.6.260.0070.18914.27
5.6.250.0070.21616.19
5.6.240.0080.21616.28
5.6.230.0080.22616.32
5.6.220.0080.21516.22
5.6.210.0060.19416.24
5.6.200.0080.21316.40
5.6.190.0080.20416.47
5.6.180.0070.21816.33
5.6.170.0040.22216.53
5.6.160.0040.21916.41
5.6.150.0090.21516.52
5.6.140.0040.22616.45
5.6.130.0080.20716.35
5.6.120.0070.21016.45
5.6.110.0030.22116.56
5.6.100.0070.22316.36
5.6.90.0100.21116.48
5.6.80.0030.22416.10
5.6.70.0070.21416.23
5.6.60.0060.21016.16
5.6.50.0040.22516.36
5.6.40.0070.21616.19
5.6.30.0070.21516.35
5.6.20.0030.20116.14
5.6.10.0060.20816.12
5.6.00.0070.20016.17
5.5.380.0040.21516.18
5.5.370.0040.21716.30
5.5.360.0100.21916.22
5.5.350.0070.21116.22
5.5.340.0040.22216.22
5.5.330.0080.22516.37
5.5.320.0040.19916.47
5.5.310.0080.21716.27
5.5.300.0090.21416.23
5.5.290.0100.21716.32
5.5.280.0060.22416.26
5.5.270.0100.20016.27
5.5.260.0080.22316.26
5.5.250.0080.22316.02
5.5.240.0080.21716.04
5.5.230.0070.21516.08
5.5.220.0090.20316.13
5.5.210.0040.23516.12
5.5.200.0070.21416.12
5.5.190.0040.20816.06
5.5.180.0060.22815.97
5.5.170.0050.19314.09
5.5.160.0080.22816.06
5.5.150.0070.22515.90
5.5.140.0090.21716.11
5.5.130.0090.19016.01
5.5.120.0020.21516.02
5.5.110.0070.21816.04
5.5.100.0070.21716.01
5.5.90.0080.21716.04
5.5.80.0060.21515.94
5.5.70.0070.20916.05
5.5.60.0040.21915.97
5.5.50.0070.22016.09
5.5.40.0060.21116.06
5.5.30.0030.21816.11
5.5.20.0080.20715.93
5.5.10.0080.21216.05
5.5.00.0080.21615.80

preferences:
34.43 ms | 401 KiB | 5 Q