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"; } ?>
Output for git.master_jit
Original Password: admin@7214?? Hashed Password: $2y$12$QrC8KUBcHZNTSEb5jWT1.O6RKXn5kewh4KHdANtuNV9S6N2eY3tyu Hash Length: 60 characters ✓ Password verification: SUCCESS
Output for git.master
Original Password: admin@7214?? Hashed Password: $2y$12$ueVg5hAbYgCGpVTXqICyzO0uaO883ee9DwWqXCXQgjpcIzOCYfBbO Hash Length: 60 characters ✓ Password verification: SUCCESS

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
36.49 ms | 407 KiB | 5 Q