3v4l.org

run code in 300+ PHP versions simultaneously
<?php /** * Created by PhpStorm. * User: efik * Date: 30.06.15 * Time: 12:04 */ $bs = []; $haslo = "Badass"; $hash = password_hash($haslo, PASSWORD_BCRYPT); $verify = password_verify($haslo, $hash); // zle haslo ale ten sam hash $haslo2 = "Badas"; $verif2 = password_verify($haslo2, $hash); $bs[0] = [ "haslo" => $haslo, "hash" => $hash, "verify" => $verify ]; $bs[1] = [ "haslo" => $haslo2, "hash" => $hash, "verify" => $verif2 ]; print_r($bs);

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.120.0030.19814.77
7.3.110.0070.18814.73
7.3.100.0000.18915.08
7.3.90.0000.19215.11
7.3.80.0070.18815.02
7.3.70.0030.18914.66
7.3.60.0070.18714.64
7.3.50.0070.19314.84
7.3.40.0070.19114.86
7.3.30.0030.19714.81
7.3.20.0030.19416.70
7.3.10.0090.19416.42
7.3.00.0050.19616.53
7.2.240.0030.18914.65
7.2.230.0030.19515.02
7.2.220.0030.19215.02
7.2.210.0030.18314.83
7.2.200.0030.19214.77
7.2.190.0030.19314.93
7.2.180.0100.19514.82
7.2.170.0030.18715.24
7.2.160.0030.19414.92
7.2.150.0100.18417.04
7.2.140.0030.18916.70
7.2.130.0130.19116.69
7.2.120.0100.18216.86
7.2.110.0070.19316.78
7.2.100.0050.19516.77
7.2.90.0100.18716.71
7.2.80.0080.19017.02
7.2.70.0080.18816.75
7.2.60.0080.19316.83
7.2.50.0050.19316.67
7.2.40.0100.18916.77
7.2.30.0100.18416.88
7.2.20.0030.19116.92
7.2.10.0130.18816.54
7.2.00.0100.18617.50
7.1.330.0030.19115.67
7.1.320.0030.19015.73
7.1.310.0130.18115.98
7.1.300.0070.18715.79
7.1.290.0100.18615.52
7.1.280.0070.18815.57
7.1.270.0070.19015.45
7.1.260.0030.19215.78
7.1.250.0080.18615.68
7.1.200.0070.18715.73
7.1.70.0030.23417.15
7.1.60.0130.18017.22
7.1.50.0070.18117.00
7.1.40.0030.19516.79
7.1.30.0070.19416.79
7.1.20.0030.26216.79
7.1.10.0230.20316.79
7.1.00.0100.18616.93
7.0.200.0030.18716.79
7.0.190.0030.18016.79
7.0.180.0200.19116.79
7.0.170.0030.21916.79
7.0.160.0000.24916.79
7.0.150.0000.18516.79
7.0.140.0000.21916.79
7.0.130.0000.18816.86
7.0.120.0000.18716.79
7.0.110.0100.17716.79
7.0.100.0070.19616.79
7.0.90.0430.19216.79
7.0.80.0030.25216.79
7.0.70.0070.19216.79
7.0.60.0030.25616.79
7.0.50.0030.19716.79
7.0.40.0000.19016.79
7.0.30.0030.25916.79
7.0.20.0030.18616.79
7.0.10.0100.20816.79
7.0.00.0030.24116.79
5.6.300.0070.21520.57
5.6.290.0100.23220.95
5.6.280.0030.21820.91
5.6.270.0030.22321.02
5.6.260.0070.22521.00
5.6.250.0030.22021.08
5.6.240.0600.21020.84
5.6.230.0070.22220.86
5.6.220.0070.21920.84
5.6.210.0070.24520.84
5.6.200.0070.21920.83
5.6.190.0070.22020.98
5.6.180.0030.27820.82
5.6.170.0100.23920.86
5.6.160.0070.23220.81
5.6.150.0030.25320.82
5.6.140.0030.29120.81
5.6.130.0070.26921.02
5.6.120.0030.22320.82
5.6.110.0100.21120.81
5.6.100.0100.21421.01
5.6.90.0030.22221.04
5.6.80.0070.21820.41
5.6.70.0030.25420.31
5.6.60.0030.22520.22
5.6.50.0130.21220.31
5.6.40.0130.20820.38
5.6.30.1000.19120.29
5.6.20.0860.19220.34
5.6.10.0100.21820.18
5.6.00.0070.21420.39
5.5.380.0000.22817.53
5.5.370.0000.22517.41
5.5.360.0070.29717.62
5.5.350.0030.22117.57
5.5.340.0030.22418.03
5.5.330.0000.22518.09
5.5.320.0070.26118.12
5.5.310.0070.22217.74
5.5.300.0000.30218.13
5.5.290.0030.27018.09
5.5.280.0030.22818.09
5.5.270.0070.22018.00
5.5.260.0070.23817.83
5.5.250.0000.22417.65
5.5.240.0030.22217.13
5.5.230.0030.27417.24
5.5.220.0130.27517.50
5.5.210.0030.21817.46
5.5.200.0030.22117.36
5.5.190.0030.26017.09
5.5.180.0030.21817.09
5.5.160.0000.22417.44
5.5.150.0070.21517.43
5.5.140.0030.22017.38
5.5.130.0070.21817.48
5.5.120.0000.22217.18
5.5.110.0100.21517.43
5.5.100.0030.22017.37
5.5.90.0030.21617.31
5.5.80.0030.22417.34
5.5.70.0070.22317.34
5.5.60.0030.22017.08
5.5.50.0030.22817.32
5.5.40.0030.22617.29
5.5.30.0000.24417.27
5.5.20.0030.27517.24
5.5.10.0030.29117.29
5.5.00.0070.27517.36
5.4.450.0090.04119.34
5.4.440.0100.05319.16
5.4.430.0030.04019.35
5.4.420.0000.05219.16
5.4.410.0070.03919.14
5.4.400.0070.04619.03
5.4.390.0070.05318.98
5.4.380.0000.04219.14
5.4.370.0030.05519.04
5.4.360.0030.04419.11
5.4.350.0030.04019.18
5.4.340.0070.04019.03
5.4.320.0030.04518.98
5.4.310.0060.03519.07
5.4.300.0030.04219.14
5.4.290.0000.05019.14
5.4.280.0130.03219.12
5.4.270.0030.06819.06
5.4.260.0030.05919.08
5.4.250.0200.04719.05
5.4.240.0070.04318.86
5.4.230.0030.03719.10
5.4.220.0030.05018.91
5.4.210.0070.05019.02
5.4.200.0100.06218.98
5.4.190.0030.07418.98
5.4.180.0000.07418.80
5.4.170.0070.07618.88
5.4.160.0070.06319.02
5.4.150.0030.03719.07
5.4.140.0110.03116.79
5.4.130.0000.05516.79
5.4.120.0040.04216.79
5.4.110.0030.03516.79
5.4.100.0000.03816.79
5.4.90.0030.03516.79
5.4.80.0030.03816.79
5.4.70.0030.04916.79
5.4.60.0000.04016.79
5.4.50.0070.04216.79
5.4.40.0000.03816.79
5.4.30.0000.05816.79
5.4.20.0030.06616.79
5.4.10.0030.03516.79
5.4.00.0000.04016.79
5.3.290.0030.03716.79
5.3.280.0030.03616.79
5.3.270.0030.03616.79
5.3.260.0030.04616.79
5.3.250.0030.05816.79
5.3.240.0000.06416.79
5.3.230.0070.05316.79
5.3.220.0070.04716.79
5.3.210.0030.03716.79
5.3.200.0000.04416.79
5.3.190.0030.03916.79
5.3.180.0000.03916.79
5.3.170.0030.04216.79
5.3.160.0070.03316.79
5.3.150.0060.03116.79
5.3.140.0000.04016.79
5.3.130.0030.04716.79
5.3.120.0060.03816.79
5.3.110.0000.04116.79
5.3.100.0030.03516.79
5.3.90.0000.04116.79
5.3.80.0030.03416.79
5.3.70.0030.06616.79
5.3.60.0030.04516.79
5.3.50.0070.03316.79
5.3.40.0030.03716.79
5.3.30.0000.04016.79
5.3.20.0070.03016.79
5.3.10.0070.02916.79
5.3.00.0000.03716.79
5.2.170.0060.03516.79
5.2.160.0030.03416.79
5.2.150.0030.04016.79
5.2.140.0030.02816.79
5.2.130.0000.03216.79
5.2.120.0030.02716.79
5.2.110.0030.03116.79
5.2.100.0000.03916.79
5.2.90.0000.03516.79
5.2.80.0030.02716.79
5.2.70.0060.02516.79
5.2.60.0030.03016.79
5.2.50.0030.02816.79
5.2.40.0000.03516.79
5.2.30.0070.02316.79
5.2.20.0070.02716.79
5.2.10.0030.02816.79
5.2.00.0000.03916.79
5.1.60.0000.02816.79
5.1.50.0030.02716.79
5.1.40.0060.02116.79
5.1.30.0070.03316.79
5.1.20.0060.02516.79
5.1.10.0030.02316.79
5.1.00.0030.02716.79
5.0.50.0000.02716.79
5.0.40.0000.02216.79
5.0.30.0000.03116.79
5.0.20.0030.01716.79
5.0.10.0030.01716.79
5.0.00.0000.03116.79
4.4.90.0000.02416.79
4.4.80.0060.01616.79
4.4.70.0000.03216.79
4.4.60.0030.02416.79
4.4.50.0000.02016.79
4.4.40.0000.02516.79
4.4.30.0000.01916.79
4.4.20.0000.01816.79
4.4.10.0000.01816.79
4.4.00.0000.02516.79
4.3.110.0030.02116.79
4.3.100.0000.02416.79
4.3.90.0040.01216.79
4.3.80.0000.02416.79
4.3.70.0000.01616.79
4.3.60.0070.02316.79
4.3.50.0030.02516.79
4.3.40.0000.02516.79
4.3.30.0000.03016.79
4.3.20.0030.02716.79
4.3.10.0100.01316.79
4.3.00.0030.01316.79

preferences:
32.94 ms | 401 KiB | 5 Q