3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $hashed =password_hash('mypass', PASSWORD_BCRYPT); echo $hashed ; $hash575 = '$2y$10$z6KypvZOpkWeGx3s1NUJtOUvlByNgwGUpUXbV06kwcI7cuG70JmKK'; $verified575 = password_verify('mypass', $hash575); var_dump($verified575);
based on tV2Ng
Output for 7.2.0
$2y$10$zZUkTHwcgt8X/SUOsNwIN.RPZzOEQbsN4CGcLLr7kA46d5Lvtoowybool(true)
Output for 7.1.10
$2y$10$oBSy88uDUEBl2Xr.qwGwcO3nMECg5Hqcd.dOnxPQxBMD9jqH2qXvWbool(true)
Output for 7.1.7
$2y$10$C3egq6u/NDuL/.zgTEjIkuxDlsuXWMBFlP3pFuNqY.jGpSoOkNODabool(true)
Output for 7.1.6
$2y$10$WBjWM9xhEhSz1W8Y1VjDre8ahfPTW/z28QWGYWEIUiKJeuDaYuCfqbool(true)
Output for 7.1.5
$2y$10$RhK4qbzvR7Z8puj3xZBBAe66l2DWK.ObBkr7TTXKNugT1OGjU5VLubool(true)
Output for 7.1.0
$2y$10$RbfoA33zHamD/NEiY3gvueLX7e42.HtInxuANX4EGQjyZmZCFzjZ2bool(true)
Output for 7.0.20
$2y$10$W7zVWPELW2LlCcuK0NNp7.EPwsmTDLrdqXkx/XwoE6IyAUm0AFt4qbool(true)
Output for 7.0.6
$2y$10$4fJOCSAy4xcmp5rzYK96L.NhqkANdAQ80T9Dwgcv8GmGpWbu3fZCCbool(true)
Output for 7.0.5
$2y$10$/kp/A2fJQhOE9KOMkyDIJOcuKlyqyX/2jFyqQ1WPJrHV6jBriPQlObool(true)
Output for 7.0.4
$2y$10$XqLxuZiSLdhcEdke1QzfBOTa2hbskzDlU1vmwmiiY.AcJpQctyL26bool(true)
Output for 7.0.3
$2y$10$WcZaHZniXrSF9w4U0qCH4usIGp.gVjNlINOvsHL45X.z2Bu6PAynabool(true)
Output for 7.0.2
$2y$10$hkCauT8xVkFP1g4p4LyJa.rHxkjXcKWPOjiVv1fULFn5LDAXrp/Mibool(true)
Output for 7.0.1
$2y$10$/bupkXj/HVPfV5g47MkoXegBhBqby0dHPhZRR30j30yvPejwmB.MWbool(true)
Output for 7.0.0
$2y$10$hEtuxyoT.gxws37snOXJ4uf51VnvIxnZVkDBFSL5UPciHq.WojUNKbool(true)
Output for 5.6.28
$2y$10$dFkx.9DGBbMZ4NubLT7Il.dlJ89zn5GmaV/RwqG386Zp/amANdLJGbool(true)
Output for 5.6.21
$2y$10$hSRB65ukZi7rCqC8W6lTLeVOjQf5MzZd9.dHHt0UHUutOksrGNHeibool(true)
Output for 5.6.20
$2y$10$fg44DBubQPCRAtB/lCZ6VecXXmw3g5hl5zGJmGlHS8xl.63di8wR.bool(true)
Output for 5.6.19
$2y$10$6gqucSEM7V1zQ4YNz9zpEe7puVKNhTuG60mEbq3ev9YHUFQXFd4x.bool(true)
Output for 5.6.18
$2y$10$mCepyX6aILWaZX914Wxt0.8dzszhFgRSJ9LAODYhD2VF6hv3nRyK.bool(true)
Output for 5.6.17
$2y$10$mDSWvnQt4qlpYrfoFBQ51.bt9bW.uSK/sY67pBERax0cfoUFcOfkSbool(true)
Output for 5.6.16
$2y$10$9m031rmZ9yw3Ise5IgBL4O6p5TZAPM1L0lKSrdLe5eOfQBsyY5n5ubool(true)
Output for 5.6.15
$2y$10$VaGAqZKGSqG/6e3QQ2.B9ut/wQpcjNHBNJk06T/Yis/UDir1HV7.Kbool(true)
Output for 5.6.14
$2y$10$ITGV6wlgk0TPxX6SVe1/yOxtzYTua2iHQkT94K7Gh4RM7Uny7azuSbool(true)
Output for 5.6.13
$2y$10$zOI8/oJxIoskv0KdN4HtuuIxXbgk3Ly3qTPqCy6cO97b/PGo8LcUabool(true)
Output for 5.6.12
$2y$10$eoauGMWaPcdp8T15V8nlI.oQrJBq2G4sb3ueOoYY81o8Wg6S.GIfubool(true)
Output for 5.6.11
$2y$10$75a9rmhlWd4jyIfVGi6Dy..UdJozjRCmwUELfimyfB4NwfPCg/OYybool(true)
Output for 5.6.10
$2y$10$saE9bu58HmcztC2g7WgcT.aMnk3iCSGy8mjP45CbzfpYqjDhNpus.bool(true)
Output for 5.6.9
$2y$10$w0veO3gfr2I8Hyd4vArVH.VyBBmIL364T29a1/ut/YmUYvfIHeXxCbool(true)
Output for 5.6.8
$2y$10$lRmwPlnc4onKFSXpFsw4leMEJQ5wbL/1ACr.aYjEQ4STwBYdikiwubool(true)
Output for 5.6.7
$2y$10$nv6lzwCIQS7A9w6O1EdgpeYaMGqp1PV79BACULdhMNteEQkZTIe0abool(true)
Output for 5.5.35
$2y$10$hfKKORSFeF3euGEPtBHl1u6ubj8mfLUCyPjj5E95iHuiN8pDdODdybool(true)
Output for 5.5.34
$2y$10$7PHrOf4wzxGADYosOMp.v.Ux5Q4gXldt6VmfoDLOUOB5rRBLNFjrabool(true)
Output for 5.5.33
$2y$10$QBJAuFLrCRzmDTlL6y9utOtSpdHn/LqjhQlSaro/2pADnuQ3ybKaObool(true)
Output for 5.5.32
$2y$10$QLAxTJjGnnTFAjIYunMBhuXzOXt/vy9gZ9USK6jUAg6y0IiBKinFGbool(true)
Output for 5.5.31
$2y$10$JDKj6t6hFiBgYqGVLba6r.WH.OzytovPZsDs4MSpaFXS8toMWzu9mbool(true)
Output for 5.5.30
$2y$10$VKy3hLXtciqm0zfTe1elJOhmW9uGetd44.xFcLAjhtP4hbgyuyHY.bool(true)
Output for 5.5.29
$2y$10$lLYtFA3zjvCQXqqXvsX2CuSCPAfqKFpNBRFRtld1SGYj2Lfv9SjRObool(true)
Output for 5.5.28
$2y$10$fxHqc.sInWBIM66Kwaoud.F.eDyqTzuqfIWd0CZ/mPttb/D80CPNObool(true)
Output for 5.5.27
$2y$10$P/jfW5gGY2iIkgrwoTdV2./iaZml2np3oVFunbShHmCZ6ReOT1VNebool(true)
Output for 5.5.26
$2y$10$BW/l3uSJrn5YVejlzO3MTeo6dSGWo5m/5UKNINXjv2UBrbVdTT8Lubool(true)
Output for 5.5.25
$2y$10$CVCPOefDyaxULutmF5sUlOHip.tsEn4jmFILyvglFfHbfbnlNRbumbool(true)
Output for 5.5.24
$2y$10$pAsCVz5tFXkW/VdFQz2V4O8H65qNmK1qwJM.BawVWjoXdldJC9iXibool(true)
Output for 5.3.19 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/amOc6 on line 3
Process exited with code 255.