3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php /** * We just want to hash our password using the current DEFAULT algorithm. * This is presently BCRYPT, and will produce a 60 character result. * * Beware that DEFAULT may change over time, so you would want to prepare * By allowing your storage to expand past 60 characters (255 would be good) */ echo password_hash("54af4ba64ec0a86f4f3e1e45159df08902ab8f40", PASSWORD_DEFAULT)."\n"; ?>
Output for 7.1.0
$2y$10$PMJEPlRu.xhjUBI8ESwjW.pf1FoIAyCKtvwaOGCixAdl7wJLfMqJG
Output for 7.0.14
$2y$10$SsbrlkXWn.IiPFktEAEaCexQpK7sZehWlXuhwlHe0VECCQq9oMuOG
Output for 7.0.11
$2y$10$bEwl5IScecGn6eOp6lHizu7OFo0jVOZWQZgjbl2sjKth9Nv8RfPs2
Output for 7.0.10
$2y$10$jpzneXGHFJo7eQ4Ve5TBLuNZshAsHd8UPIA46uGHUPILGY62xacTu
Output for 7.0.9
$2y$10$KmfTM04CFjZe/SKXgaCuzOvAwiikhaYPpIecRFnQeZmNrOVHVTsMO
Output for 7.0.8
$2y$10$01MMeY.4Q6hnF61hUJjZlOZST4OF07c9iJxnnIe1pBsyPL8WiGWJm
Output for 7.0.7
$2y$10$DmMBIArXaYqmdwZTnHAt8ej.p69eW1Fpd0aYIN7JGhMmgzYbz2P7G
Output for 7.0.6
$2y$10$sR/QRx7vZ1rbMl76xoDKq.lvbdhu6xRTFoim5vXWBoT7ZxG8eGEaW
Output for 7.0.5
$2y$10$ZrqUWUcb6wMvURcwAZBkBeeY0WL5IZpudIdfOR3b9dSGRkahxgvje
Output for 7.0.4
$2y$10$7KYLKvIQnXSwqPJT8XKqNOsijTqEvhxxErsYTPTEBQqCt5qW8CfLa
Output for 7.0.3
$2y$10$YB24McLRPTSpGIy9iU/DfOu6RLpphjKYgtUDe1WDOw8AN7OLd/4tq
Output for 7.0.2
$2y$10$ekQzMr96hRaYVrQQyoRH9.Of3psqaB/TwHDrKw2wU1iyYNBRSq18S
Output for 7.0.1
$2y$10$UrVz/IOrFPoiP07CJ47i8.y26AgXQF1maBrn92mQxem2l.chBzyTi
Output for 7.0.0
$2y$10$UMlnsJal5d4rTtWRFwYhIe9f0qMNDSayO0PLcUUGqcTJa0lGVlh6C
Output for hhvm-3.13.2
$2y$10$EmqtE9PrJoOt3pN/QHcAGuuyYka5kteKMSULjHxOu7WPHC9pBUqBW
Output for hhvm-3.12.0
$2y$10$8YBNo1rdKlKINZlbzpr1y.A9byTJPt2OzhAm0GoYXsjc9RP3EnBzm
Output for hhvm-3.10.0
$2y$10$J3aCh.7/j3ILEGbGoOD9JuUyi5rDML07kNbJ7o1QRtpf1a1Vwpod6
Output for 5.6.28
$2y$10$gA1ltJxdRfDOk9MkyohXGu5hIwzdkV579UgcWL8X8hBL88E61EX/e
Output for 5.6.25
$2y$10$R.6.y5agTUQWu8CO7S88Y.4zxiWNf.qUxD/YMFHd5SrpsdI9Mn.hm
Output for 5.6.24
$2y$10$qocr1Jo/M78lgZNBOKZ2qeWZk2uiowX/rVIyOkODuWJ8yIYXxA/M.
Output for 5.6.23
$2y$10$bcXkIJBaDEKUxqVqtHCIIuekwSYbymvV0GD6vkrvvYLa7zw6MANZa
Output for 5.6.22
$2y$10$EWppNRU1vWUY5Unrg.gbNuyuMfNg1Rl2UEP1MpXXCCNXrRKmGmZF.
Output for 5.6.21
$2y$10$0gLu9fRND7yP5WN7OSCbQenhCbCHyaL0jNknbjiMG/hvdmCPbRWaC
Output for 5.6.20
$2y$10$72RIIxjthEp6JA3hLEu6Q.a6Kn11x6c8Wgn3VjcLTTwiHswUS9zfy
Output for 5.6.19
$2y$10$M948fH//6ZlRQdvv8gr3w.CbXIdQaZKNiu9W3tnbGI2eYQuaBeHVW
Output for 5.6.18
$2y$10$5NABYqm3u/EbwfsoczWXF.r0jEJu0D0XaRqnS2z3mW3xj8QKmobrC
Output for 5.6.17
$2y$10$6BXwAJlqqQznnm8FzQU7ae1A3yNGQ3mGYatjBg.u/0n1tfGvjjJ7a
Output for 5.6.16
$2y$10$xyHI4B3g8FxovtlRQEhyh.hqLwO0lIDvZYgHu5HE2Vr7tDLUfjEmW
Output for 5.6.15
$2y$10$zDrV8ianak17F7aN6ylHauLUDS0fOA0efNTZYGkUMr.Z4EeDd0CGa
Output for 5.6.14
$2y$10$gT2WsrZLVV9FbdXXpr/ux.r8PTg3Tn1bPnbue5wqzUvufWN/WQShK
Output for 5.6.13
$2y$10$OjMXh9KOEEiRdRfOytGGEuX3CEMAA6ZwJ/swj/Pkf5Tj4hvmVTV5a
Output for 5.6.12
$2y$10$9ibaUjwf4J8TpNMsc/2MmuVnDKxHQ1ywLQt.ZgKOpTRzPtZTE6kq.
Output for 5.6.11
$2y$10$Hwk36yVH6jkI9COaRib0f.RmZRgcF6N7f6WyIJQAZYnvv2ui2851C
Output for 5.6.10
$2y$10$Az4APkuw32hXeN9Y3d6K1uAyxHMGJJ0NJjT5EsPBT5JCwJX9h6BPq
Output for 5.6.9
$2y$10$kOMf4M6tjSJvS3WpKhsak.5tH69FFTJ0zUfvVUZsfN5TDOo4OaBgm
Output for 5.6.8
$2y$10$3n/Q6hJDmEmKKbs42ccbw.tvorgTl2oo1Hr1IT7MpH9U6AbslS52C
Output for 5.6.7
$2y$10$MHNDLEM5JTkvzLKrKftoIOfA8V7tGBVdfAGo2KzBhKpU3S5S/LzXy
Output for 5.6.6
$2y$10$cNwmdOxFeS6gAvthJxFJt.I8XeIGgJrcrrM0HQulBEGojW.mawgR.
Output for 5.6.5
$2y$10$Rw5l1I8/cJ1zqs7GPGkzDODRZoC5oLuEqoKP0ltMc0uALlPIqm8f.
Output for 5.6.4
$2y$10$e7onMwoVMlAAzASJedazfeGzPrKcPzBPjjZ46Xl.YXZJAp4FaslZG
Output for 5.6.3
$2y$10$14yPTOl06RRd/PoGLszzGetl5pVqeWs4DN76X5vDF1HjiGNvGc6Cy
Output for 5.6.2
$2y$10$fc0JlS/FJKncKIpaahZrcuj1b5fSh4vRL96ep4tMN.sYDvU7qV5cy
Output for 5.6.1
$2y$10$BFE13HoJLi0Lk8aFkF4t.u6GITMnzwjwCODHF.F9q5S0fipIYesFu
Output for 5.6.0
$2y$10$5ffyTJrU2XgjppXAXtO7ye61obln.0/jHReS3Un8VW0KXHN8r4a5a
Output for 5.5.38
$2y$10$h2FP1jnfnhTlQDPyHr1NHuESqR/3ddspSqYOg4vxeQdiLBrhsKiFS
Output for 5.5.37
$2y$10$0iMNZRrU1YlqMG.IkEN7VObicTicuSBahRAOCVZ4TJtTM9NLRjPg2
Output for 5.5.36
$2y$10$OFn14cKQxIroas4qqTJcHOf8TjDaQGuPeH0engEtT/nVTaLNp6/h.
Output for 5.5.35
$2y$10$RgY6tr8rebBj3AW/VH2QFOlnJP4CQQNB6.ymXuDQnuMtE6kOi9NpG
Output for 5.5.34
$2y$10$9oIO9KcB2tDmn6SOagUJN.1gRG3MhcLTtvbaGdzM1/hUzyrAPvJGS
Output for 5.5.33
$2y$10$sgw3XxjMetGKfBrtRS7mX.JcbU00K7CSehG5MjTmQ.9WzOFIoHmce
Output for 5.5.32
$2y$10$m5kIicPLZ8pau.0R6y/XGOh2HKjP7Aa1iSffifeMHCgIIGpaX6xU2
Output for 5.5.31
$2y$10$6rJY/NNR0n3gFHsf9reK5OyRH6OaNCV19K7sNCRUMWcyTHYZtSAx.
Output for 5.5.30
$2y$10$v2Rd5vX/eQ/ywcG3fWyZBuO7JNXLQW3Lq4q0Lt5IUaxPLFdPTfgZy
Output for 5.5.29
$2y$10$U35irzvUOdUQbDylyGg38.K5Mr..EOus9lFwHdYdPZ73g.Hm6O5ae
Output for 5.5.28
$2y$10$t44SJwTOCd9sx6y6Bc802.pi0cVDwc5C1jGIumZuTYcQLrnnhppPS
Output for 5.5.27
$2y$10$omQRJtBVth/0RMrrJRgiV.sgq3n2366BxKoF8zkoW4fdsUEpIYa/S
Output for 5.5.26
$2y$10$RdQDg5EIJhdABh4njriAX.bTnn80A0NoQx/JYpMJ.1g588IfrG/nK
Output for 5.5.25
$2y$10$dSsMDa00xpqd0CxeEqFSjuEyUD812mOYZSg3CqyL6mE7yInEnTpM.
Output for 5.5.24
$2y$10$uWz.8jEV1bwgdebUMHWu5e/AxnXZDC.cjhijI8aERfU0XZMM2eqBa
Output for 5.5.23
$2y$10$PbKfgxyvtU.H5X4I3jro9ObkU1.Y95G5jilA5Z0oVGrGhdUhX8fte
Output for 5.5.22
$2y$10$7hC9uz/hNcxzZA3YuqhbGuvczjYvGtc4hlzr.jTsqVodezAWiR1W2
Output for 5.5.21
$2y$10$smL9o2I448Oj4JtV4/WAPuGgX1z5FVKCLTE5vOVdvojVhrMAfc16K
Output for 5.5.20
$2y$10$vkQmc4icN8OaKrnlA8Y/e.oaRIJ25WkuATlyjaxGlZmfjJCv2E.Vm
Output for 5.5.19
$2y$10$5GXrzENjeR2I2CW7hESHn.IsoiZk5QV4pwxS0FCt6tcqjpEObkYDS
Output for 5.5.18
$2y$10$r4Gc0p48qlH5hB4S.fk/m.JKsmzD3h1PeSaA5Q99sNb/yi80su77q
Output for 5.5.16
$2y$10$CC09CnLpDMtWtza9KouJy.4c4awQXq1ioSROXkv.L29MO70Z.T.wi
Output for 5.5.15
$2y$10$rsdJeYGGgCv23E3mnT.IVOCBJIVC0q5ZRWGucZbf3o1EkIP5HBKjS
Output for 5.5.14
$2y$10$pBhnyK.a1wny.ufIl4uuDesF67maL7NREf8nJ0Ls7zuvljKAvzc6S
Output for 5.5.13
$2y$10$RSifSe03Z///ZPEsjXdVTeQWuUt5vIW3dan7PZaI2UkVWkZp3ewsO
Output for 5.5.12
$2y$10$Hlj/JECwVaIdwfm0YOYUyOc9Vpwa6UMsy8tN7IvkhVLtnTOgl.vf2
Output for 5.5.11
$2y$10$nGTFCiH6OpIWYaHjN8RMu.yLySJihKALvSCestYeyd7cj.MHgNehW
Output for 5.5.10
$2y$10$.bHRd6uMFRGKiWmJb9/eYObvqmFwE4jGK8OMNcyWZYH.JBJQP6otm
Output for 5.5.9
$2y$10$X5CpdIOFzFDv9MTTAMtSdutrvbPQk3gcJ039Q1UZlHiolvoIedc/S
Output for 5.5.8
$2y$10$l6BfVYjQ9E.PYgPPFxaLfugv1J6EXonW6dDl3m3auP8EnLaEE9mgW
Output for 5.5.7
$2y$10$24LcDUdZ/w79Kdipghx41.OOuq30WuLAloKJijn9dB8E3cAC5exoa
Output for 5.5.6
$2y$10$gUpuco1GqeZHX9R/3aukOu.KWiZhqKuHpfDfU80j3hWubD/WkMfyC
Output for 5.5.5
$2y$10$zri5RvtOHWAUS/2dMuL0F.wzox6QzkKDcCHXll5kKqYvas.lhbSUu
Output for 5.5.4
$2y$10$k3rNYX4vc8nndT7Q.wSr6ucRa4L19SPCwILshy59v1V0L8//72Xem
Output for 5.5.3
$2y$10$wIuJW3GadG8WuBPp7eThze0K4vs8SaDBzp6XJBRj58lzv2x9r8nMW
Output for 5.5.2
$2y$10$ItxNTHyLcX6SXY3eDFqPUe48PtkdF.ZXcf8dsFkwxcvlGw5bZz7DO
Output for 5.5.1
$2y$10$8pEXjUu3A9tlAV96ChcPL.VHG0yUMMCsMCBOroCV5PZ8BhgvIklZ.
Output for 5.5.0
$2y$10$VFTt1BfTvPTda/uR.jH78.tDfFf1g0OadM18G2S0aktkcFsGyVEJC
Output for 5.0.0 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/1v8VJ on line 9
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: password_hash() in /in/1v8VJ on line 9
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: password_hash() in /in/1v8VJ on line 9
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: password_hash() in /in/1v8VJ on line 9