3v4l.org

run code in 300+ PHP versions simultaneously
<?php $password = "admin@7214??"; $hashed_password = password_hash($password, PASSWORD_DEFAULT); echo "Original Password: " . $password . "\n"; echo "Hashed Password: " . $hashed_password . "\n"; echo "Hash Length: " . strlen($hashed_password) . " characters\n"; // Verify the hash works if (password_verify($password, $hashed_password)) { echo "✓ Password verification: SUCCESS\n"; } else { echo "✗ Password verification: FAILED\n"; } ?>

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.4.140.0450.45017.22
8.4.130.0190.40917.34
8.4.120.0340.41517.52
8.4.110.0160.41017.69
8.4.100.0210.45217.41
8.4.90.0210.41217.25
8.4.80.0330.45417.65
8.4.70.0180.40217.89
8.4.60.0210.45517.61
8.4.50.0340.41617.43
8.4.40.0230.43817.45
8.4.30.0240.44217.35
8.4.20.0180.42917.33
8.4.10.0210.40617.57
8.3.270.0170.10316.82
8.3.260.0330.13916.40
8.3.250.0280.15016.64
8.3.240.0350.13816.97
8.3.230.0160.10416.80
8.3.220.0160.10516.57
8.3.210.0140.10516.62
8.3.200.0290.12116.27
8.3.190.0370.14316.43
8.3.180.0370.12916.87
8.3.170.0220.13216.74
8.3.160.0210.14016.86
8.3.150.0210.15216.47
8.3.140.0360.15016.22
8.3.130.0300.14516.49
8.3.120.0150.15116.32
8.3.110.0250.13816.45
8.3.100.0370.14816.22
8.3.90.0230.10516.35
8.3.80.0180.12716.34
8.3.70.0190.13016.61
8.3.60.0290.14016.41
8.3.50.0390.13216.77
8.3.40.0250.15317.19
8.3.30.0130.13517.43
8.3.20.0250.15117.32
8.3.10.0220.14317.14
8.3.00.0210.14417.65
8.2.290.0170.10516.55
8.2.280.0160.10216.59
8.2.270.0180.15516.18
8.2.260.0340.15216.66
8.2.250.0190.13016.30
8.2.240.0320.14516.19
8.2.230.0270.13216.54
8.2.220.0150.13816.09
8.2.210.0260.14516.14
8.2.200.0270.14316.27
8.2.190.0360.14316.41
8.2.180.0330.14916.39
8.2.170.0280.14017.52
8.2.160.0270.10517.47
8.2.150.0210.19817.10
8.2.140.0200.11117.48
8.2.130.0140.19017.26
8.2.120.0100.10817.36
8.2.110.0180.13317.38
8.2.100.0300.15617.31
8.2.90.0340.14517.37
8.2.80.0300.14317.18
8.2.70.0130.10417.27
8.2.60.0130.10517.48
8.2.50.0320.14517.37
8.2.40.0250.14517.25
8.2.30.0260.15617.17
8.2.20.0200.10217.13
8.2.10.0100.10717.39
8.2.00.0160.10317.16

preferences:
29.2 ms | 403 KiB | 5 Q