3v4l.org

run code in 300+ PHP versions simultaneously
<?php $correctPW = '34a124424f065ae13936064ab366d9'; $bad = 'be6759bc425ed7b26c177cf53af82b1ed519'; $hash = password_hash(hash('sha512', $correctPW, true), PASSWORD_BCRYPT); var_dump( password_verify( hash('sha512', $bad, true), $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.1.60.0030.12517.51
8.1.50.0160.12317.45
8.1.40.0170.12317.32
8.1.30.0200.13517.61
8.1.20.0200.11817.52
8.1.10.0220.12317.32
8.1.00.0200.11917.40
8.0.190.0170.11716.85
8.0.180.0100.13016.80
8.0.170.0130.12016.74
8.0.160.0130.11916.79
8.0.150.0190.11416.70
8.0.140.0170.11816.75
8.0.130.0190.11816.74
8.0.120.0130.11916.67
8.0.110.0200.12316.70
8.0.100.0070.12116.69
8.0.90.0200.11216.74
8.0.80.0190.11716.72
8.0.70.0140.11816.82
8.0.60.0280.10916.64
8.0.50.0130.12316.79
8.0.30.0190.11316.77
8.0.20.0230.11016.85
8.0.10.0110.13016.90
8.0.00.0070.11716.83
7.4.290.0070.12416.51
7.4.280.0100.12516.50
7.4.270.0190.12716.50
7.4.260.0150.12916.49
7.4.250.0120.12516.42
7.4.240.0170.11516.52
7.4.230.0190.11316.48
7.4.220.0140.12316.42
7.4.210.0100.12216.45
7.4.200.0030.12016.48
7.4.190.0160.12016.46
7.4.180.0260.11016.46
7.4.160.0210.11516.38
7.4.150.0160.12116.32
7.4.140.0230.11416.37
7.4.130.0170.12316.21
7.4.120.0100.12816.34
7.4.110.0070.12116.13
7.4.100.0160.12016.44
7.4.90.0130.12316.47
7.4.80.0200.11516.41
7.4.70.0030.12516.24
7.4.60.0220.11216.16
7.4.50.0030.12216.30
7.4.40.0030.12016.14
7.4.30.0100.12016.21
7.4.20.0070.11916.20
7.4.10.0160.11716.38
7.4.00.0130.12415.68
7.3.330.0160.12116.11
7.3.320.0160.11615.96
7.3.310.0170.11616.11
7.3.300.0160.11716.24
7.3.290.0130.12016.19
7.3.280.0130.12116.26
7.3.270.0170.11616.07
7.3.260.0160.12616.05
7.3.250.0220.11115.98
7.3.240.0160.11616.20
7.3.230.0190.11716.19
7.3.220.0140.11916.20
7.3.210.0200.11315.87
7.3.200.0220.11115.85
7.3.190.0160.11716.07
7.3.180.0190.11616.12
7.3.170.0170.12316.15
7.3.160.0200.11715.90
7.3.150.0130.12015.98
7.3.140.0130.12415.97
7.3.130.0130.11915.88
7.3.120.0110.12815.38
7.3.110.0100.13215.37
7.3.100.0100.12715.27
7.3.90.0080.14615.39
7.3.80.0150.14115.02
7.3.70.0100.14315.23
7.3.60.0130.14215.23
7.3.50.0100.14615.14
7.3.40.0120.14515.19
7.3.30.0110.14414.95
7.3.20.0100.14916.37
7.3.10.0170.14216.35
7.3.00.0110.14216.35
7.2.340.0230.11116.15
7.2.330.0230.11116.28
7.2.320.0070.12716.04
7.2.310.0130.11916.29
7.2.300.0210.11116.28
7.2.290.0130.12116.21
7.2.280.0130.12616.02
7.2.270.0240.11216.12
7.2.260.0180.11816.04
7.2.250.0100.12915.53
7.2.240.0080.13015.65
7.2.230.0130.12515.53
7.2.220.0060.14615.25
7.2.210.0150.14015.22
7.2.200.0120.14415.35
7.2.190.0110.14515.40
7.2.180.0110.14715.28
7.2.170.0130.14615.30
7.2.160.0130.15515.65
7.2.150.0190.15016.43
7.2.140.0180.15316.61
7.2.130.0170.15616.73
7.2.120.0200.15516.62
7.2.110.0160.16316.69
7.2.100.0210.15316.56
7.2.90.0220.14816.55
7.2.80.0210.14516.71
7.2.70.0190.14516.61
7.2.60.0120.15216.41
7.2.50.0140.15616.65
7.2.40.0230.14716.50
7.2.30.0290.14816.60
7.2.20.0240.14816.58
7.2.10.0220.14716.45
7.2.00.0150.15116.72
7.1.330.0100.12716.57
7.1.320.0110.14115.62
7.1.310.0150.14015.67
7.1.300.0110.14615.57
7.1.290.0140.14615.65
7.1.280.0190.14315.67
7.1.270.0110.14615.59
7.1.260.0170.14215.51
7.1.250.0190.15915.53
7.1.240.0200.11817.23
7.1.230.0100.12617.37
7.1.220.0160.11717.14
7.1.210.0210.11417.42
7.1.200.0270.12417.33
7.1.190.0230.11717.25
7.1.180.0140.12117.31
7.1.170.0210.11417.32
7.1.160.0070.12417.20
7.1.150.0040.12717.18
7.1.140.0190.11817.13
7.1.130.0190.11417.20
7.1.120.0130.11917.21
7.1.110.0220.11017.02
7.1.100.0130.11817.22
7.1.90.0160.11817.27
7.1.80.0140.11917.27
7.1.70.0250.11017.07
7.1.60.0160.12017.29
7.1.50.0220.11817.27
7.1.40.0200.11617.42
7.1.30.0140.12817.25
7.1.20.0140.11917.29
7.1.10.0190.11717.13
7.1.00.0170.11717.00

preferences:
36.03 ms | 400 KiB | 5 Q