3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hundred = '1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'; $password = 'foo'; $hash = password_hash($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.3.10.0100.12916.67
7.3.00.0100.12516.45
7.2.130.0030.12716.90
7.2.120.0030.12616.71
7.2.110.0070.13016.98
7.2.100.0070.12816.70
7.2.90.0030.12816.73
7.2.80.0030.12716.76
7.2.70.0100.12416.89
7.2.60.0030.13516.71
7.2.50.0100.12916.90
7.2.40.0130.12316.88
7.2.30.0000.13716.76
7.2.20.0070.12416.88
7.2.10.0070.12916.88
7.2.00.0070.12717.99
7.1.250.0030.13015.72
7.1.240.0100.13015.77
7.1.230.0030.13415.73
7.1.220.0000.13315.68
7.1.210.0070.13215.79
7.1.200.0100.12815.62
7.1.190.0030.12915.79
7.1.180.0030.13315.50
7.1.170.0070.12315.75
7.1.160.0100.12115.77
7.1.150.0100.12515.78
7.1.140.0030.12815.83
7.1.130.0000.13515.48
7.1.120.0000.14115.73
7.1.110.0070.12915.91
7.1.100.0070.12817.01
7.1.90.0130.12915.89
7.1.80.0100.13115.78
7.1.70.0020.13516.35
7.1.60.0100.15617.64
7.1.50.0050.13916.36
7.1.40.0070.12615.78
7.1.30.0070.12915.91
7.1.20.0030.12715.79
7.1.10.0130.12615.61
7.1.00.0030.18619.11
7.0.330.0030.13115.46
7.0.320.0100.13115.38
7.0.310.0000.13315.38
7.0.300.0070.12315.38
7.0.290.0030.13915.36
7.0.280.0000.14115.41
7.0.270.0130.12815.29
7.0.260.0160.12115.29
7.0.250.0000.13615.39
7.0.240.0000.14715.44
7.0.230.0070.13315.40
7.0.220.0030.12715.62
7.0.210.0000.13115.13
7.0.200.0030.13115.87
7.0.190.0030.13215.36
7.0.180.0030.12715.21
7.0.170.0000.12815.47
7.0.160.0030.12915.20
7.0.150.0030.12915.46
7.0.140.0050.13518.60
7.0.130.0100.13115.05
7.0.120.0030.13115.11
7.0.110.0000.13615.48
7.0.100.0030.13315.41
7.0.90.0070.12815.52
7.0.80.0070.12815.36
7.0.70.0000.13415.44
7.0.60.0120.17917.63
7.0.50.0030.16116.61
7.0.40.0030.16316.75
7.0.30.0150.16816.71
7.0.20.0120.14816.72
7.0.10.0070.14416.80
7.0.00.0050.17216.68
5.6.380.0030.13514.36
5.6.370.0000.14914.35
5.6.360.0030.13314.23
5.6.350.0000.13513.86
5.6.340.0070.12914.35
5.6.330.0070.13214.10
5.6.320.0030.13114.31
5.6.310.0000.13414.38
5.6.300.0030.13514.00
5.6.290.0000.13414.36
5.6.280.0000.14114.27
5.6.270.0070.12914.37
5.6.260.0000.13514.29
5.6.250.0070.13114.14
5.6.240.0070.13714.39
5.6.230.0100.12714.46
5.6.220.0030.12914.39
5.6.210.0050.15217.57
5.6.200.0050.14516.16
5.6.190.0080.17317.33
5.6.180.0200.15217.39
5.6.170.0200.14017.44
5.6.160.0050.14817.44
5.6.150.0050.17116.19
5.6.140.0070.17516.27
5.6.130.0070.14216.33
5.6.120.0050.16317.66
5.6.110.0100.17317.65
5.6.100.0030.17117.61
5.6.90.0030.17117.58
5.6.80.0050.17717.19
5.6.70.0000.13514.15
5.6.60.0000.13314.10
5.6.50.0030.12914.13
5.6.40.0000.13213.79
5.6.30.0100.12114.08
5.6.20.0030.13113.98
5.6.10.0030.13214.06
5.6.00.0030.13414.06
5.5.380.0070.12611.13
5.5.370.0030.13011.01
5.5.360.0030.12911.11
5.5.350.0170.15515.79
5.5.340.0070.14814.49
5.5.330.0050.16015.71
5.5.320.0050.14615.71
5.5.310.0130.15315.73
5.5.300.0050.18514.53
5.5.290.0070.17614.56
5.5.280.0100.16915.86
5.5.270.0050.17815.96
5.5.260.0050.14315.92
5.5.250.0020.14315.79
5.5.240.0020.18315.66
5.5.230.0030.12711.00
5.5.220.0030.13311.17
5.5.210.0070.12711.00
5.5.200.0000.13511.00
5.5.190.0000.13411.16
5.5.180.0000.13011.14
5.5.170.0000.13411.00
5.5.160.0000.13211.00
5.5.150.0070.12911.18
5.5.140.0030.12711.00
5.5.130.0070.12811.06
5.5.120.0030.12411.00
5.5.110.0000.12711.14
5.5.100.0030.12911.05
5.5.90.0070.12411.16
5.5.80.0000.13211.07
5.5.70.0030.12911.00
5.5.60.0030.13011.13
5.5.50.0000.13511.00
5.5.40.0100.12311.00
5.5.30.0070.12411.15
5.5.20.0030.12611.00
5.5.10.0030.12711.00
5.5.00.0000.13511.00
5.4.450.0190.03315.30
5.4.440.0090.03415.25
5.4.430.0110.02815.15
5.4.420.0060.03115.25
5.4.410.0060.03515.02
5.4.400.0080.03615.19
5.4.390.0220.03514.84
5.4.380.0120.03514.85
5.4.370.0250.02714.76
5.4.360.0270.03214.85
5.4.350.0250.03514.85
5.4.340.0280.03714.89
5.4.330.0030.01011.00
5.4.320.0270.03914.86
5.4.310.0250.04014.84
5.4.300.0270.03514.73
5.4.290.0150.02914.86
5.4.280.0280.02114.74
5.4.270.0160.03414.82
5.4.260.0200.03514.75
5.4.250.0170.03314.78
5.4.240.0180.02814.82
5.4.230.0180.02714.84
5.4.220.0150.03314.72
5.4.210.0180.03114.80
5.4.200.0230.02713.70
5.4.190.0220.02514.86
5.4.180.0130.03414.81
5.4.170.0270.02714.78
5.4.160.0200.02514.86
5.4.150.0160.02814.72
5.4.140.0170.03213.70
5.4.130.0260.02513.61
5.4.120.0110.03013.61
5.4.110.0180.03013.54
5.4.100.0310.03213.63
5.4.90.0250.03413.53
5.4.80.0280.03313.68
5.4.70.0260.03313.61
5.4.60.0200.03413.56
5.4.50.0200.03013.61
5.4.40.0170.03213.51
5.4.30.0260.02013.64
5.4.20.0190.03013.50
5.4.10.0190.02413.66
5.4.00.0120.03013.30
5.3.290.0170.03212.85
5.3.280.0110.03312.77
5.3.270.0070.03612.80
5.3.260.0130.03112.79
5.3.250.0120.02812.83
5.3.240.0120.03012.75
5.3.230.0120.02812.84
5.3.220.0150.02812.81
5.3.210.0180.03412.77
5.3.200.0160.02612.83
5.3.190.0170.02612.73
5.3.180.0130.02812.77
5.3.170.0130.03112.79
5.3.160.0150.02712.77
5.3.150.0170.02812.76
5.3.140.0110.03012.75
5.3.130.0170.02712.81
5.3.120.0130.03012.77
5.3.110.0150.02712.73
5.3.100.0150.02812.48
5.3.90.0120.03012.48
5.3.80.0100.03012.45
5.3.70.0180.02512.55
5.3.60.0170.02312.48
5.3.50.0130.02612.51
5.3.40.0180.02312.44
5.3.30.0130.03012.43
5.3.20.0120.03012.30
5.3.10.0160.02312.29
5.3.00.0120.02912.30
5.2.170.0110.02311.03
5.2.160.0100.02211.14
5.2.150.0140.02211.04
5.2.140.0150.02111.07
5.2.130.0080.02811.03
5.2.120.0120.02111.04
5.2.110.0100.02211.05
5.2.100.0130.02011.04
5.2.90.0140.02211.08
5.2.80.0100.02411.04
5.2.70.0150.02011.02
5.2.60.0110.02411.04
5.2.50.0100.02511.02
5.2.40.0130.01810.97
5.2.30.0080.02511.05
5.2.20.0080.02510.96
5.2.10.0120.02010.92
5.2.00.0110.02010.90
5.1.60.0050.02310.55
5.1.50.0070.02010.48
5.1.40.0100.01810.48
5.1.30.0100.01910.69
5.1.20.0070.02410.72
5.1.10.0130.01810.59
5.1.00.0100.01510.54
5.0.50.0110.0129.83
5.0.40.0090.0159.76
5.0.30.0070.0239.64
5.0.20.0030.0159.61
5.0.10.0100.0129.64
5.0.00.0070.0229.56
4.4.90.0030.0138.47
4.4.80.0050.0138.43
4.4.70.0050.0138.44
4.4.60.0070.0128.41
4.4.50.0020.0168.43
4.4.40.0030.0228.40
4.4.30.0060.0148.44
4.4.20.0030.0158.48
4.4.10.0030.0158.47
4.4.00.0060.0188.46
4.3.110.0060.0138.42
4.3.100.0050.0128.41
4.3.90.0050.0128.39
4.3.80.0070.0178.45
4.3.70.0050.0118.42
4.3.60.0070.0108.39
4.3.50.0070.0128.43
4.3.40.0050.0188.37
4.3.30.0030.0137.77
4.3.20.0020.0157.77
4.3.10.0030.0167.76
4.3.00.0070.0128.97

preferences:
39.89 ms | 400 KiB | 5 Q