3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $options = array('cost' => 10); echo password_hash("OaZZhZgCp/VAldZFX2o6leedzq6wLT.", PASSWORD_BCRYPT, $options)."\n";
based on 7XpSa
Output for 7.2.0
$2y$10$B4857ajNxcHkzNsjzUPNfu87/z5qfaSYipFgQ.vl6lGm9rvPdqcx.
Output for 7.1.10
$2y$10$i2cvuQU/RLGD2Zkze7Xmxe.vniHon20eZy3RAC.LJ7hPTMi94p5ma
Output for 7.1.7
$2y$10$1Z4xKikcBbCcA29IqZ8Py.XuzWyhJKbPKk19ZmDIZScguJh0kJMW2
Output for 7.1.6
$2y$10$NpFCMdNdsw28BV0shtP6jemO197Os3.LfFhzFBfyIrFZIKxUBEgzC
Output for 7.1.5
$2y$10$8qFk/MaitKSCCZBqz5BEpOHTnjhJJTfI/iRn4ox1ktyEWKeacs3Gi
Output for 7.1.0
$2y$10$oCGRKJw9G5AttbcXxidcRu4gUQ9sTzrX0YzqC0IUHmSGJ6BfQ7xFy
Output for 7.0.20
$2y$10$QgLyUCmyfPyG0zOIVzakq.Mb/xzK8Vhcl/C2h8jI8Q/zUHSHPv3MK
Output for 7.0.6
$2y$10$Zqx5K5iFyCD8dTBMbU9mVOTtXWqPmqtyh9ZIi.loRChGuuU2LpdcS
Output for 7.0.5
$2y$10$b1f1FU7U2gFPCrgpcXUnje5DcWavXUPxh4Md6q8xLq2Jcmq.8Qmiy
Output for 7.0.4
$2y$10$y69k3RQ1dl2HNHUdnqevNeHzxyi5GhI/.HlvGg0s5.4gIanxMOFsG
Output for 7.0.3
$2y$10$eRCxvjRmIZePMRitpBYiTupcnVgKeJKtDJFbId8wrkTTklUHdrjtu
Output for 7.0.2
$2y$10$.PVWAMxHCOT2qt/lcwOr0uzDVvgfVAfKDTsp1z4DDTybqasp0DTbu
Output for 7.0.1
$2y$10$iGRV7IXwX2QlsyMWe/qAHujVYDDMshb9ahI9yugtppEZHaFOspR4C
Output for 7.0.0
$2y$10$17zvq95zinjR095rpZiFPuZlw6YEt/dTOHyHwSTJO4tJPYmHlydRS
Output for 5.6.28
$2y$10$mqhinJwsQQdBESo.Y/UlGO4ft82nW8/ODD80BWtJ1TvKm6jqPhEFm
Output for 5.6.21
$2y$10$PFvdUC3fHIjabrjRfgBji.h3gp0qalyZt0M/SGpa5bueDH66rLLVy
Output for 5.6.20
$2y$10$JRzzWNDyvckx5CJb3N8WE.Nl0lIZLK9StI7WUosd4mxmLgKWgeOSy
Output for 5.6.19
$2y$10$2RszOeIY2D1HmFrhn243k.9h51pyo/QpRu1/SSrSg2Zcns408PiLm
Output for 5.6.18
$2y$10$2GFq2dQ1/e52vhpovLu74.CCndRpkB53kIqtItgryA1AAZHWwR9xS
Output for 5.6.17
$2y$10$tyNh9iTluGUpuaL7UsDc2OFPx/3OduZVM9RutfK/h7VSQ.6.xu6wu
Output for 5.6.16
$2y$10$Ji20LrB2eXE4/IxFoMXvSe4fJSWPncGLyXQwbKfbGvsW1glMFxq/C
Output for 5.6.15
$2y$10$HsTg.398hdFs1n6WrhbaaO3u7wq3GqadWAxwSXOklZ.2veyo/tEMi
Output for 5.6.14
$2y$10$uWUsbLVnuDA455cifs4Kqe0JyTBco23y2M5ShSN5.ma0xrYXUDgLW
Output for 5.6.13
$2y$10$B.O9AVsTf26vVmQtwvHgaOgL3GuUdT5h/XF8EDWps.64OiRdyBO36
Output for 5.6.12
$2y$10$HUq4v.fP5m5vTFBzShm4jekqeRz65VykAKAZI/BV/AAruzZOs56FC
Output for 5.6.11
$2y$10$g2lpkwD2.NFi24A.Vq12uOsATSWpDxh10IyWKH3soRWR3Ok9Kt8/G
Output for 5.6.10
$2y$10$T8piIBJaZteftLE5FWgHEulzdmFKJ7mg/b.zr8l50k6qsd6k8RCAK
Output for 5.6.9
$2y$10$.HLdbJC9A07rgUh67eFitOuopWFaxIWgMOzcStC3maMkn2jGhAdYu
Output for 5.6.8
$2y$10$bu7Xc4OanxA0Je7uEC/QjOJ26QkkriYG6gvdh1XVWrb6WYrUTsrvO
Output for 5.5.35
$2y$10$AwGs8n2d/WPUBaI2RXNaweAdvW0TmKx50RMeyYF7uI1rKKqDW2dza
Output for 5.5.34
$2y$10$dMqsaw03ZperU7IAW/BYheiHIr/prgHXxAsArWbrttNRHbF352E9S
Output for 5.5.33
$2y$10$Lk2YMvgg3dB0GaMU0fdIzuVKBWJP/ir8th/45UiTXgknWoeRvY2DS
Output for 5.5.32
$2y$10$cCY7jgNq.RPG8WxskJIoB.nWMMCeSYjjd1ycI2YXiTo/g8Hh6tY5i
Output for 5.5.31
$2y$10$j4nfzaJNRedQEZm1ezN1zuRyjHmIaU8aS1Fj4/.ycyl26e5Whv5DO
Output for 5.5.30
$2y$10$mt0BbkuTGgGUbAs1o/q0JeSPl.gfO07R8abaLB3egu2rFmYj82pNm
Output for 5.5.29
$2y$10$DcFBouluYkRGtUhaALJJHONyISz6fNaCojaKtBc/K.8SGZ1htaowq
Output for 5.5.28
$2y$10$nNwdaYVgYXBUf6LKOs2ykOtyvvTO4nb0wzqTIrh6izYEOWS1bPAsC
Output for 5.5.27
$2y$10$CL76gy9KtbrE6GHT2dS4POml/75n.PzslYUVUMh6EulgfQDoMb176
Output for 5.5.26
$2y$10$2pSp27fIwQY6Cz.uph3AeeiQ1513JnM5Z49C54FTbAXCjTlmZu8YG
Output for 5.5.25
$2y$10$XokIEqEdi5gvojfXEFBC1u9Gfu9EjAVf2QyKNskwEmPwJgP2uzihK
Output for 5.5.24
$2y$10$znWpAifm/b6oYqyoJPUg5Oro7fRu/Nqw.1XXpWxvylorvpjRpossW
Output for 5.3.20 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/mX9X6 on line 4
Process exited with code 255.