3v4l.org

run code in 200+ PHP versions simultaneously
<?php $password = 'foobar'; $salt = 'qwertzuiopasdfghjklyxc'; $hash = password_hash($password, PASSWORD_BCRYPT, [ 'salt' => $salt, ]); $froxlor_pwd_salt = str_replace(substr(strrchr($hash, "$"), 1), "", $hash); $froxlor_pwd_check = crypt($password, $froxlor_pwd_salt); $my_pwd_check = crypt($password, $froxlor_pwd_salt . $salt); printf("Password hashed (db): %s\n used salt: %s\n ---\n Froxlor password salt: %s\n Froxlor password check: %s\n ---\n My password check: %s", $hash, $salt, $froxlor_pwd_salt, $froxlor_pwd_check, $my_pwd_check);

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.4.0rc40.0130.18514.78
7.4.0rc30.0130.18515.23
7.4.0rc20.0130.19114.89
7.4.0rc10.0130.19215.05
7.4.0beta40.0090.18314.85
7.4.0beta20.0130.17414.87
7.4.0beta10.0160.17015.07
7.4.0alpha30.0120.19214.82
7.4.0alpha20.0160.16715.18
7.4.0alpha10.0070.17815.25
7.3.100.0070.17914.77
7.3.90.0030.18114.40
7.3.80.0160.17014.75
7.3.70.0130.18314.50
7.3.60.0130.14414.54
7.3.50.0030.15314.72
7.3.40.0080.16214.78
7.3.30.0050.15214.68
7.3.20.0130.14615.62
7.3.10.0350.13515.25
7.3.00.0300.14515.40
7.2.230.0070.18914.81
7.2.220.0060.18215.11
7.2.210.0070.19515.01
7.2.200.0170.17714.84
7.2.190.0130.14914.80
7.2.180.0100.14914.95
7.2.170.0070.15114.95
7.2.160.0080.14914.89
7.2.150.0130.14515.85
7.2.140.0100.14715.73
7.2.130.0260.13615.51
7.2.120.0310.14915.49
7.2.110.0280.13815.75
7.2.100.0230.14715.65
7.2.90.0250.14115.61
7.2.80.0310.13815.61
7.2.70.0240.13315.59
7.2.60.0180.14215.90
7.2.50.0220.14015.61
7.2.40.0310.13915.62
7.2.30.0250.14315.53
7.2.20.0290.14615.61
7.2.10.0300.14815.63
7.2.00.0210.13916.48
7.1.320.0070.18115.50
7.1.310.0070.17815.63
7.1.300.0070.15414.77
7.1.290.0100.15014.92
7.1.280.0030.14914.79
7.1.270.0100.14614.81
7.1.260.0070.15414.75
7.1.250.0310.13914.65
7.1.240.0290.15314.52
7.1.230.0310.14114.34
7.1.220.0340.14314.65
7.1.210.0260.14514.47
7.1.200.0210.14314.82
7.1.190.0270.14314.54
7.1.180.0280.14014.59
7.1.170.0260.14614.46
7.1.160.0270.14214.44
7.1.150.0310.14914.64
7.1.140.0320.14214.55
7.1.130.0310.14514.44
7.1.120.0420.13714.49
7.1.110.0260.14214.57
7.1.100.0160.14515.43
7.1.90.0210.14614.39
7.1.80.0290.14014.49
7.1.70.0220.13815.23
7.1.60.0180.15615.75
7.1.50.0210.15319.52
7.1.40.0260.14214.46
7.1.30.0220.15114.50
7.1.20.0200.14414.54
7.1.10.0250.14214.53
7.1.00.0220.16516.31
7.0.330.0280.14514.22
7.0.320.0860.14914.10
7.0.310.0360.14014.26
7.0.300.0340.14414.20
7.0.290.0290.14414.15
7.0.280.0740.14414.20
7.0.270.0280.14514.16
7.0.260.0290.14314.19
7.0.250.0270.14114.21
7.0.240.0430.13614.10
7.0.230.0290.14314.28
7.0.220.0270.14714.05
7.0.210.0240.14414.14
7.0.200.0430.13514.29
7.0.190.0250.14214.17
7.0.180.0240.15514.17
7.0.170.0230.14514.32
7.0.160.0270.14814.04
7.0.150.0840.13814.22
7.0.140.0250.14114.16
7.0.130.0290.14314.27
7.0.120.0280.14514.13
7.0.110.0210.14414.22
7.0.100.0270.14414.03
7.0.90.0230.14814.04
7.0.80.0220.14114.21
7.0.70.0280.14114.23
7.0.60.0760.10215.53
7.0.50.0720.11115.72
7.0.40.0740.11415.64
7.0.30.0910.10415.76
7.0.20.0840.10615.74
7.0.10.0780.10315.77
7.0.00.0760.10815.75
5.6.400.0110.14714.30
5.6.390.0080.16314.16
5.6.380.0160.14114.27
5.6.370.0110.14214.39
5.6.360.0100.14414.30
5.6.350.0190.14614.37
5.6.340.0190.14713.97
5.6.330.0150.15414.26
5.6.320.0190.14114.43
5.6.310.0180.14014.08
5.6.300.0110.14614.40
5.6.290.0090.14814.47
5.6.280.0200.16516.00
5.6.270.0110.14514.23
5.6.260.0140.14214.06
5.6.250.0140.14614.00
5.6.240.0090.14314.27
5.6.230.0160.14214.31
5.6.220.0180.14014.32
5.6.210.0740.10815.77
5.6.200.0750.11115.97
5.6.190.0710.11115.79
5.6.180.0740.11215.97
5.6.170.0700.10615.91
5.6.160.0730.11115.88
5.6.150.0680.11216.03
5.6.140.0700.11115.89
5.6.130.0760.11515.79
5.6.120.0740.11615.89
5.6.110.0730.10715.98
5.6.100.0740.11815.88
5.6.90.0730.11015.95
5.6.80.0720.10515.78
5.6.70.0690.10915.64
5.6.60.0720.10515.71
5.6.50.0680.11515.63
5.6.40.0670.11215.70
5.6.30.0650.11115.75
5.6.20.0650.11115.64
5.6.10.0750.10915.83
5.6.00.0700.10815.72
5.5.380.0120.14213.13
5.5.370.0120.15513.18
5.5.360.0130.13813.09
5.5.350.0710.11214.92
5.5.340.0760.10714.99
5.5.330.0680.10914.98
5.5.320.0670.10715.06
5.5.310.0690.11014.95
5.5.300.0690.11315.14
5.5.290.0720.09215.08
5.5.280.0640.10915.03
5.5.270.0670.11015.00
5.5.260.0710.10814.84
5.5.250.0740.10815.05
5.5.240.0740.10614.92
5.5.230.0660.11214.85
5.5.220.0650.10714.82
5.5.210.0680.10614.84
5.5.200.0650.11314.92
5.5.190.0640.11314.79
5.5.180.0720.11214.90
5.5.170.0100.14113.07
5.5.160.0660.10714.96
5.5.150.0670.10614.80
5.5.140.0660.11014.81
5.5.130.0690.10414.73
5.5.120.0720.11514.63
5.5.110.0660.11414.88
5.5.100.0790.10614.74
5.5.90.0640.10914.88
5.5.80.0720.11114.91
5.5.70.0680.11014.78
5.5.60.0650.11314.65
5.5.50.0680.10714.79
5.5.40.0730.10014.72
5.5.30.0680.10714.83
5.5.20.0700.10314.72
5.5.10.0740.11114.66
5.5.00.0690.11314.93
5.4.450.0130.00510.82
5.4.440.0110.00210.96
5.4.430.0090.00510.63
5.4.420.0130.00310.65
5.4.410.0180.00011.05
5.4.400.0000.01310.86
5.4.390.0000.01310.77
5.4.380.0000.00710.54
5.4.370.0080.00510.77
5.4.360.0040.02010.74
5.4.350.0100.00510.85
5.4.340.0110.00710.88
5.4.330.0040.00810.69
5.4.320.0040.01211.02
5.4.310.0090.00710.84
5.4.300.0130.00010.85
5.4.290.0040.00810.62
5.4.280.0080.00410.71
5.4.270.0160.00510.59
5.4.260.0120.00010.56
5.4.250.0120.00810.54
5.4.240.0210.00010.92
5.4.230.0090.00510.65
5.4.220.0040.00810.84
5.4.210.0100.00110.76
5.4.200.0070.00910.66
5.4.190.0120.01210.76
5.4.180.0140.01010.51
5.4.170.0120.00410.57
5.4.160.0070.01810.64
5.4.150.0130.00010.65
5.4.140.0100.01010.82
5.4.130.0080.01110.94
5.4.120.0150.00310.97
5.4.110.0100.00710.70
5.4.100.0140.01010.71
5.4.90.0160.00610.82
5.4.80.0180.00010.73
5.4.70.0000.01310.86
5.4.60.0110.00310.84
5.4.50.0140.00310.60
5.4.40.0060.00610.88
5.4.30.0150.00710.91
5.4.20.0120.00410.80
5.4.10.0080.00410.63
5.4.00.0060.00610.75
5.3.290.0100.00710.44
5.3.280.0080.00510.44
5.3.270.0150.00410.44
5.3.260.0130.00310.44
5.3.250.0050.00710.44
5.3.240.0070.00710.44
5.3.230.0160.00010.44
5.3.220.0170.00310.44
5.3.210.0060.00610.44
5.3.200.0090.00610.44
5.3.190.0080.01210.44
5.3.180.0060.01310.44
5.3.170.0030.01010.44
5.3.160.0030.00910.44
5.3.150.0110.00310.44
5.3.140.0170.00010.44
5.3.130.0060.00910.44
5.3.120.0090.00910.44
5.3.110.0060.01210.44
5.3.100.0000.01110.44
5.3.90.0080.00410.44
5.3.80.0100.00010.44
5.3.70.0040.01310.44
5.3.60.0140.00010.44
5.3.50.0090.00010.44
5.3.40.0070.01410.44
5.3.30.0100.00710.44
5.3.20.0050.01110.44
5.3.10.0100.00210.44
5.3.00.0120.00910.44
5.2.170.0080.00010.44
5.2.160.0140.00310.44
5.2.150.0050.00810.44
5.2.140.0100.00510.44
5.2.130.0060.00310.44
5.2.120.0000.01010.44
5.2.110.0040.00810.44
5.2.100.0120.00410.44
5.2.90.0100.00310.44
5.2.80.0090.00310.44
5.2.70.0080.00810.44
5.2.60.0030.01010.44
5.2.50.0080.00810.44
5.2.40.0030.00910.44
5.2.30.0040.00810.44
5.2.20.0070.00710.44
5.2.10.0150.00010.44
5.2.00.0090.00010.44
5.1.60.0070.00710.44
5.1.50.0100.00210.44
5.1.40.0150.00010.44
5.1.30.0030.01010.44
5.1.20.0120.00410.44
5.1.10.0100.00310.44
5.1.00.0060.00610.44
5.0.50.0000.00710.44
5.0.40.0070.00310.44
5.0.30.0040.00410.44
5.0.20.0090.00310.44
5.0.10.0040.00410.44
5.0.00.0040.00210.44
4.4.90.0030.00710.44
4.4.80.0070.00710.44
4.4.70.0030.00810.44
4.4.60.0060.00610.44
4.4.50.0060.00610.44
4.4.40.0070.00010.44
4.4.30.0050.00510.44
4.4.20.0030.00310.44
4.4.10.0000.00610.44
4.4.00.0050.00010.44
4.3.110.0000.00710.44
4.3.100.0080.00410.44
4.3.90.0000.00610.44
4.3.80.0000.01110.44
4.3.70.0030.00710.44
4.3.60.0030.00310.44
4.3.50.0090.00010.44
4.3.40.0020.00510.44
4.3.30.0050.00610.44
4.3.20.0000.00510.44
4.3.10.0000.00610.44
4.3.00.0000.00510.44