3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hundred = '12345678901234567890123456789012345678901234567890123456789012345678901234567890123'; $password = 'foo'; $hash = password_hash($hundred . $password, PASSWORD_BCRYPT); $result = password_verify($hundred . 'BAR', $hash); var_dump($result);

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.2.60.0320.13516.41
7.2.00.0030.14319.04
7.1.200.0030.12915.63
7.1.100.0000.13817.93
7.1.70.0070.18317.16
7.1.60.0100.20819.46
7.1.50.0000.13316.89
7.1.00.0000.24322.51
7.0.200.0070.12016.75
7.0.140.0000.15022.09
7.0.60.0070.20020.03
7.0.50.0070.18017.86
7.0.40.0070.16720.36
7.0.30.0500.20020.13
7.0.20.0500.15320.06
7.0.10.0070.19020.21
7.0.00.0170.21720.11
5.6.280.0000.23021.11
5.6.210.0030.16320.51
5.6.200.0070.16318.15
5.6.190.0130.21320.41
5.6.180.0400.18320.77
5.6.170.0230.20020.51
5.6.160.0070.19020.48
5.6.150.0070.16718.18
5.6.140.0030.16718.27
5.6.130.0030.22718.18
5.6.120.0070.22321.13
5.6.110.0230.21721.13
5.6.100.0030.20321.00
5.6.90.0100.18021.12
5.6.80.0100.17720.36
5.5.350.3330.13720.40
5.5.340.0070.17717.98
5.5.330.0070.21720.40
5.5.320.2370.16320.29
5.5.310.0430.20020.50
5.5.300.0100.16718.02
5.5.290.0070.21018.02
5.5.280.0200.21720.76
5.5.270.0100.19720.81
5.5.260.0100.18020.64
5.5.250.0130.20720.61
5.5.240.0070.21720.18
5.4.450.0330.05719.10
5.4.440.0700.07019.49
5.4.430.0030.06319.46
5.4.420.0100.05319.42
5.4.410.0170.04719.57
5.4.400.0130.05019.25
5.4.390.0230.07018.55
5.4.380.0470.06718.52
5.4.370.0230.06018.67
5.4.360.0300.06718.66
5.4.350.0330.07018.71
5.4.340.0430.06018.69
5.4.320.0400.06318.51
5.4.310.0300.07318.58
5.4.300.0400.06018.47
5.4.290.0330.05718.50
5.4.280.0230.06318.71
5.4.270.0270.05718.39
5.4.260.0330.04318.55
5.4.250.0130.06318.61
5.4.240.0170.06718.42
5.4.230.0370.03718.44
5.4.220.0270.06018.68
5.4.210.0300.05718.41
5.4.200.0270.05316.64
5.4.190.0270.04718.54
5.4.180.0170.06018.53
5.4.170.0170.05718.71
5.4.160.0300.03718.63
5.4.150.0300.04318.43
5.4.140.0230.04716.05
5.4.130.0230.06716.13
5.4.120.0300.04316.22
5.4.110.0330.05316.39
5.4.100.0200.05016.24
5.4.90.0170.05716.34
5.4.80.0270.04316.28
5.4.70.0130.05716.13
5.4.60.0170.06016.04
5.4.50.0230.05316.01
5.4.40.0230.06316.13
5.4.30.0400.05016.22
5.4.20.0330.06016.23
5.4.10.0300.06016.05
5.4.00.0370.05315.76
5.3.290.0270.05314.66
5.3.280.0270.05014.54
5.3.270.0330.04714.65
5.3.260.0300.05014.68
5.3.250.0230.05714.55
5.3.240.0270.05014.60
5.3.230.0270.04714.59
5.3.220.0270.07014.54
5.3.210.0200.06314.51
5.3.200.0330.09314.56
5.3.190.0200.07014.47
5.3.180.0200.07314.54
5.3.170.0230.06714.48
5.3.160.0270.06714.63
5.3.150.0300.04714.56
5.3.140.0400.07314.48
5.3.130.0270.06714.52
5.3.120.0200.05714.45
5.3.110.0330.06314.61
5.3.100.0300.06014.01
5.3.90.0230.06013.95
5.3.80.0130.06013.95
5.3.70.0230.05013.95
5.3.60.0270.04714.00
5.3.50.0330.05713.89
5.3.40.0230.06713.98
5.3.30.0370.05313.89
5.3.20.0170.06013.68
5.3.10.0270.06313.55
5.3.00.0300.06713.58
5.2.170.0230.06011.10
5.2.160.0270.03311.07
5.2.150.0170.04711.09
5.2.140.0200.04011.19
5.2.130.0130.04311.12
5.2.120.0270.03011.13
5.2.110.0170.04011.13
5.2.100.0230.03311.02
5.2.90.0230.03711.25
5.2.80.0170.05311.01
5.2.70.0200.06011.05
5.2.60.0270.03711.18
5.2.50.0130.04310.96
5.2.40.0170.04310.97
5.2.30.0130.04711.02
5.2.20.0130.04311.00
5.2.10.0170.04010.90
5.2.00.0200.04010.65
5.1.60.0300.03310.02
5.1.50.0130.03710.09
5.1.40.0230.04310.04
5.1.30.0100.04310.30
5.1.20.0130.04310.36
5.1.10.0300.03010.17
5.1.00.0100.05310.13
5.0.50.0170.0238.60
5.0.40.0070.0478.45
5.0.30.0170.0538.32
5.0.20.0100.0338.18
5.0.10.0130.0378.27
5.0.00.0200.0408.23
4.4.90.0200.0205.90
4.4.80.0130.0235.88
4.4.70.0070.0275.86
4.4.60.0030.0275.81
4.4.50.0070.0275.89
4.4.40.0000.0435.90
4.4.30.0030.0235.91
4.4.20.0200.0235.88
4.4.10.0070.0335.96
4.4.00.0100.0375.89
4.3.110.0100.0205.84
4.3.100.0170.0275.84
4.3.90.0100.0205.77
4.3.80.0100.0335.86
4.3.70.0070.0205.76
4.3.60.0030.0235.82
4.3.50.0100.0235.79
4.3.40.0200.0235.74
4.3.30.0070.0234.55
4.3.20.0030.0234.66
4.3.10.0000.0274.52
4.3.00.0070.0278.73

preferences:
38.41 ms | 400 KiB | 5 Q