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' => 11 ); echo password_hash("admin123", PASSWORD_BCRYPT, $options);
based on Gqcc6
Output for 7.2.0
$2y$11$xH7fTzboyR6miYn6vxs9/O/dtf.Dt.O5ktXKNzCyIqFgAx0FAz/E6
Output for 7.1.10
$2y$11$vpqAIJU1Uafm8DYivApiMOzU5j0kWWiDOw7fj3MfLNduX3EQfkU8S
Output for 7.1.7
$2y$11$a4J77pa35dwnvYs6hIsLnODBljiPLxkfcgvwRL44kfyXSHs4G4zMa
Output for 7.1.6
$2y$11$4XOzZ9nWFjpvmjESKhIJserSwJlBsgwYsEC.zoRvVcJZI3drQtw3a
Output for 7.1.5
$2y$11$Ygq7Kpa894MGbZaO/Mqhf.osgQvCpd.aWtuAi0NBpNprC4rA33TuG
Output for 7.1.0
$2y$11$0JpGZ4HYA24.wMlsAPHhIugYc1XhO8v3gIiGP/rhPh1r.MPKTdJZ2
Output for 7.0.20
$2y$11$Bc1IiqP9Yeg0xJo.jczgwuLTL.8UX0PZkkyV21U9uz5dtZ2qTehi2
Output for 7.0.6
$2y$11$l3//5/e2Em16bkB3/lQ6reKPA3Gi3a/7Cq7hklBugw7tHTlr8QRwy
Output for 7.0.5
$2y$11$Aq1uiTgkkNjRbUVJzZiXP.o2Qex9/tIlXBIMU5GDUyiOOq2Jwo92S
Output for 7.0.4
$2y$11$jSiLbywZKWxDDJNPK4jm0emOuBZogp8B74QcU5nRXK8wdasyDN2qm
Output for 7.0.3
$2y$11$dTXa2AuQv7Ou7on9tLPrqetK0Ps6HqvpsIDRsS2Jy7mvfN.6jw/XS
Output for 7.0.2
$2y$11$PGuCSUFWWA4e4JxZorKXcebdH8aVneBGj7VY53mcrLi3nqQx/8hfS
Output for 7.0.1
$2y$11$eJ09qfLX3gsZOOV/NV3huukZHnpi.gaJofs9BBk.INou.jxBEUexW
Output for 7.0.0
$2y$11$V6xoj6seoBXUuKgeDyI1z.LBwrx3lxcRysnZC4daGO22QEWwnNpie
Output for 5.6.28
$2y$11$ogHSh234m2Wv7Rf4b2C7E.kTSSfBgVj3mfrEZ8sj5kpCoVa2P6Dci
Output for 5.6.21
$2y$11$y2VlAxdqqhCJBhtH9zC3vuccrEOayn4vu0ZfIOQlhEaHMo81qM.um
Output for 5.6.20
$2y$11$bqf6cNvwZB0HkhQ54.m1uO8m1Vecs/gEdFNefABG8N1UwgQzWKxy.
Output for 5.6.19
$2y$11$/9mCWlTd00ZetGxlXa8dtOmBGjibBIMGmoap1gP3EoonBsrMQzEsq
Output for 5.6.18
$2y$11$OfPWB1WBoPq5PbBFrYFDIeN8VLPJ8VqMiuqszo3grRM.Laa4Npd7y
Output for 5.6.17
$2y$11$T3l7Snwv0j/dtX6OcTqZjOAGkyLDMudDe5VZu1UsxJZLK1TsJxPTa
Output for 5.6.16
$2y$11$i/zuk7iXOJOLpmgd5xZYf.IWv3KwUCj5qtkOFnxeFb.iqrQYkWKzO
Output for 5.6.15
$2y$11$X1SaWYhnTn6F2gnJApsruOk28fln0kyhWh.55iIl.hKCVU0IufH8q
Output for 5.6.14
$2y$11$YfK2kWR15zSS2l2eKcb08unikJ/SoncvdIO6MndqSaXJIe8mY.wCm
Output for 5.6.13
$2y$11$H1Pip.LjzvGalj0aoHaXEuxjqhOfmNWIUJ0tG.jdRSdYljk4ai0nK
Output for 5.6.12
$2y$11$j3kSvFlsiwyOViNNxRPaaenoHbd/W.xwj/3.ITNnGRdt/V4EQDn4a
Output for 5.6.11
$2y$11$JchOkYsh.AqYZB0upIF5qO5q77GyLBVaJ7gCuq5GLnnTbZXYDOIMa
Output for 5.6.10
$2y$11$PnrmTezLWkNoshpozJnfqucvA39gDDwmyK45SKmgrtxfO9UAY/G5.
Output for 5.6.9
$2y$11$e2EoDfBvyK88sGCU4kUaXe77xJx4/GLOy.v5AiwBF50u6PpjDOaum
Output for 5.6.8
$2y$11$epjwI12PolLT4wqw2NxUhO0AdPh2xRoZqEA6qUEtBaHMfIZ9jM1GK
Output for 5.6.7
$2y$11$dg.Jg/5cSBAHSw2koUnBVuj/4JPA0MtNOVk3W10xVHaPXKzNgYnqq
Output for 5.5.35
$2y$11$BISbERdV3Qt5cjZTqv0FjegIfi63olHCKQgZnrWq402NK5yuS3qCe
Output for 5.5.34
$2y$11$SE9JQXr2Ztt8Mgp76my1LumT05vOV5z77q2tSgwIAfVTfFZ/qRkAy
Output for 5.5.33
$2y$11$MIBnSDz6DKN1FC/IwP5lu.BNBVRdGTluK4Iw/ekKdJN3.LrWXpWUu
Output for 5.5.32
$2y$11$qbTsuVvLA90Rjvnq1Gg46umui/zVUjuYcXFuIjCpjGkEnDzP1g8Uq
Output for 5.5.31
$2y$11$Cwo/cycKUPcTUFkJoK.7WeI/tF6/McuYETtggRkYbwWifYxiQfrqK
Output for 5.5.30
$2y$11$v3KIAbAUrya6XZ5ytlLIa.97Vr9qJsy65elEbdOlD235xTE1Lnf46
Output for 5.5.29
$2y$11$p39qYCXdrRvAyzuJ81kAnu9qTLoMhxj1Ga5GbFeVhAl3g8Rp.cGyy
Output for 5.5.28
$2y$11$ZxIZvVVK.C17TRuD.X5Rjem8nvnEtCr0Pzruc/lFkthPFhHBADrAy
Output for 5.5.27
$2y$11$k26crXfUbTwv3bUgtxnZtum6SFG5EjvDU0H3Jul4PJhpCDjd.ugX2
Output for 5.5.26
$2y$11$5WqyysHl404HTAJzCyqkFOVE6F.iGttXR.R3lZK.pzu/vw9WheTRC
Output for 5.5.25
$2y$11$7PbqJDKcj4eqmPVjVTSAuelRT9JqZzygqO6NzimI0TguM4uWTjfgq
Output for 5.5.24
$2y$11$iVqjKee2bpi4uI3EEpYE9.9G5oEZyS5xyRm7jDf8jcoeVd/H30aCW
Output for 5.3.18 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/VVStp on line 7
Process exited with code 255.