3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php for ($i = 0; $i < 3; $i++) { var_dump(password_hash('aaa', PASSWORD_DEFAULT)); }
Output for 7.2.0
string(60) "$2y$10$VNifn4x0FlZJQtDBkHjI.uN6RMvZTXlm/Xj9WE.G7faWmMSmPSiIu" string(60) "$2y$10$0nAqOI0GNZblaQv1IX0umeQQoKSv5.Z9dMiZqblR1lDar9SqYhdmy" string(60) "$2y$10$HZtXlLMkKdm22lxwBNP.HOIrpvYrOM1YQdTtvnzAZfWx3XjXUUR2G"
Output for 7.1.10
string(60) "$2y$10$muGd0K09sC23E1ZX/vCVyuZLQ1e7p2bNQSryhROXTj3AU5J2DVgfG" string(60) "$2y$10$.8IYRx7.BicX.GCtzrWoRehSPEoBYRmjuccCq25xZeV/CtImoAXgK" string(60) "$2y$10$9.sA0dwK.umI3Fp0RxgoK.bqaYM33Tx6ZyXHputOL8o7oi0RAcFoa"
Output for 7.1.7
string(60) "$2y$10$XKc38qFNGF3RLaf1wJZHoOzqtb.HwOGuLP7wdRaY/HB0L4TxqH7pG" string(60) "$2y$10$XATy3i2z8am2RlNl6Gqi8.kezbyvzR3Bwbg7peoOIDS5wFVdTyoHa" string(60) "$2y$10$HEr4CDiG08/f21zaHbQgoeCECpdqLpkibbTiQboI7OUULEnFKKW8W"
Output for 7.1.6
string(60) "$2y$10$9bB6KS./LWcoQEluBiqpWeGpMNPWpQZY5zNT8dS7D9Qm8KL24RAoa" string(60) "$2y$10$O2PvScNoxQkzlBpfmjMUZud04.zpd/G9RuNVtF4gvHuKGOPdxocMW" string(60) "$2y$10$cNNlAWyAeGUDQkw/dA3HVeWNQv1cZdLZmz30HkMHlTtcZyZn1gwHG"
Output for 7.1.5
string(60) "$2y$10$lhz3u3.JBD2ywtsE6GnPLOglxSdn1Fh7XdIur1Eiyu5Jt3SUfUzWa" string(60) "$2y$10$lCBTfCHU5Z3hAQVchj6oKeocAokGuGyM/utNMXkUCiahSpwswUGnW" string(60) "$2y$10$rV/WQEEChcZEQBZFAYZtc.APuO39vmZxlE5xnyorD.uZZQwDSTtLy"
Output for 7.1.0
string(60) "$2y$10$v0JGgVcRQOtzLINdZilmX.Jz7KULZL8FjJjZCLAgW7BgEPvLJPE5." string(60) "$2y$10$rh1X.nJUCzEqS6pdDlerzedAg5d83x6yBGqup8h9rfX60diHKEiDe" string(60) "$2y$10$cCojLttNbNoocG.QKrKxbOT456p.P1ZPgqNjSXmGOplrzksQNbVAm"
Output for 7.0.20
string(60) "$2y$10$jO8MLwFa.XJiLGZtYEfN1OFVtSBxD0xtJHh4vVeAXhjyooWaLdKgy" string(60) "$2y$10$IUWDtYA/Nni1YJIusPD9S.LJCJS/qRCwBteKb47jBGDh2.wbl04Sa" string(60) "$2y$10$bq3F5iS8TgJbBpS54b3hjuH9YW1w.CBnmKveyBQY6jYXHaZzUD9gO"
Output for 7.0.6
string(60) "$2y$10$A9PHxwPcBQf.Vj6ypRSioudCoi2FAPazZJ5if.mRqu7t.FsTCAxwu" string(60) "$2y$10$Vq2wbB.tKf9awJUSiMdPCujPJnQtg2Jq3HE61Tj3kyUXKn2MX0Cnm" string(60) "$2y$10$h.1mYSo13WTya8DB.6AUue3bHtP9sccPH7O6H7CqetpUZMa7WN8sO"
Output for 7.0.5
string(60) "$2y$10$Q4l5kHq6GSlaUpQMiEgNz.X3dqk7g8Th/h./tWdyBjW3Z6iLeLjOa" string(60) "$2y$10$hb5mW3/NErp7inyIQbojHe9e6bqGU5p399AtoitzAMBURo5X4JetO" string(60) "$2y$10$4bN0R99pu8FS4o2X3i0KleuzlWy8862m0iRUbwhT4KwDdKYPJOewe"
Output for 7.0.4
string(60) "$2y$10$0LMVI4R6eC5G2ej0ljwAnuW1xwH3TMOk5X/fJ05Ns/1e5n9MlHDhu" string(60) "$2y$10$h7qwdIT6N.qIGHxwj77bm.MiF6gNFCf1B7ddeckTKGP/y63Ti.Qp2" string(60) "$2y$10$38Jxg8oYa1TPR0aArsdL9OaQV9HdP021WG5orPacroXqx3tKX6xdy"
Output for 7.0.3
string(60) "$2y$10$iFszDb7bIU/HZ7Di3dbA7.KzMvef/baiDVCAFFf.UAyUqyJB0UkAu" string(60) "$2y$10$5aZL0d5C9gwJx01aBLFJsu9uqaiY1/AORoKGIlQ2eZD8wtxc3elVS" string(60) "$2y$10$C6T4.1M6RRsSIAlrVnkUueKHUX741kP8YrzzN2D89aJnrKf1UH4L6"
Output for 7.0.2
string(60) "$2y$10$utCOQD6L4Pg4dnoBiVkAzObdquJyWjV/Dj9a8EB28.bSPEg12.zhq" string(60) "$2y$10$pxjqWc3Up3xuPdc5s/BR4.LBz1coIbQVLY9EqLJb4vO1CcYIrpcaK" string(60) "$2y$10$zt3GrWZXcBFo/ZDxYsdQrOd6L6HPLGmYKS4O7AhBPYITo9uVAFw/O"
Output for 7.0.1
string(60) "$2y$10$46DBjmpRjp2U8rEQdob6B.DdTTdIX7YGD8UthC4rslolqKNuFUaiK" string(60) "$2y$10$1YS760q.tProR9UVOZyx9.2Pg4xR5EcsMwsdvs2zKvP9sdwGgkUVu" string(60) "$2y$10$m.xFJ6IpRAlqK5kmEJzBR.e3JS0vEJwOjJcdprjRP1P1mue3l4hgO"
Output for 7.0.0
string(60) "$2y$10$jk0KOZbPjwLehoK2o0t9ze.8s0KDloeYbgqjKuo68wi2aVHv.7rHe" string(60) "$2y$10$ZOAExuINvmdEXWDF8G1yyur0rBVqtdV3xOx8nw1qvZGnriel2./vG" string(60) "$2y$10$g8z9nSA0abnkzU3d.MJcOu8akrpBQ8XarO8uPsDy4dNsrfhhCUJh."
Output for 5.6.28
string(60) "$2y$10$s8y9yi5/ALSbl1p1PiF6D.DLrLwJrp6f16MXxDHDkg3yV6Wiy.pZe" string(60) "$2y$10$nceK0Fg1ux/MM5Ad7PTzA.vK8H76B9CyIRWOkaqcQZF9hJekw9Doq" string(60) "$2y$10$Ca2gaOcFK65AeojLCXCjeuoWCk6C52KuqwbuYqIDtpzMyUu3f5GwS"
Output for 5.6.21
string(60) "$2y$10$AeMmdt.bkkCOfKoqb6GI8.SwMxBCI8CYclF7xBEEYy.swR12.UkVi" string(60) "$2y$10$ZAqvJyzBcKjiqimqxwuCIuz7GDu9fiNs7LT27Ldchzd2jdMA64zfG" string(60) "$2y$10$zYFFNXrljvxC0Rk.NA4cm.YsbDnqj5YuuTGfvDu3JekIs5vZpDM7m"
Output for 5.6.20
string(60) "$2y$10$lwdhJ9KDvHR25A3E8SclcOj41PuwcL9NWXoCYmz0lPZbJBhtOQUUi" string(60) "$2y$10$OvZIUibJa0MUanbGnt0mU.BcFu79SaFKr1HfUsJJssqVt15g7Y0gK" string(60) "$2y$10$2hqOsMFrEM6LrGSErpzZK.ziuSIHn/8Gp1tEXaTd6ASyOg2M1i/Gy"
Output for 5.6.19
string(60) "$2y$10$pHHfOdupMdU5ZCQjKBNAnO0vCvbm6qTiRV1mLPjZXj5j/C9yTQJJG" string(60) "$2y$10$Fe2f4dEbgS3T37rx48P6F.tUnbaZQtTWoYtSOlpbFzocLOacwDldW" string(60) "$2y$10$Y1Q8VlnTzYO2sZU4QIXcYuE10Xz5wwk4zPWPn6s3viXhJZ/43OvHC"
Output for 5.6.18
string(60) "$2y$10$Ik4iFyvHgkmjdBGxmvPZ6eJUJoAy21Sv0iDrBIbRefLlA86ut9FWy" string(60) "$2y$10$TFjqTxLLYG71H3peOUhA7.MRQB7I6Ib8fP2kDPSfgJfaK17yQQ4We" string(60) "$2y$10$TxLlIA3j4moNoqBXoHTCJ.I0R86SCDw.zvvCz71ELFdBijpHpke8q"
Output for 5.6.17
string(60) "$2y$10$B7Dg5F6ZWb5kefp3A9SiSORLg1TKLyfI/bfgwWUU4L3j1F/QaxAYe" string(60) "$2y$10$ZU09y/.VU3m7cipgk2/WQetSh9.FZqLFLjL4NE9ZCj9aLHT/xJl76" string(60) "$2y$10$nzlaPmVnMtF0akpTFvSGm.7PAzDh2gZRZwCRRML1N4ZeGPfNijiL6"
Output for 5.6.16
string(60) "$2y$10$8Csl23f7lwV9sQvJjCdBTu4YLmv.PR82UL/o9DtzQ1Du3.ODj7hr." string(60) "$2y$10$OpeXpzw6HeffZTY/BWkv7uGCoOlZNtUP.UVMKbSCp8/5kyW/ZSaDW" string(60) "$2y$10$ioN3AG8VC32GwbNI37RqsOos.fqGcUyf7pOm6dJw2pOnstYFnBu.W"
Output for 5.6.15
string(60) "$2y$10$H5KPAU.BXP/bZnsk44MlNe9vmvHixJxtWCem3Tft1R6aU0f3YyPFS" string(60) "$2y$10$nT/kmgc4qOWGk2PDKaUVleOA9W7FiJ5a13NpSL1g545lgYDtgVgWG" string(60) "$2y$10$9vsD/Av0wbAmgiycqzOwSeTAm61AmCAsCUzaNmzjyAcBwMtI9sQ9O"
Output for 5.6.14
string(60) "$2y$10$yMwIyzARggiH60DHMBd4Uub/8eFzVKOvBYD7odHENT/0guQyYfuCS" string(60) "$2y$10$HJ/cklPIACU1IURcp/u6HeHL.ntmR1jeMlfswC6nqt6GMI07UgHMm" string(60) "$2y$10$mrDD1dIR.Mp1ZOPYw7BV9u0ejEJzCTZ3OLVgFfeaHcqHYqyRmlVUu"
Output for 5.6.13
string(60) "$2y$10$.naWE08psLpRkBARqza0HO/OAgLjJyRSD1zYl9HxKYzSx1NYL2JKu" string(60) "$2y$10$N.pn6w.eNVT4rlSsTllBGOVccHJtVvPJnkX61N/NmfjnEdFs/mk8." string(60) "$2y$10$2TpLfVuWoljk18eu0TOLl.yDKuQUDLJnoc.B9e4zscmrESv5nfW2O"
Output for 5.6.12
string(60) "$2y$10$DWqa4Vxv9vk33VcfpcbbyeLhB3o8Ih7x.O1/k7nOzXZi43CM8L6Ja" string(60) "$2y$10$pjkLofcURymNeRm3UsKEWuKTcZkxF8xGSMY06Ho1OOWu6BscAvwQy" string(60) "$2y$10$0w7rcF2UePXTIT3mT01ZwevubG5HhIZef0.GdLeWEuqL1UqZ39DK."
Output for 5.6.11
string(60) "$2y$10$mutv8jERViIBokmpmSYAD.QqP/d6oCRBjve2M0yelr6D6v3H7SGxK" string(60) "$2y$10$JTK8jUG33cymL7Y6kqbBjeojWRelXNFsUjzfm.K5Wqt0S7wH/XJhO" string(60) "$2y$10$8d7SE95h./XI09PIac/3Fe1tACCepBipFtBrF8ABCnbzRf/N5FyfO"
Output for 5.6.10
string(60) "$2y$10$6JRGNlTclRWazj9/FYMmR.oVRDgvbOs1z39GlUlszjxns1LaWD8y." string(60) "$2y$10$cMXGa0DwRr9/cc1F8wElLu.R.ZsNhv/qYHjecInvrRDEmkvPxL/Em" string(60) "$2y$10$2i4xd6AuIf/a55h2yjAcQuiSUXWvtE9wgojGF.lVvn5D7nybt3VNW"
Output for 5.6.9
string(60) "$2y$10$8VquZ6J89cIQt20z2/WFOeQtxPylFe8c.oDakVHMB6R4l3emBv/Se" string(60) "$2y$10$VixYVFVl.WO06WKEUfBrKObr99Z0FE4EPCXlntyL9oaS7TbJsM6aG" string(60) "$2y$10$sSsZmTrrhJUPsNedHnjidesgnJchLhgZgfa7RR3o/7wP2ghtGPaCi"
Output for 5.6.8
string(60) "$2y$10$0S.6KQb2bOMPhG.CHlz.7./hStP4Gu6heuP/OP.jxbign.Phqz1aW" string(60) "$2y$10$UBcF96dr7rQcpzJ.m0k/YOmS4tJVt7Tah./S0j77rjxxSXE9w4R.6" string(60) "$2y$10$r0UwDxMH97uEDHePxlIu/OUQVSsrfUAyhXd8Ln2ex.XOVnwh2D37u"
Output for 5.5.35
string(60) "$2y$10$oQWjM263ZUXGGo3p/Ewk7enW64ffaz6UI/KZxJARgx4TUu1Ena3IG" string(60) "$2y$10$7PKC7ROzCkUVCvtc42fq4ucAfCBEGptOK6ks2OGMwvArMbbLlJTwW" string(60) "$2y$10$181YLA04NCrmsxCWdHSsKO0Mk4fIEgODnUTRZXK/ewySPl2.G69sa"
Output for 5.5.34
string(60) "$2y$10$091ada2tyU7R/RxZhdU0.Ok1LizO.bjaK/J0qsjK5AFHaMX3A/IR2" string(60) "$2y$10$mSw5wTCIJ5bF8cCZ0cYNsuXR3dGS6CLCl5idSnO2BLvogWWOhP8cq" string(60) "$2y$10$uwSoBcyK6A0pXyD6nuVO8eAS6pfMmgpNG0Tc/9jtT7Xf86g.L6xxy"
Output for 5.5.33
string(60) "$2y$10$w3RyERXoPPNbCd6MUz1NvumuZwwim/FWEARvemUE2NpnSTIIV3VCq" string(60) "$2y$10$0TrN2Set0biMppOaVq6DzuOaNg8yj4TvhagHrYhtaBz6PAFNs0Tia" string(60) "$2y$10$uMPZL1RnMSViDnAxjvKV0epLxEtPQxbIU2lnt7jSGkOiWZtd0na9i"
Output for 5.5.32
string(60) "$2y$10$DzUm3W71hSachQXZhTwHsu7tW6X3TbeWDKz0f4JPdZBI4.wEFojfe" string(60) "$2y$10$vCdSicc8UO465i29VS1sLehJBpFokjqHXbrotaym6ArnZ7hdJ22lu" string(60) "$2y$10$cllRoTCNr184ql8X.CxdHO/XNpCyBdcBTiUU4LuBR/ZgF4C3nTxhy"
Output for 5.5.31
string(60) "$2y$10$x26Fn0vcX2glWShpAIdFYuxBnWPVC9hojkArGWNYatXfwWzlHT3SK" string(60) "$2y$10$PHBoiXXncYbLqiHBn2lWROdwqWHTTXke63Fd9yVLy/UxA6Y7ZYsRC" string(60) "$2y$10$WVZpF5N7epnODmyfpS6/WOwe3Rr31O2BKbwiR7GVouZXCfT9/4Gcq"
Output for 5.5.30
string(60) "$2y$10$Br/iXYuU4V62sXfIq.fFN.DVmluZxz6Gwb5CZNWfpnNWayGFRs8wy" string(60) "$2y$10$0N/02VEDt5aCJwOY.IoU2eEiOxP7vpOc.5JZqV0vTwUW/tmn/3cqq" string(60) "$2y$10$LgdD0E/1Dixoz9LE08tUVe.akgY0uCsd2SvlQ1AEuMV5qLKWIz9jm"
Output for 5.5.29
string(60) "$2y$10$AlKtp/oyQqZ1gBBUL/OdHu0xBv8Fu8hM/JaqiyE/cy3FDTLHC5/ji" string(60) "$2y$10$/qSdFsl.cAd1e6IQY4Up9uHmmVZ12ix1DzyA/Hj8ZA3KN1L94JTre" string(60) "$2y$10$9cv.jEV6Ia2WGYx6lpCBtuhKyFbKFmntjdG86GLr3OAUxVKEYbXsK"
Output for 5.5.28
string(60) "$2y$10$vaVjWQyz.Gicrgnx4dTCvuRvH.DLpqmMhBcC9eYq4plOAHMpOPfMS" string(60) "$2y$10$tYM1MAzlcwUTokEYSqhCXuUvJ9JPsLCfgi2Jfvyf1uY0XPiZnjMfK" string(60) "$2y$10$fIvHuRQUvkFYz9k5NJGkR.nPimWA3F8kF7em/4J3eJlsg5nbmMNTq"
Output for 5.5.27
string(60) "$2y$10$w7hiCd0NNJoRxUhGCWsLHeAXcvT0dp.N00aYb24/eC2x0WH5AL87." string(60) "$2y$10$hzmzerUExwcoX6DaAR1wCudCyE4vbG.iXsMpXGmgD11f8FhkPG5Qy" string(60) "$2y$10$0RrTEjsFawR37oyAqUn/VOH3Ld0JxzL6WMkXTq2IaqzXJ4Zvsoxpe"
Output for 5.5.26
string(60) "$2y$10$PkKg3.7az6Xez35QO33IXORda4gNarhGAR.XWYAkdyRL4Ps/8nGxi" string(60) "$2y$10$ll2sYDOVeY1/Gvf92yfVY.9Oux6BeD06z9lnzaAczr0gVgk8XnNlq" string(60) "$2y$10$c2a6dBlcfie8cBlvdPtj9uPFx2EhR1U4Cr25JmvkVjl9ZOQCNAZ6."
Output for 5.5.25
string(60) "$2y$10$wqPQvyk/fgta/Rcc64vLn.St1/TM1vsfFSo/gJSo7HS2QcDgJgpAa" string(60) "$2y$10$TQgN2yQtIJO.LTus6kXC9eeMkIOfKeMjtyedFnASKoCq13GZvhdIG" string(60) "$2y$10$CRZ.vlJf7ZSepRyfG/X6heF2T/kn6nstjqjjAEqEnwzAqd8ikvqbu"
Output for 5.5.24
string(60) "$2y$10$/uzgn7wrxid6xvp82g/w8e6kdINKB.v8k8E8kh1qxNYNSTiwwFho2" string(60) "$2y$10$0ooiH8UcnHEJzV55DDMGhuimegzaiUSUFSO3NbTgLx18WO3zFqQyC" string(60) "$2y$10$.mI33AywuC8fmsE111/UDurr.x9TJhP0gdYvgbigdjFz2KY1Ut8Re"
Output for 5.3.20 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/5DJDT on line 5
Process exited with code 255.