3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hashed =password_hash('mypass', PASSWORD_BCRYPT); echo $hashed; $verified = password_verify('mypass', $hashed); var_dump($verified);

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.120.0030.14014.71
7.3.110.0070.13014.77
7.3.100.0070.12814.68
7.3.90.0050.13314.77
7.3.80.0020.13014.88
7.3.70.0050.13014.73
7.3.60.0070.12714.68
7.3.50.0080.12814.61
7.3.40.0050.12814.59
7.3.30.0050.12714.59
7.3.20.0100.12416.38
7.3.10.0030.13316.50
7.3.00.0030.13716.50
7.2.240.0070.13114.83
7.2.230.0050.13314.99
7.2.220.0050.13015.00
7.2.210.0070.13115.00
7.2.200.0020.13714.77
7.2.190.0050.13014.98
7.2.180.0050.13014.82
7.2.170.0070.12914.97
7.2.160.0030.12914.94
7.2.150.0110.12316.73
7.2.140.0050.13016.71
7.2.130.0050.13016.84
7.2.120.0020.13316.87
7.2.110.0100.12516.63
7.2.100.0020.13516.59
7.2.90.0020.13516.70
7.2.80.0050.12716.86
7.2.70.0070.13116.84
7.2.60.0040.13116.87
7.2.50.0060.12816.78
7.2.40.0100.12716.96
7.2.30.0020.13616.98
7.2.20.0020.13616.90
7.2.10.0100.12616.91
7.2.00.0080.13017.55
7.1.330.0080.13215.78
7.1.320.0030.13315.82
7.1.310.0050.12415.63
7.1.300.0030.13215.69
7.1.290.0030.13315.72
7.1.280.0050.13015.75
7.1.270.0080.12615.80
7.1.260.0050.13115.76
7.1.250.0020.13515.78
7.1.200.0070.13015.80
7.1.100.0070.13018.21
7.1.70.0000.13316.98
7.1.60.0130.17819.43
7.1.50.0130.12734.70
7.1.00.0030.24022.57
7.0.200.0000.12716.79
7.0.60.0130.23020.06
7.0.50.0000.16017.82
7.0.40.0030.17019.90
7.0.30.0430.20320.34
7.0.20.0370.21320.17
7.0.10.0170.17720.06
7.0.00.0030.17320.16
5.6.280.0000.14321.02
5.6.210.0130.21020.61
5.6.200.0070.21318.19
5.6.190.0000.18320.77
5.6.180.0000.16020.77
5.6.170.0230.17020.46
5.6.160.0000.22720.47
5.6.150.0100.17318.17
5.6.140.0070.16318.28
5.6.130.0070.20718.07
5.6.120.0070.20721.01
5.6.110.0170.23021.10
5.6.100.0130.22021.11
5.6.90.0100.23020.98
5.6.80.0100.20720.39
5.6.70.4400.16020.57
5.5.350.0070.18020.46
5.5.340.0200.20717.98
5.5.330.0030.17020.19
5.5.320.0030.19720.42
5.5.310.0330.20720.32
5.5.300.0100.21317.87
5.5.290.0230.17017.95
5.5.280.0100.21720.84
5.5.270.0100.19320.75
5.5.260.0100.22320.86
5.5.250.0000.16720.70
5.5.240.0000.19020.11
5.4.450.0770.04319.28
5.4.440.0700.05019.56
5.4.430.0730.04319.48
5.4.420.0600.05719.08
5.4.410.0570.05719.21
5.4.400.0600.05319.24
5.4.390.0700.04719.16
5.4.380.0670.04719.18
5.4.370.0600.05319.17
5.4.360.0600.05718.81
5.4.350.0800.03718.95
5.4.340.0670.05019.17
5.4.320.0700.05019.12
5.4.310.0600.05318.80
5.4.300.0630.05318.97
5.4.290.0830.04719.23
5.4.280.0700.04719.14
5.4.270.0570.06018.81
5.4.260.0830.04718.75
5.4.250.0730.05319.16
5.4.240.0730.05719.16
5.4.230.0530.06319.18
5.4.220.0670.04719.17
5.4.210.0530.06019.00
5.4.200.0570.05719.20
5.4.190.0770.05718.96
5.4.180.0770.05019.17
5.4.170.0830.05018.80
5.4.160.0770.05719.20
5.4.150.0830.04718.96
5.4.140.0730.04016.27
5.4.130.0770.04716.43
5.4.120.0800.05016.28
5.4.110.0630.05016.18
5.4.100.0870.05016.19
5.4.90.0800.05016.41
5.4.80.0770.04716.42
5.4.70.0630.05016.37
5.4.60.0730.05016.48
5.4.50.0730.05016.31
5.4.40.0730.05016.48
5.4.30.0700.05316.26
5.4.20.0600.05016.04
5.4.10.0530.06316.35
5.4.00.0670.04715.90

preferences:
37.1 ms | 400 KiB | 5 Q