3v4l.org

run code in 300+ PHP versions simultaneously
<?php $email = "example@example.com"; $password = "abcabc"; $iterations = 100000; $master_key = hash_pbkdf2('sha256', $password, $email, $iterations, 0, true); $master_hash = hash_pbkdf2('sha256', $master_key, $password, 1, 0, true); echo "Master Key:\n"; echo(base64_encode($master_key)); echo "\nMaster Hash:\n"; echo(base64_encode($master_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.5.30.0070.06519.59
8.5.20.0100.06520.19
8.5.10.0110.05920.32
8.5.00.0130.05920.02
8.4.180.0130.06219.57
8.4.170.0130.05624.05
8.4.160.0150.06523.92
8.4.150.0020.00114.05
8.4.140.0120.06217.60
8.4.130.0040.02818.74
8.4.120.0060.02524.22
8.4.110.0070.02618.84
8.4.100.0130.04218.83
8.4.90.0100.03920.60
8.4.80.0030.02818.51
8.4.70.0110.04119.07
8.4.60.0100.04618.84
8.4.50.0070.02617.75
8.4.40.0070.03620.65
8.4.30.0070.02419.13
8.4.20.0100.05019.67
8.4.10.0100.04923.77
8.3.300.0120.17319.38
8.3.290.0140.13218.37
8.3.280.0080.14020.10
8.3.270.0100.17616.82
8.3.260.0080.11816.69
8.3.250.0080.11718.95
8.3.240.0090.13217.27
8.3.230.0080.10916.63
8.3.220.0060.12018.79
8.3.210.0140.14016.60
8.3.200.0040.12016.82
8.3.190.0120.12816.63
8.3.180.0120.13516.69
8.3.170.0060.13219.05
8.3.160.0130.12516.51
8.3.150.0170.15717.05
8.3.140.0070.12217.20
8.3.130.0030.12118.58
8.3.120.0030.12120.61
8.3.110.0000.12420.94
8.3.100.0030.12024.06
8.3.90.0030.11926.77
8.3.80.0100.13517.97
8.3.70.0070.22418.48
8.3.60.0070.22016.49
8.3.50.0070.25716.62
8.3.40.0030.22421.86
8.3.30.0100.23918.66
8.3.20.0070.11524.18
8.3.10.0070.13424.66
8.3.00.0070.11626.16
8.2.300.0140.13418.10
8.2.290.0070.11520.59
8.2.280.0040.13518.18
8.2.270.0100.15118.37
8.2.260.0070.13720.60
8.2.250.0030.12816.92
8.2.240.0070.11719.07
8.2.230.0030.12222.58
8.2.220.0100.14437.54
8.2.210.0030.12026.77
8.2.200.0100.13416.75
8.2.190.0130.25416.58
8.2.180.0200.22218.54
8.2.170.0030.22418.97
8.2.160.0130.22422.96
8.2.150.0100.12425.66
8.2.140.0030.12724.66
8.2.130.0070.13326.16
8.2.120.0030.12119.89
8.2.110.0070.11920.51
8.2.100.0140.16717.55
8.2.90.0030.14217.75
8.2.80.0070.14618.83
8.2.70.0030.14417.63
8.2.60.0070.14017.63
8.2.50.0100.14517.46
8.2.40.0030.14419.66
8.2.30.0090.14717.78
8.2.20.0080.14717.67
8.2.10.0110.14417.62
8.2.00.0160.14117.62
8.1.340.0100.14617.46
8.1.330.0120.12821.97
8.1.320.0090.14215.89
8.1.310.0070.11516.66
8.1.300.0000.12417.91
8.1.290.0030.14330.84
8.1.280.0130.23225.92
8.1.270.0030.11824.66
8.1.260.0100.11126.35
8.1.250.0070.11528.09
8.1.240.0070.11923.84
8.1.230.0030.15024.02
8.1.220.0000.14518.67
8.1.210.0000.14418.77
8.1.200.0070.14117.35
8.1.190.0070.13917.23
8.1.180.0030.14518.10
8.1.170.0030.14017.62
8.1.160.0120.14417.62
8.1.150.0040.15017.62
8.1.140.0120.14117.62
8.1.130.0110.14217.62
8.1.120.0130.15017.62
8.1.110.0090.14517.62
8.1.100.0160.13817.62
8.1.90.0100.14317.62
8.1.80.0120.14117.62
8.1.70.0120.14317.62
8.1.60.0150.14217.62
8.1.50.0130.14117.62
8.1.40.0110.14617.62
8.1.30.0120.14417.62
8.1.20.0090.14617.62
8.1.10.0130.14117.62
8.1.00.0110.14317.62
8.0.300.0030.15018.77
8.0.290.0030.14316.75
8.0.280.0130.14017.62
8.0.270.0090.14417.62
8.0.260.0140.13917.62
8.0.250.0080.14317.62
8.0.240.0120.14117.62
8.0.230.0120.14217.62
8.0.220.0170.13717.62
8.0.210.0150.13817.62
8.0.200.0120.14117.62
8.0.190.0130.14417.62
8.0.180.0120.14717.62
8.0.170.0100.14717.62
8.0.160.0100.15017.62
8.0.150.0090.14917.62
8.0.140.0120.14517.62
8.0.130.0120.14717.62
8.0.120.0090.14617.62
8.0.110.0160.14117.62
8.0.100.0110.14217.62
8.0.90.0110.15617.62
8.0.80.0120.14117.87
8.0.70.0080.15017.83
8.0.60.0070.15217.83
8.0.50.0090.14917.83
8.0.30.0070.14517.87
8.0.20.0080.14317.80
8.0.10.0100.14317.87

preferences:
32.5 ms | 403 KiB | 5 Q