3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $options = array( //DO NOT ADD A CUSTOM SALT! I WILL SLAP YOU CRAZY! 'cost' => 13 ); echo password_hash("admin12345", PASSWORD_DEFAULT, $options);
based on FESrC
Output for 7.2.0
$2y$13$K6hjVlCtgwnHLQ/rvpwNDuVzVzN85umJyQ25OJPH2bA1S2gpAcn/O
Output for 7.1.10
$2y$13$WuX.qHciuBOz3hG3mYDSVek/qhAl/ggZDr4UsK5tAVdL//5xdMlZ2
Output for 7.1.7
$2y$13$Hfe9X8eaMdYBOYpVj9Jy9uGSgEuNWlRjLY7nUJDhaQknLk8sWYblu
Output for 7.1.6
$2y$13$XVn8qyBDJ6wRNzMu0uQEze6/e4de3Z5GznfPnjwIF0fPNe013nKGu
Output for 7.1.5
$2y$13$TcXpHcQ/zPJ3Jz6rpCRRgup1//GM9iugs0xuQvBzKX.OweB46ahhG
Output for 7.1.0
$2y$13$.Xnx2ftLQCpfac1yaNxNZeGaDalwZUx25ND3pw19ULzWT1cT.vleO
Output for 7.0.20
$2y$13$kGuu9dbNO8NhEKTHeqB2iOHgxCxAGKaZU8cFF0QwPs6fIk9zh2uby
Output for 7.0.6
$2y$13$Tc3Z7fAhhfcdvrE6zDboyOu/wt/nm0WjbXPy4SQaDYZc1V3GoXxu6
Output for 7.0.5
$2y$13$FoQxj8HSUKvzbhbrkEi7DO.kofxtibUPBR7qg2tf3X6labj3LJMnW
Output for 7.0.4
$2y$13$31OMVlJt9umtv65b4vOgTuSYscj4pky3oN8k0XvsusWENgsKHjj0C
Output for 7.0.3
$2y$13$8O1JZX179Q5X7xQdTCayPOVUE3aV6PDV6mLn7HZlZMocRO.5CqxAS
Output for 7.0.2
$2y$13$b18hoBBRCAO9Y9MaLIhfje/xD9iEuyZWfRU3mSPqUdjjnpkPBH6CS
Output for 7.0.1
$2y$13$ZwmsyixuSoKYjO1Mhu0WBezlvPnMMs.pqZsrVj49L4SStJ5heVQ5G
Output for 7.0.0
$2y$13$1C.BZcbXWRHHWufs1ManRe1FdirmBSA5Vm0ac3ZOEpE6Y8t0Y5LV6
Output for 5.6.28
$2y$13$Dw/R1.zr4FsczUQt7ZRzAenQgOFBLZ238IA8tUilDC5puFpMyjXF2
Output for 5.6.21
$2y$13$hQZE0w.x21neJCbRDkD7Yu7LPtyAHUl.zqVCRoyABYS6qa7xLax1K
Output for 5.6.20
$2y$13$.jfNrda1HchEdmkvcA0LwukPWZXYWITsCnl7xmvF2941IchSbB6IG
Output for 5.6.19
$2y$13$qQ0uDdZuFfBZmxuU5LCqEuynHNwai7xHIFQot46.y89pkH1e4QUbu
Output for 5.6.18
$2y$13$BjEjd9HPUfcT/fwMWD30GO5fjF.SrdieRjaLSZYvtPn37A.txeBu.
Output for 5.6.17
$2y$13$znuxIEhuGAgzxxR9UZqatONvjxaALiZajS5YYOuPShHE4oOzqTlci
Output for 5.6.16
$2y$13$Q4B0l/WQIL1c/5Z7eeRB4.mLnwGgT9bd9B0zImFL1DojXQil4qys2
Output for 5.6.15
$2y$13$smmkESTP5MW4cKsWqrisBeLSJ2Yhl.tzEUpt7DTzyIoHvbMhw2wCq
Output for 5.6.14
$2y$13$Y9xMpgbfvKLHiGWqHO29duMVljG5ev5V/aJSgfovN9kJbmtrJVDAO
Output for 5.6.13
$2y$13$MMyeC5gYuEgc0pSOXLdWAuuEAs7L6uLjRx70K1qhUWs6SiQYLE372
Output for 5.6.12
$2y$13$svGof/XZkDlpacaZAcjmcOBXin2LTuyRlv85XGO48jRpO3ZaIRe4.
Output for 5.6.11
$2y$13$rz7.l6edFMYnU7SVSrcjHO8GzNNJUs69QNIT31YJC815LIMOa2jW.
Output for 5.6.10
$2y$13$zbuin4hTx0LXkJt5SKzmlOh2RQa1YZl7TzG7M7CmE5SHnvmFhTd6a
Output for 5.6.9
$2y$13$Bejaa40lkOnhFULTIWTElemPptK7fZm2jrhNoxJTnga/IicGqreVi
Output for 5.6.8
$2y$13$lSE6/0.tshCgLbd77P6tte/nYL10jVySxAUl3TO3zf4GCFGDq05G.
Output for 5.5.35
$2y$13$5TyxJ8MF7/SrPTxAKnVp5.Clq1dkmvRGpG/Hf06xDJatdbHnlw7lq
Output for 5.5.34
$2y$13$MERiN1B3/M0At6L3DBg7YeLWOMSpmKkuLgA43Yx4Vms2/Bu1zBlaK
Output for 5.5.33
$2y$13$xqp1FIVQ9pnOqU4FpKh...TxJFR8sKBwDF71etA5ZwZfh5LSbmRu2
Output for 5.5.32
$2y$13$rLDt6On6SoITUATbberoR.0jERTIy1JpVLmuUiqDzc0PaPE55BHHm
Output for 5.5.31
$2y$13$8hUNy2q0HwVRj/Hnz21ABedziHqCF99Fgs1SF5tV3w4iF/vApTNs.
Output for 5.5.30
$2y$13$oBxq.Pi7XijXQxqAQ4fP5etfdwM3.Q0MfXiEOJGf5L.Oti6agQOuW
Output for 5.5.29
$2y$13$YUY9oidG1XzO.sJvIIb1aeRrhlDM/Ade/Iju908Dn/TgqfGkAFd82
Output for 5.5.28
$2y$13$RT72BtRSz1DY/Q.gUCeEmuaNuFX1gFSCEfiDk60NXakeJr4oF2cp.
Output for 5.5.27
$2y$13$I49dA.XovCIhjkXYjjEWRu8/8wUU4.QwpY7UZN.YdCEua4M5DX3ee
Output for 5.5.26
$2y$13$N6AszYifLidI.LH9a2EEq.ChotxhbuR2OLSR21mwuOwuEW3B.CCBK
Output for 5.5.25
$2y$13$SpPqZWFMXBcnjg28VgBB8.I353qYkxsnJPYqUczaTu5X0BkdqgvB.
Output for 5.5.24
$2y$13$3TW1zGdOxafq.5s9Mf58N.SYXNk0H5MbFQ4ZO/yLNDDh0zgqX/M1O
Output for 5.3.21 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/SALtt on line 7
Process exited with code 255.