3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hash = password_hash("abc\0defghijklmnop", PASSWORD_DEFAULT); var_dump(password_verify("abc", $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)
8.3.40.0130.19919.84
8.3.30.0200.20519.04
8.3.20.0130.19021.77
8.3.10.0170.19021.77
8.3.00.0200.19118.43
8.2.170.0330.20918.78
8.2.160.0330.20419.84
8.2.150.0170.19119.01
8.2.140.0130.18720.35
8.2.130.0140.20420.38
8.2.120.0170.19318.97
8.2.110.0100.19219.13
8.2.100.0200.20619.14
8.2.90.0230.20518.79
8.2.80.0170.20519.09
8.2.70.0170.21418.45
8.2.60.0100.20518.88
8.2.50.0200.21418.89
8.2.40.0130.19618.55
8.2.30.0200.19318.57
8.2.20.0130.19518.64
8.2.10.0230.18618.70
8.2.00.0200.18918.35
8.1.270.0130.18822.18
8.1.260.0130.21021.87
8.1.250.0100.20522.18
8.1.240.0230.20918.37
8.1.230.0230.20918.45
8.1.220.0200.21318.48
8.1.210.0130.22018.20
8.1.200.0130.19818.66
8.1.190.0230.18918.29
8.1.180.0270.20018.14
8.1.170.0170.19218.61
8.1.160.0260.20318.48
8.1.150.0200.19418.62
8.1.140.0270.20418.52
8.1.130.0130.21818.59
8.1.120.0170.19218.32
8.1.110.0170.19418.32
8.1.100.0170.21919.69
8.1.90.0070.20518.31
8.1.80.0200.20619.62
8.1.70.0170.19718.59
8.1.60.0200.20018.43
8.1.50.0170.19918.30
8.1.40.0130.20818.55
8.1.30.0100.20518.77
8.1.20.0230.19019.79
8.1.10.0200.19718.51
8.1.00.0130.21218.35
8.0.300.0160.18817.75
8.0.290.0200.19717.77
8.0.280.0260.20717.70
8.0.270.0100.19817.70
8.0.260.0260.18717.81
8.0.250.0200.19117.69
8.0.240.0240.21017.72
8.0.230.0330.19217.88
8.0.220.0170.19717.77
8.0.210.0200.21017.77
8.0.200.0240.19017.68
8.0.190.0230.19517.77
8.0.180.0100.19617.75
8.0.170.0230.19417.70
8.0.160.0170.19117.83
8.0.150.0200.19317.66
8.0.140.0200.19817.66
8.0.130.0290.20517.45
8.0.120.0240.19817.54
8.0.110.0370.20417.61
8.0.100.0170.20817.79
8.0.90.0170.19817.61
8.0.80.0270.20317.73
8.0.70.0070.19417.76
8.0.60.0240.19917.50
8.0.50.0260.19017.64
8.0.30.0100.22117.76
8.0.20.0260.19918.06
8.0.10.0230.19217.89
8.0.00.0130.20519.49
7.4.330.0140.19417.48
7.4.320.0290.18517.36
7.4.300.0280.21417.29
7.4.290.0300.18717.15
7.4.280.0240.19217.44
7.4.270.0270.19517.15
7.4.260.0270.20817.19
7.4.250.0310.21217.02
7.4.240.0320.18417.42
7.4.230.0270.18917.43
7.4.220.0270.19217.40
7.4.210.0270.19217.17
7.4.200.0230.19217.41
7.4.190.0170.19617.43
7.4.180.0240.19917.67
7.4.160.0290.19817.18
7.4.150.0290.20017.08
7.4.140.0230.19017.35
7.4.130.0230.21317.02
7.4.120.0260.19617.18
7.4.110.0240.19917.27
7.4.100.0330.20017.37
7.4.90.0330.20217.30
7.4.80.0200.19517.31
7.4.70.0200.19417.23
7.4.60.0240.19717.10
7.4.50.0230.19417.16
7.4.40.0260.21117.07
7.4.30.0300.19117.30
7.4.20.0260.21517.15
7.4.10.0260.19817.15
7.4.00.0300.20717.14
7.3.330.0260.19617.18
7.3.320.0240.19516.93
7.3.310.0140.20417.22
7.3.300.0330.21117.61
7.3.290.0240.21016.77
7.3.280.0260.20217.22
7.3.270.0240.18917.14
7.3.260.0300.21417.03
7.3.250.0360.18617.17
7.3.240.0230.19617.18
7.3.230.0300.18417.07
7.3.220.0200.19416.94
7.3.210.0330.20916.89
7.3.200.0140.20317.16
7.3.190.0400.19816.96
7.3.180.0270.20917.01
7.3.170.0260.18717.60
7.3.160.0270.19317.05
7.3.150.0360.20616.80
7.3.140.0240.19216.59
7.3.130.0330.21216.91
7.3.120.0230.19117.09
7.3.110.0240.20117.24
7.3.100.0360.19616.98
7.3.90.0270.21517.23
7.3.80.0330.18916.93
7.3.70.0200.20518.17
7.3.60.0200.19317.30
7.3.50.0270.18717.21
7.3.40.0300.20317.09
7.3.30.0230.19317.11
7.3.20.0950.18619.14
7.3.10.0170.19919.04
7.3.00.0630.19518.85
7.2.340.0170.20017.14
7.2.330.0270.19217.08
7.2.320.0290.19717.13
7.2.310.0200.20717.17
7.2.300.0200.21417.12
7.2.290.0260.20917.02
7.2.280.0290.18717.21
7.2.270.0240.19417.17
7.2.260.0270.18617.39
7.2.250.0170.19617.18
7.2.240.0200.19317.17
7.2.230.0330.19716.93
7.2.220.0200.19417.32
7.2.210.0240.21016.79
7.2.200.0310.21617.29
7.2.190.0210.20017.12
7.2.180.0230.20216.96
7.2.170.0210.20917.30
7.2.160.0230.19717.25
7.2.150.0290.20418.95
7.2.140.0240.19719.04
7.2.130.0290.18819.37
7.2.120.0390.20219.31
7.2.110.0330.20118.93
7.2.100.0200.19619.29
7.2.90.0170.23319.20
7.2.80.0360.22719.32
7.2.70.0360.20018.94
7.2.60.0140.16218.13
7.2.50.0200.19619.29
7.2.40.0330.20918.96
7.2.30.0270.21119.08
7.2.20.0330.20119.20
7.2.10.0300.20819.18
7.2.00.0140.20919.26
7.1.330.0240.20018.30
7.1.320.0130.19818.23
7.1.310.0200.19418.11
7.1.300.0270.20418.33
7.1.290.0170.19718.28
7.1.280.0270.19618.14
7.1.270.0200.19119.20
7.1.260.0260.20518.09
7.1.250.0230.21318.01
7.1.240.0270.18718.25
7.1.230.0200.20118.31
7.1.220.0200.19818.27
7.1.210.0260.18818.16
7.1.200.0150.17516.87
7.1.190.0330.20518.05
7.1.180.0200.19318.11
7.1.170.0270.19318.08
7.1.160.0240.19719.05
7.1.150.0290.18618.11
7.1.140.0310.19318.10
7.1.130.0270.18718.03
7.1.120.0260.18618.26
7.1.110.0290.18218.06
7.1.100.0310.20618.09
7.1.90.0300.20018.18
7.1.80.0140.20318.28
7.1.70.0170.15817.54
7.1.60.0130.16318.76
7.1.50.0210.19219.21
7.1.40.0200.19618.05
7.1.30.0210.21418.01
7.1.20.0140.20018.01
7.1.10.0230.19118.23
7.1.00.0080.21520.20
7.0.330.0230.19717.78
7.0.320.0200.19417.84
7.0.310.0300.20117.84
7.0.300.0330.20217.75
7.0.290.0230.19617.46
7.0.280.0300.19117.59
7.0.270.0230.21017.75
7.0.260.0200.19717.75
7.0.250.0200.19818.03
7.0.240.0170.20218.01
7.0.230.0300.20617.91
7.0.220.0230.18817.99
7.0.210.0170.19418.04
7.0.200.0160.16517.28
7.0.190.0260.20817.87
7.0.180.0270.19817.86
7.0.170.0200.19418.09
7.0.160.0240.19217.93
7.0.150.0270.20017.93
7.0.140.0200.19217.79
7.0.130.0170.20318.00
7.0.120.0330.20217.99
7.0.110.0260.19819.18
7.0.100.0200.20617.95
7.0.90.0230.20817.80
7.0.80.0300.19617.86
7.0.70.0200.19117.75
7.0.60.0150.16218.96
7.0.50.0100.21217.79
7.0.40.0170.19818.98
7.0.30.0070.21219.06
7.0.20.0120.18918.97
7.0.10.0170.18619.03
7.0.00.0160.20719.05
5.6.400.0290.20516.77
5.6.390.0270.20116.82
5.6.380.0140.19616.75
5.6.370.0270.21216.83
5.6.360.0230.19816.37
5.6.350.0240.20216.47
5.6.340.0300.20416.69
5.6.330.0290.19816.81
5.6.320.0270.18616.46
5.6.310.0230.18716.75
5.6.300.0170.19516.70
5.6.290.0170.19216.61
5.6.280.0170.21918.81
5.6.270.0230.18916.69
5.6.260.0170.21316.68
5.6.250.0230.21416.65
5.6.240.0230.18716.70
5.6.230.0300.19716.46
5.6.220.0230.19516.69
5.6.210.0100.20918.66
5.6.200.0120.19117.54
5.6.190.0130.21418.66
5.6.180.0230.20418.62
5.6.170.0250.19318.62
5.6.160.0120.17818.67
5.6.150.0150.20318.56
5.6.140.0180.21618.59
5.6.130.0110.20718.49
5.6.120.0130.21118.59
5.6.110.0200.21018.65
5.6.100.0220.20418.31
5.6.90.0200.21018.51
5.6.80.0130.18818.17
5.6.70.0130.18418.26
5.6.60.0110.17718.27
5.6.50.0120.20618.30
5.6.40.0200.20418.15
5.6.30.0200.21318.20
5.6.20.0170.21118.08
5.6.10.0180.19718.04
5.6.00.0120.20917.98
5.5.380.0170.19516.50
5.5.370.0170.19616.69
5.5.360.0230.19016.65
5.5.350.1610.16518.51
5.5.340.0070.22617.30
5.5.330.0120.20118.28
5.5.320.0120.18218.53
5.5.310.0120.18718.42
5.5.300.0130.18518.25
5.5.290.0180.22118.30
5.5.280.0100.20618.36
5.5.270.0130.18218.21
5.5.260.0130.19818.28
5.5.250.0180.19218.36
5.5.240.0150.20718.12
5.5.230.0180.21918.11
5.5.220.0180.21118.10
5.5.210.0200.21118.10
5.5.200.0150.18717.88
5.5.190.0160.21617.91
5.5.180.0190.19818.05
5.5.170.0200.21116.29
5.5.160.0150.17517.99
5.5.150.0120.19318.08
5.5.140.0200.20617.83
5.5.130.0170.20418.00
5.5.120.0160.19917.99
5.5.110.0150.18317.92
5.5.100.0130.20817.94
5.5.90.0130.19017.89
5.5.80.0120.21018.03
5.5.70.0150.18617.94
5.5.60.0070.22517.91
5.5.50.0180.21418.03
5.5.40.0130.21318.04
5.5.30.0160.18217.98
5.5.20.0200.20218.01
5.5.10.0150.20917.93
5.5.00.0200.18317.98

preferences:
41.41 ms | 401 KiB | 5 Q