3v4l.org

run code in 300+ PHP versions simultaneously
<?php $p1 = '12345678901234567890123456789012345678901234567890123456789012345678901234567890'; $p2 = '123456789012345678901234567890123456789012345678901234567890123456789012'; $p3 = '123456789012345678901234567890123456789012345678901234567890123456789012abcdef'; $h1 = password_hash($p1, PASSWORD_BCRYPT); var_dump(password_verify($p2, $h1)); var_dump(password_verify($p3, $h1));

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)
8.2.110.0030.16222.22
8.2.100.0100.15620.49
8.2.90.0030.16518.77
8.2.80.0160.15420.37
8.2.70.0000.16418.72
8.2.60.0030.16218.63
8.2.50.0050.17319.48
8.2.40.0030.16918.58
8.2.30.0030.16518.61
8.2.20.0030.16918.46
8.2.10.0100.17118.18
8.2.00.0080.17218.20
8.1.240.0100.16118.30
8.1.230.0060.16418.48
8.1.220.0070.16618.50
8.1.210.0100.16019.73
8.1.200.0030.16620.26
8.1.190.0030.16318.29
8.1.180.0070.16218.17
8.1.170.0070.16120.33
8.1.160.0130.15418.36
8.1.150.0070.16118.33
8.1.140.0100.17217.82
8.1.130.0080.16917.80
8.1.120.0070.17419.54
8.1.110.0080.17518.38
8.1.100.0110.17517.75
8.1.90.0100.17617.80
8.1.80.0130.17118.32
8.1.70.0130.17117.75
8.1.60.0190.17017.84
8.1.50.0140.17818.46
8.1.40.0090.17518.50
8.1.30.0120.17418.54
8.1.20.0100.18318.52
8.1.10.0120.18318.36
8.1.00.0080.17317.72
8.0.300.0070.15619.72
8.0.290.0030.16217.86
8.0.280.0070.15717.83
8.0.270.0050.17418.18
8.0.260.0100.16418.09
8.0.250.0070.17018.38
8.0.240.0120.16917.09
8.0.230.0120.16717.05
8.0.220.0080.17217.03
8.0.210.0110.16817.03
8.0.200.0080.17217.11
8.0.190.0110.17017.11
8.0.180.0080.17117.13
8.0.170.0060.17417.15
8.0.160.0070.17217.13
8.0.150.0060.17217.03
8.0.140.0110.16917.71
8.0.130.0080.17017.00
8.0.120.0090.17116.94
8.0.110.0120.16617.64
8.0.100.0090.16917.67
8.0.90.0060.17616.99
8.0.80.0090.16917.64
8.0.70.0090.16917.02
8.0.60.0080.17217.02
8.0.50.0100.16917.03
8.0.30.0100.19917.00
8.0.20.0110.19217.06
8.0.10.0100.19717.18
8.0.00.0090.21617.09
7.4.330.0040.17615.31
7.4.320.0140.17617.25
7.4.300.0110.17416.70
7.4.290.0120.17716.64
7.4.280.0180.17216.65
7.4.270.0170.17316.69
7.4.260.0110.17416.62
7.4.250.0110.17616.62
7.4.240.0130.17316.65
7.4.230.0110.17516.70
7.4.220.0140.17416.64
7.4.210.0140.17016.59
7.4.200.0140.16816.67
7.4.190.0190.16216.72
7.4.180.0100.17017.18
7.4.160.0110.19916.63
7.4.150.0100.20116.63
7.4.140.0140.19416.54
7.4.130.0140.20216.43
7.4.120.0120.20616.45
7.4.110.0050.21216.43
7.4.100.0130.20416.48
7.4.90.0140.20816.43
7.4.80.0100.20816.44
7.4.70.0100.21016.48
7.4.60.0160.20816.46
7.4.50.0090.21116.35
7.4.40.0090.21316.37
7.4.30.0080.21416.48
7.4.20.0100.21516.67
7.4.10.0100.21216.82
7.4.00.0110.22016.56
7.3.330.0130.17317.02
7.3.320.0090.17916.46
7.3.310.0150.16816.33
7.3.300.0130.17016.51
7.3.290.0140.16916.46
7.3.280.0110.17216.40
7.3.270.0130.19616.28
7.3.260.0070.20316.38
7.3.250.0100.21016.28
7.3.240.0070.21216.27
7.3.230.0140.20516.36
7.3.220.0150.20616.22
7.3.210.0090.20916.27
7.3.200.0120.20716.36
7.3.190.0070.21216.25
7.3.180.0100.21116.36
7.3.170.0130.20816.20
7.3.160.0130.21416.27
7.3.150.0130.20616.28
7.3.140.0180.20416.26
7.3.130.0120.20816.29
7.3.120.0100.22216.08
7.3.110.0110.21516.03
7.3.100.0130.22415.96
7.3.90.0130.21616.12
7.3.80.0120.22115.99
7.3.70.0110.21616.02
7.3.60.0150.21516.40
7.3.50.0100.22116.39
7.3.40.0110.22416.03
7.3.30.0150.21316.03
7.3.20.0130.21917.20
7.3.10.0140.21317.15
7.3.00.0140.21617.13
7.2.340.0120.21016.45
7.2.330.0190.20216.54
7.2.320.0190.21616.47
7.2.310.0170.20816.41
7.2.300.0150.21016.32
7.2.290.0160.21316.43
7.2.280.0130.21916.45
7.2.270.0130.21016.44
7.2.260.0140.21416.40
7.2.250.0190.22016.20
7.2.240.0180.21516.15
7.2.230.0140.21816.20
7.2.220.0190.21816.17
7.2.210.0120.22316.09
7.2.200.0160.22116.19
7.2.190.0150.22016.16
7.2.180.0130.22116.19
7.2.170.0180.21716.45
7.2.160.0130.22316.15
7.2.150.0160.21817.35
7.2.140.0240.21417.41
7.2.130.0160.21217.44
7.2.120.0170.21517.32
7.2.110.0150.21717.27
7.2.100.0130.21417.31
7.2.90.0120.21817.38
7.2.80.0200.21017.36
7.2.70.0180.21517.35
7.2.60.0180.21417.33
7.2.50.0190.21317.31
7.2.40.0140.22117.38
7.2.30.0200.21217.37
7.2.20.0180.21217.38
7.2.10.0160.21317.41
7.2.00.0120.21917.47
7.1.330.0180.21816.62
7.1.320.0170.22116.57
7.1.310.0180.21816.58
7.1.300.0140.22016.62
7.1.290.0170.21316.50
7.1.280.0110.22716.49
7.1.270.0340.21216.57
7.1.260.0190.21816.56
7.1.250.0150.21316.38
7.1.240.0170.21916.56
7.1.230.0130.21916.49
7.1.220.0160.21616.51
7.1.210.0160.22116.49
7.1.200.0150.22116.35
7.1.190.0200.21716.54
7.1.180.0180.21416.50
7.1.170.0140.21816.47
7.1.160.0130.22016.54
7.1.150.0150.22016.49
7.1.140.0190.21816.44
7.1.130.0170.21616.49
7.1.120.0190.21716.49
7.1.110.0210.22616.67
7.1.100.0140.21916.84
7.1.90.0150.22616.71
7.1.80.0130.22416.73
7.1.70.0140.22216.52
7.1.60.0190.22918.91
7.1.50.0180.22719.10
7.1.40.0190.22919.06
7.1.30.0200.23119.10
7.1.20.0200.22319.05
7.1.10.0170.22416.41
7.1.00.0130.23317.16
7.0.330.0200.21716.13
7.0.320.0140.21616.19
7.0.310.0140.21816.20
7.0.300.0130.21516.12
7.0.290.0210.21916.16
7.0.280.0170.21316.08
7.0.270.0180.21416.17
7.0.260.0130.22316.12
7.0.250.0170.23116.20
7.0.240.0150.22416.43
7.0.230.0130.22416.52
7.0.220.0140.22316.37
7.0.210.0130.22816.22
7.0.200.0230.21516.29
7.0.190.0200.22616.30
7.0.180.0170.23216.17
7.0.170.0160.22716.25
7.0.160.0150.22416.10
7.0.150.0160.22616.10
7.0.140.0150.22816.12
7.0.130.0120.22716.32
7.0.120.0200.21716.26
7.0.110.0110.22816.62
7.0.100.0130.23016.62
7.0.90.0170.22816.50
7.0.80.0230.22216.60
7.0.70.0230.23616.63
7.0.60.0160.23016.62
7.0.50.0140.22716.66
7.0.40.0120.23516.75
7.0.30.0160.22916.78
7.0.20.0140.23516.66
7.0.10.0140.23716.66
7.0.00.0150.22816.66
5.6.400.0160.21415.70
5.6.390.0150.21515.78
5.6.380.0160.21915.73
5.6.370.0180.21615.73
5.6.360.0140.22015.78
5.6.350.0100.22315.69
5.6.340.0130.22115.69
5.6.330.0130.21815.69
5.6.320.0210.21915.78
5.6.310.0180.22315.79
5.6.300.0170.23116.46
5.6.290.0150.22916.39
5.6.280.0160.23617.08
5.6.270.0170.22816.44
5.6.260.0120.23617.00
5.6.250.0150.24116.94
5.6.240.0130.24216.95
5.6.230.0150.23617.03
5.6.220.0180.25316.97
5.6.210.0130.23616.96
5.6.200.0160.22317.04
5.6.190.0130.24117.08
5.6.180.0130.23717.04
5.6.170.0140.24117.09
5.6.160.0140.23017.04
5.6.150.0140.23517.01
5.6.140.0140.23517.02
5.6.130.0160.23817.07
5.6.120.0150.23317.01
5.6.110.0140.23916.99
5.6.100.0130.24017.02
5.6.90.0160.23416.99
5.6.80.0150.24116.80
5.6.70.0110.24016.91
5.6.60.0150.24016.92
5.6.50.0130.23616.84
5.6.40.0160.23516.83
5.6.30.0160.23316.79
5.6.20.0150.23416.83
5.6.10.0150.23716.79
5.6.00.0130.23516.79
5.5.380.0160.23716.47
5.5.370.0180.22616.58
5.5.360.0170.23516.44
5.5.350.0100.24716.44
5.5.340.0140.24116.59
5.5.330.0160.22716.50
5.5.320.0140.23816.53
5.5.310.0160.23716.58
5.5.300.0150.23816.56
5.5.290.0120.23916.65
5.5.280.0140.23816.55
5.5.270.0160.23316.52
5.5.260.0150.23716.56
5.5.250.0140.23716.58
5.5.240.0110.23916.33
5.5.230.0170.23716.40
5.5.220.0160.23716.36
5.5.210.0130.22916.44
5.5.200.0170.23816.36
5.5.190.0110.23716.30
5.5.180.0130.23716.35
5.5.170.0160.21615.61
5.5.160.0180.22616.42
5.5.150.0110.22716.37
5.5.140.0160.23716.36
5.5.130.0160.22516.33
5.5.120.0140.23716.35
5.5.110.0140.22616.36
5.5.100.0140.23516.40
5.5.90.0130.22916.42
5.5.80.0160.23716.37
5.5.70.0120.23216.39
5.5.60.0160.23516.32
5.5.50.0100.24016.37
5.5.40.0170.23516.41
5.5.30.0110.23416.40
5.5.20.0090.24116.41
5.5.10.0120.23016.39
5.5.00.0110.23716.34

preferences:
60.37 ms | 403 KiB | 5 Q