3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $hash = password_hash("rasmuslerdorf", PASSWORD_BCRYPT); echo $hash; echo "\n"; echo password_verify('rasmuslerdorf', $hash);
Output for 7.1.0
$2y$10$pCF17zpqvBIYQo0b0KpHEe5B6DZQUblB8wrCa4QHl09y6MlTr0.9m 1
Output for 7.0.14
$2y$10$BuTt/H1APNdRqjKuHppvAOmJ3ggnK9iYyWlnLNI8QbacAdZZt6PL. 1
Output for 7.0.6
$2y$10$iX.3lqNH9OfuLIzHJmhXReI/u9xJpKpzjd/P2ghl9VLDaXxAOUwY. 1
Output for 7.0.5
$2y$10$WQFGTJKCso1wVmd/4GNjfuMj18JpUO3uCmLUgiSvXwF3eAsWSY76W 1
Output for 7.0.4
$2y$10$jxHVKoarBaHBxn7Vk9IirOazV7KnKnHthdw5Igu4f6Or3Pr0Y34Su 1
Output for 7.0.3
$2y$10$sfZj1gQj7cpqVdg569Okeubj4FNJ2LsjXg.DKNLeFb1ZbAPMAAk8m 1
Output for 7.0.2
$2y$10$SsDXCOlwM8ru5h8/wm9vZ.A4PLZ.3ehKoYI.DZPSg95wxQXNZ1CMK 1
Output for 7.0.1
$2y$10$HK7RUM4.ayEDrx2zwWlH9ORxy12iKEJwhxb8/Q4bI9avePMeN3Bz2 1
Output for 7.0.0
$2y$10$HX/KZZmtjVnJ./P7jA5VGOgNvo5I5r9T9yAEQ5OtZmw8wT.dL63Ce 1
Output for 5.6.28
$2y$10$rv5Ld9xefgfKmtRhU5jvb.4WnTxeLpVqhYZFM.JpOvDYB4wNe2TZK 1
Output for 5.6.21
$2y$10$rt5whRA64HwZyNDDmZbKiu2KBc9mS.EnkUJbM5Hfthefx2e.yit4a 1
Output for 5.6.20
$2y$10$uel/2GS8pvAF40UqgPROo.M8LsSS1qd354vJ71KmJ3b0riKtYp4e6 1
Output for 5.6.19
$2y$10$UO4dBCNijXyKAZE1u2S5NudMC9i468FpDl5gWSzBkcb32xRH9Fe/6 1
Output for 5.6.18
$2y$10$CxtZKNDVxNCZyYPJKVuOR.HSe2QJwYpjCSs4x1.oLQtgFR8J2ekzC 1
Output for 5.6.17
$2y$10$sAsKRPDCHvfqBNt1umqzQO.R3GqZQLDXD0D07.DXHRbyfMif5ahuu 1
Output for 5.6.16
$2y$10$pob9hJmR8SloUUpaD1JX7uSdeDwp9E9UaEWQpwR0nT0JLA.Wm.uJW 1
Output for 5.6.15
$2y$10$3b2FRxCeqUkJvG.cQHOczey.ulc3T5rCrR/tDvOu1QbjlsMxoSFSe 1
Output for 5.6.14
$2y$10$cXvBsdtEuaE5JkF3uyoTz.7w2U8rGF/eSe3FgvTNcm/TqmavsKiKO 1
Output for 5.6.13
$2y$10$JsqG0o3/dUzAVyYzVUYa2.5J9WIdJ4../2hwfah/VUShc4AY4JH2G 1
Output for 5.6.12
$2y$10$pCr.CLNpYt3A0TmDT8jaLOAbb3Q5rsJqIjlOW1eueGrmDYdqCQkPW 1
Output for 5.6.11
$2y$10$NZ0lyz/mQjVTvOWU0Br57OkSItE2/xY.tsDm32bhrHUDTj1/Q4Qhe 1
Output for 5.6.10
$2y$10$Tqkg4g8zWPbhDBGGvxCQZ.QwS0cgDfrACPOaTunkk4rB3.drNhPwO 1
Output for 5.6.9
$2y$10$i.wCJrbqVXp0GL9cBDmB2OQ6/3gzJG3aJj.xRRzdlZ7QgSU7Q9sOe 1
Output for 5.6.8
$2y$10$yrinr2YyBymiAmFcrvz.OuucUZwCIvXwbfXDify4Q.RJGR8UrJb5i 1
Output for 5.6.7
$2y$10$zARpYhZ7OUNKImu7slZmf.2cibxDS7rrkegxoym0KhWN.sbWoXytS 1
Output for 5.5.35
$2y$10$Ns58PN75OO7ePwV1NbrenOO5NiMlG8364fDhn9sXwGEUhcIUsm8xm 1
Output for 5.5.34
$2y$10$E/JexLFA47xa8DjXE66btObTiGKQIioS8mvtFA2KpJsteXZPWAjom 1
Output for 5.5.33
$2y$10$aX03u.Y/fgOIocFSAnLCVutCXdgSw0OhEsf71tmtyu8HK/NVfI2ri 1
Output for 5.5.32
$2y$10$V1x34XujV4IJMwPz6PWP3./oICSheqVbxcOmKgPU5Bq2b8ipZv7oW 1
Output for 5.5.31
$2y$10$hzYFbZr0lngIwqGmnIlVPetO3rS.KpCNwRvsA2wqYF12.5pODx1EG 1
Output for 5.5.30
$2y$10$nVGpeYGMmAamzcxFji0xd.l5L7jowj3YzIjofhmKA8kgvzOq.eaMO 1
Output for 5.5.29
$2y$10$HjgFAJc/G0p6faywLuW8Sun2ToNqIBi1guwTHQjIM/s7o2lUT206G 1
Output for 5.5.28
$2y$10$lu76heWd9I2Y1h.wvYJc7ejElTpCFSRYtioIqc4taisblyMxKbWoC 1
Output for 5.5.27
$2y$10$/Fo480n9RUHeAVPXRYDpvukpyS/wPaGsYv3gSdt0X5GPkcLWAx1U6 1
Output for 5.5.26
$2y$10$duwfo/9Lye/rDl0V/Ez2UujyiUMupRmqZZ7ft75cX2qIWp2UXPrVa 1
Output for 5.5.25
$2y$10$BmpAkXPTCPBvnggoDw71p.Xi0tVzJAnhhVFnaTw9A0acKniYfsLwW 1
Output for 5.5.24
$2y$10$TzkdN99xmQhT6iWf06xEZ.YM0oPG5uoE6yGGxldtDKFKEF7LSEoIK 1
Output for 5.0.0 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/Bp5LL on line 2
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: password_hash() in /in/Bp5LL on line 2
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: password_hash() in /in/Bp5LL on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: password_hash() in /in/Bp5LL on line 2