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 . 'BAR', $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.2.60.0450.14216.36
7.2.00.0000.13819.45
7.1.200.0000.12915.82
7.1.100.0030.13318.10
7.1.70.0000.12916.91
7.1.60.0300.12019.46
7.1.50.0070.16816.86
7.1.00.0030.24022.40
7.0.200.0070.12416.51
7.0.140.0070.18021.92
7.0.80.0130.14319.86
7.0.70.0330.21019.84
7.0.60.0100.21320.07
7.0.50.0070.20720.32
7.0.40.0100.21720.13
7.0.30.0100.19720.04
7.0.20.0170.23020.08
7.0.10.0070.18720.14
7.0.00.0100.21020.09
5.6.280.0070.23320.81
5.6.230.0000.16720.59
5.6.220.0100.16020.57
5.6.210.0070.21320.76
5.6.200.0070.22720.90
5.6.190.0070.20721.02
5.6.180.0030.24720.98
5.6.170.0030.24321.00
5.6.160.0070.22720.91
5.6.150.0070.23720.93
5.6.140.0030.16721.03
5.6.130.0030.16720.96
5.6.120.0070.21720.93
5.6.110.0070.18321.06
5.6.100.0070.18321.04
5.6.90.0070.17721.02
5.6.80.0000.23020.40
5.6.70.0130.24020.39
5.6.60.0130.20720.39
5.6.50.0070.20020.54
5.6.40.0030.21020.39
5.6.30.0100.23320.30
5.6.20.0030.16720.31
5.6.10.0070.20720.40
5.6.00.0100.17320.35
5.5.370.0130.16720.44
5.5.360.0030.13320.36
5.5.350.0000.18020.45
5.5.340.0030.21720.80
5.5.330.0100.16020.83
5.5.320.0030.22320.86
5.5.310.0070.22020.79
5.5.300.0100.22320.91
5.5.290.0100.21020.92
5.5.280.0100.22020.62
5.5.270.0070.20020.87
5.5.260.0130.21720.86
5.5.250.0100.16020.53
5.5.240.0070.25020.23
5.5.230.0070.18320.29
5.5.220.0200.20720.25
5.5.210.0130.21720.17
5.5.200.0000.16720.27
5.5.190.0070.17720.19
5.5.180.0000.22720.27
5.5.160.0170.23720.18
5.5.150.0030.17720.16
5.5.140.0100.16320.14
5.5.130.0100.21020.13
5.5.120.0070.21320.22
5.5.110.0100.20720.11
5.5.100.0070.22720.05
5.5.90.0200.20320.15
5.5.80.0000.16719.93
5.5.70.0030.20319.99
5.5.60.0070.17320.14
5.5.50.0070.17320.05
5.5.40.0130.17320.07
5.5.30.0100.17020.13
5.5.20.0030.22320.04
5.5.10.0070.16320.02
5.5.00.0030.19319.94
5.4.450.0030.07019.36
5.4.440.0130.07719.37
5.4.430.0100.03319.28
5.4.420.0000.06319.30
5.4.410.0070.08319.29
5.4.400.0070.06019.02
5.4.390.0070.07719.23
5.4.380.0130.05718.98
5.4.370.0030.07719.13
5.4.360.0100.05718.78
5.4.350.0100.04719.12
5.4.340.0030.05019.09
5.4.320.0000.06018.78
5.4.310.0070.05019.11
5.4.300.0030.03718.80
5.4.290.0070.05718.94
5.4.280.0030.07019.11
5.4.270.0070.03719.02
5.4.260.0030.07319.14
5.4.250.0130.06319.09
5.4.240.0100.04718.80
5.4.230.0000.04019.06
5.4.220.0070.07018.97
5.4.210.0100.07319.09
5.4.200.0000.08319.02
5.4.190.0100.06018.89
5.4.180.0070.05018.95
5.4.170.0100.06718.95
5.4.160.0070.07718.88
5.4.150.0070.07719.09
5.4.140.0100.06716.33
5.4.130.0000.08016.28
5.4.120.0030.05316.36
5.4.110.0030.07016.42
5.4.100.0000.05716.23
5.4.90.0100.03316.32
5.4.80.0000.04016.19
5.4.70.0130.08016.43
5.4.60.0070.06316.41
5.4.50.0070.04716.18
5.4.40.0170.06016.34
5.4.30.0070.07016.30
5.4.20.0070.04316.29
5.4.10.0070.07016.17
5.4.00.0030.07315.77
5.3.290.0100.07714.67
5.3.280.0070.07314.56
5.3.270.0070.08014.59
5.3.260.0070.08314.51
5.3.250.0100.05014.56
5.3.240.0100.07714.58
5.3.230.0030.07714.59
5.3.220.0130.06314.42
5.3.210.0170.07014.43
5.3.200.0070.07714.50
5.3.190.0070.08014.51
5.3.180.0130.07014.56
5.3.170.0070.05014.41
5.3.160.0030.08014.54
5.3.150.0130.05714.50
5.3.140.0070.07314.46
5.3.130.0000.07714.53
5.3.120.0100.08014.38
5.3.110.0070.04314.50
5.3.100.0100.05714.03
5.3.90.0100.07013.98
5.3.80.0130.04313.79
5.3.70.0030.05313.97
5.3.60.0130.06713.98
5.3.50.0030.08013.92
5.3.40.0070.07713.93
5.3.30.0100.04013.82
5.3.20.0070.05013.59
5.3.10.0100.07713.60
5.3.00.0100.06313.59
5.2.170.0070.05712.93
5.2.160.0030.06712.93
5.2.150.0030.05312.93
5.2.140.0070.06012.93
5.2.130.0030.06312.93
5.2.120.0100.05312.93
5.2.110.0070.03312.93
5.2.100.0070.03312.93
5.2.90.0100.05312.93
5.2.80.0070.06312.93
5.2.70.0130.05312.93
5.2.60.0100.04312.93
5.2.50.0000.05312.93
5.2.40.0030.06012.93
5.2.30.0170.06012.93
5.2.20.0000.06712.93
5.2.10.0170.04312.93
5.2.00.0070.04012.93
5.1.60.0000.03712.93
5.1.50.0030.04312.93
5.1.40.0000.04712.93
5.1.30.0100.03312.93
5.1.20.0030.05712.93
5.1.10.0100.03012.93
5.1.00.0030.05312.93
5.0.50.0000.05012.93
5.0.40.0070.02012.93
5.0.30.0130.03712.93
5.0.20.0000.02712.93
5.0.10.0100.03312.93
5.0.00.0100.04012.93
4.4.90.0030.03312.93
4.4.80.0070.03312.93
4.4.70.0030.02312.93
4.4.60.0070.03312.93
4.4.50.0070.03012.93
4.4.40.0100.03312.93
4.4.30.0030.03312.93
4.4.20.0030.04312.93
4.4.10.0070.02712.93
4.4.00.0070.05012.93
4.3.110.0000.02012.93
4.3.100.0000.03312.93
4.3.90.0030.02712.93
4.3.80.0030.05012.93
4.3.70.0070.03312.93
4.3.60.0100.02012.93
4.3.50.0000.04012.93
4.3.40.0000.04312.93
4.3.30.0030.02312.93
4.3.20.0030.02012.93
4.3.10.0000.02012.93
4.3.00.0000.01712.93

preferences:
33.09 ms | 400 KiB | 5 Q