3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hundred = '1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'; $password = 'foo'; $hash = password_hash($hundred . $password, PASSWORD_BCRYPT); $result = password_verify($hundred . 'gghdhdhdhBAR', $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.4.10.0100.13715.05
7.4.00.0100.13715.05
7.3.130.0070.13914.63
7.3.120.0070.13014.48
7.3.110.0070.13414.35
7.3.100.0030.13014.47
7.3.90.0030.13614.52
7.3.80.0100.13114.70
7.3.70.0070.13314.73
7.3.60.0070.13614.87
7.3.50.0030.14114.50
7.3.40.0030.12614.63
7.3.30.0000.13314.50
7.3.20.0030.13016.33
7.3.10.0000.14116.67
7.3.00.0000.13616.34
7.2.260.0070.13314.90
7.2.250.0070.13815.13
7.2.240.0030.13314.52
7.2.230.0070.13714.94
7.2.220.0070.12614.76
7.2.210.0070.12815.12
7.2.200.0070.13315.15
7.2.190.0030.13414.91
7.2.180.0000.14214.72
7.2.170.0070.12914.75
7.2.160.0060.13015.03
7.2.150.0070.13216.87
7.2.140.0030.13616.57
7.2.130.0030.13616.87
7.2.120.0030.12916.51
7.2.110.0070.13216.56
7.2.100.0030.12616.90
7.2.90.0000.13316.93
7.2.80.0030.13516.83
7.2.70.0070.13316.98
7.2.60.0030.13716.71
7.2.50.0000.14116.73
7.2.40.0030.13016.87
7.2.30.0000.14717.00
7.2.20.0030.13316.90
7.2.10.0070.12416.82
7.2.00.0030.13318.21
7.1.330.0130.12215.73
7.1.320.0130.13115.84
7.1.310.0030.12915.90
7.1.300.0030.13415.51
7.1.290.0070.12715.76
7.1.280.0100.12815.79
7.1.270.0030.13815.66
7.1.260.0030.13415.86
7.1.250.0070.13015.73
7.1.240.0030.13015.82
7.1.230.0030.12815.72
7.1.220.0030.13015.79
7.1.210.0130.12815.58
7.1.200.0030.13215.78
7.1.190.0030.13315.55
7.1.180.0000.14315.94
7.1.170.0070.12615.59
7.1.160.0070.12615.79
7.1.150.0030.13415.40
7.1.140.0030.13215.85
7.1.130.0100.12715.87
7.1.120.0030.13115.86
7.1.110.0030.13215.80
7.1.100.0020.13316.80
7.1.90.0030.12915.93
7.1.80.0070.13115.54
7.1.70.0020.13916.38
7.1.60.0050.16717.59
7.1.50.0070.12716.13
7.1.40.0070.12515.93
7.1.30.0070.12815.51
7.1.20.0030.13515.72
7.1.10.0000.14115.88
7.1.00.0020.18519.05
7.0.330.0070.13115.13
7.0.320.0100.13015.60
7.0.310.0070.12815.42
7.0.300.0070.12315.53
7.0.290.0100.12715.34
7.0.280.0030.13415.36
7.0.270.0100.12715.32
7.0.260.0000.13615.16
7.0.250.0030.13315.53
7.0.240.0000.13015.54
7.0.230.0030.13515.64
7.0.220.0100.12815.28
7.0.210.0030.12715.41
7.0.200.0020.13016.13
7.0.190.0000.13215.22
7.0.180.0030.13415.20
7.0.170.0070.12615.10
7.0.160.0070.13015.54
7.0.150.0070.12615.40
7.0.140.0050.14418.74
7.0.130.0130.13215.34
7.0.120.0060.12515.39
7.0.110.0020.13617.74
7.0.100.0050.12817.77
7.0.90.0000.15117.76
7.0.80.0070.13317.65
7.0.70.0180.15517.55
7.0.60.0200.16317.70
7.0.50.0220.17517.79
7.0.40.0020.13616.61
7.0.30.0020.13416.70
7.0.20.0050.17216.52
7.0.10.0100.17016.63
7.0.00.0050.14616.52
5.6.400.0030.14214.49
5.6.390.0070.12714.18
5.6.380.0030.13514.03
5.6.370.0030.12814.12
5.6.360.0000.13213.94
5.6.350.0030.13714.25
5.6.340.0000.13913.91
5.6.330.0070.12214.11
5.6.320.0070.12814.49
5.6.310.0030.13114.57
5.6.300.0070.12814.57
5.6.290.0030.12914.01
5.6.280.0030.18817.54
5.6.270.0000.14714.10
5.6.260.0030.14617.50
5.6.250.0050.13617.33
5.6.240.0080.13217.47
5.6.230.0070.12917.34
5.6.220.0120.13317.37
5.6.210.0030.15817.40
5.6.200.0030.16917.37
5.6.190.0000.16917.38
5.6.180.0050.13317.34
5.6.170.0030.17117.55
5.6.160.0050.18317.28
5.6.150.0100.15617.38
5.6.140.0020.15517.40
5.6.130.0030.15017.38
5.6.120.0020.14817.34
5.6.110.0020.14817.43
5.6.100.0030.14717.33
5.6.90.0030.14917.52
5.6.80.0030.17717.18
5.6.70.0070.15516.93
5.6.60.0070.16617.19
5.6.50.0050.17117.08
5.6.40.0100.15617.07
5.6.30.0020.14817.15
5.6.20.0070.17517.00
5.6.10.0030.16617.04
5.6.00.0120.16817.19
5.5.380.0000.14916.01
5.5.370.0030.14615.92
5.5.360.0020.18415.89
5.5.350.0050.14616.07
5.5.340.0070.16916.11
5.5.330.0050.15215.94
5.5.320.0030.15616.01
5.5.310.0070.14416.01
5.5.300.0080.13316.20
5.5.290.0080.17315.88
5.5.280.0130.13716.21
5.5.270.0050.16716.12
5.5.260.0030.15915.80
5.5.250.0050.15215.99
5.5.240.0080.17815.65
5.5.230.0030.13615.95
5.5.220.0050.14415.68
5.5.210.0030.17915.80
5.5.200.0080.16315.79
5.5.190.0050.17315.82
5.5.180.0020.15015.76
5.5.170.0070.12713.90
5.5.160.0020.15915.84
5.5.150.0050.14615.73
5.5.140.0080.14115.68
5.5.130.0070.15915.68
5.5.120.0020.15515.87
5.5.110.0050.17415.93
5.5.100.0100.17615.71
5.5.90.0070.15215.75
5.5.80.0050.14315.60
5.5.70.0030.15515.66
5.5.60.0130.13915.41
5.5.50.0070.15715.81
5.5.40.0030.15815.59
5.5.30.0030.13515.85
5.5.20.0020.15715.74
5.5.10.0000.14915.61
5.5.00.0020.16015.56
5.4.450.0020.03215.81
5.4.440.0030.03515.85
5.4.430.0080.01715.85
5.4.420.0060.03115.82
5.4.410.0100.03515.71
5.4.400.0020.02215.62
5.4.390.0070.04015.65
5.4.380.0030.04315.64
5.4.370.0020.02215.65
5.4.360.0030.02915.66
5.4.350.0070.02115.71
5.4.340.0010.02415.77
5.4.330.0000.00912.30
5.4.320.0020.03315.71
5.4.310.0080.03315.71
5.4.300.0030.03515.63
5.4.290.0080.03515.77
5.4.280.0100.03815.62
5.4.270.0030.02115.66
5.4.260.0020.04415.77
5.4.250.0020.02215.65
5.4.240.0050.02015.62
5.4.230.0030.02715.65
5.4.220.0080.01715.68
5.4.210.0070.01815.70
5.4.200.0020.03315.62
5.4.190.0050.02015.63
5.4.180.0040.03015.78
5.4.170.0040.03415.65
5.4.160.0020.02415.63
5.4.150.0000.02515.70
5.4.140.0030.02714.27
5.4.130.0030.03314.25
5.4.120.0030.02014.37
5.4.110.0040.02214.41
5.4.100.0040.02914.34
5.4.90.0080.03214.27
5.4.80.0090.01614.29
5.4.70.0070.01614.41
5.4.60.0020.02314.28
5.4.50.0060.01814.20
5.4.40.0000.02414.35
5.4.30.0070.01814.42
5.4.20.0010.02314.32
5.4.10.0020.02014.28
5.4.00.0040.02013.96
5.3.290.0030.07714.60
5.3.280.0030.04014.66
5.3.270.0130.02714.54
5.3.260.0100.07014.68
5.3.250.0000.03714.54
5.3.240.0000.04014.67
5.3.230.0000.06714.44
5.3.220.0070.04314.45
5.3.210.0030.04014.63
5.3.200.0070.04014.56
5.3.190.0000.04314.57
5.3.180.0100.05314.57
5.3.170.0000.03714.57
5.3.160.0000.04014.66
5.3.150.0030.03714.57
5.3.140.0000.03714.57
5.3.130.0070.03014.47
5.3.120.0100.03314.48
5.3.110.0000.04014.61
5.3.100.0000.03313.86
5.3.90.0030.04313.85
5.3.80.0000.03313.85
5.3.70.0100.03013.79
5.3.60.0000.04013.93
5.3.50.0030.03013.88
5.3.40.0000.05313.90
5.3.30.0130.06713.91
5.3.20.0070.03313.62
5.3.10.0130.02713.58
5.3.00.0030.03713.52
5.2.170.0000.02711.96
5.2.160.0070.02011.96
5.2.150.0130.05311.96
5.2.140.0000.04011.96
5.2.130.0030.02711.96
5.2.120.0030.02711.96
5.2.110.0030.03011.96
5.2.100.0000.03011.96
5.2.90.0000.03011.96
5.2.80.0030.03711.96
5.2.70.0030.02711.96
5.2.60.0030.03011.96
5.2.50.0000.03311.96
5.2.40.0000.03011.96
5.2.30.0070.04011.96
5.2.20.0070.04711.96
5.2.10.0000.03711.96
5.2.00.0000.03011.96
5.1.60.0000.02311.96
5.1.50.0030.02011.96
5.1.40.0030.02311.96
5.1.30.0070.01711.96
5.1.20.0030.02011.96
5.1.10.0000.02311.96
5.1.00.0030.03311.96
5.0.50.0030.01311.96
5.0.40.0000.02311.96
5.0.30.0030.02711.96
5.0.20.0000.01711.96
5.0.10.0030.03011.96
5.0.00.0000.03311.96
4.4.90.0000.01311.96
4.4.80.0000.01711.96
4.4.70.0000.02011.96
4.4.60.0000.01711.96
4.4.50.0000.01311.96
4.4.40.0000.02311.96
4.4.30.0000.01311.96
4.4.20.0000.01311.96
4.4.10.0000.01711.96
4.4.00.0030.02311.96
4.3.110.0030.02711.96
4.3.100.0070.01011.96
4.3.90.0000.02311.96
4.3.80.0000.02011.96
4.3.70.0030.01011.96
4.3.60.0000.01311.96
4.3.50.0030.01311.96
4.3.40.0000.02011.96
4.3.30.0000.01311.96
4.3.20.0000.01311.96
4.3.10.0000.01311.96
4.3.00.0000.02011.96

preferences:
41.18 ms | 401 KiB | 5 Q