3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $cost = 12; $hash = password_hash('8dac13b00000000', PASSWORD_BCRYPT, array('cost' => $cost)); echo urlencode('71;'.$hash); echo strlen($hash);
based on dMigk
Output for 7.2.0
71%3B%242y%2412%24we.S1yEzJuj4B0hZmNEeFen3a78NFZ2zNSVwLoB3DmRKLsLixTYgO60
Output for 7.1.10
71%3B%242y%2412%24vX6F2qWIyK96Gu1dWTLQVeod1NUOjgknGn.6FGT1391gnT7ZScFiC60
Output for 7.1.7
71%3B%242y%2412%24ZO02a0FFud5ccHZezEX2yubNPI3lyIEcOEjJt1MdOLTL3G7sFisN660
Output for 7.1.6
71%3B%242y%2412%24GErk57dlVOlwjr7FwZ%2Fj8euKcVVqxAIAfMxH7qovWablbMHFP52Z260
Output for 7.1.5
71%3B%242y%2412%24PUXGEPfCbJkHq07ZMOoD3u71Yf4mLdM.Ety2zqgpWg5sC9GSi14wS60
Output for 7.1.0
71%3B%242y%2412%24bOZdwJWLL.dHdmiG5ZLoe.xuax5G0xtUT4LgkLmcAVYZU9yjnxSRG60
Output for 7.0.20
71%3B%242y%2412%24rNs91NpNZhxWq7xA8DMcwO2Svd%2F%2FxwK%2FPCVlfkugXYwinQzHU7hVe60
Output for 7.0.6
71%3B%242y%2412%24X%2FeZNOUdLYVZmcqzhZOELOxex%2FpDhRxkl9Rl4Ofa.qv0Fq5%2FH7C5a60
Output for 7.0.5
71%3B%242y%2412%24%2FUH5rVwEItRAVitCEFjyvuMX18Ferc0EqlhsOxLHCC0L2jtfgxvqC60
Output for 7.0.4
71%3B%242y%2412%24BfPqI8ovjeBG6J%2F%2FCo48.ur4xytQ9qi3pTJsj0YIkxiakgfRgdwR260
Output for 7.0.3
71%3B%242y%2412%24h2pJvGbDqX3wDy9XoQt10.QstrH9fhg5XvuEd2xXl4DrhM%2FCpI51260
Output for 7.0.2
71%3B%242y%2412%24yk3Ve%2FgTnlHpLKjXq03eF.AyssId%2F7jMVyduvg0b4GJySdBEEB6Ge60
Output for 7.0.1
71%3B%242y%2412%24NLbyevFSLgTlCjotleqrseipUIhh6POeyHS.IhA.E501mCiouQHL660
Output for 7.0.0
71%3B%242y%2412%24quSvsL7iEaCxlUcwwojAU.i6PKI%2Fxyir0Vm35zaxYf39P95.ZKZ4260
Output for 5.6.28
71%3B%242y%2412%24SmaGBmCeiW4045M7%2FNV9GOJxxj3UBxa7aUWcv41Dl90SIS%2FNY21Ee60
Output for 5.6.21
71%3B%242y%2412%24zWtK1zR74L.v7vcwMgOf6.fkHb9ObwV.HNVhnJTrKHYu5YGFe5yw.60
Output for 5.6.20
71%3B%242y%2412%245OKQNdbiwsA6KDS6Mkn4Eu1kkodje%2FWdrdfwNLSMwmikfETDYJ7Jq60
Output for 5.6.19
71%3B%242y%2412%24KFJd2JFxSnf%2Fqb.q41UvsOklAFFS50Ss3Bcm3LfSt7QcNXC%2FfsjOG60
Output for 5.6.18
71%3B%242y%2412%24qt8PLkikQOmclMl9Z2ScE.TPiKLbjfYu7G8p2EHLFIvBtQ75wBAdm60
Output for 5.6.17
71%3B%242y%2412%24XHWo0msl1HogBSjUJhXy9.k9iOQo5aVggdUQL4OMjHloPTokds7NG60
Output for 5.6.16
71%3B%242y%2412%24iwcogmPuIE7nN2gcURop0OSgN9AAfnXDF2NOsPbucIblHxQ%2F02AIm60
Output for 5.6.15
71%3B%242y%2412%24WonI.CSfGiUqABXWrrKUBOfAKlslYS7F0CG874QdzUHRKtAiF20Li60
Output for 5.6.14
71%3B%242y%2412%24WLTEf3w6T2U6K91iKY9yqOC7dcVOwzJtNVhoz.35tO20CvEMED%2Fje60
Output for 5.6.13
71%3B%242y%2412%24CgwqsSJciZRTX.OolLl5e.0IxEZiqIfMMjncGrLQ1lYCjosHdbXta60
Output for 5.6.12
71%3B%242y%2412%24QNX2ItCBUD.IjRr%2FB6xnz.%2FdOsYvDLz5K78v.R8lSryMA85mAJQ.q60
Output for 5.6.11
71%3B%242y%2412%24rBNSxeGPtpgri7okBAz2Zuwk4CEbAsRUOGafvX.MtDTAoL3%2FV4WRC60
Output for 5.6.10
71%3B%242y%2412%24kH4zn0cuRNxuS.OsryaakupE16pl49J4fjFDEbm0SGVJ8ir9ioVmy60
Output for 5.6.9
71%3B%242y%2412%24jtfQJ2Q5LNE05%2FRV8bK85uc7OZcUAw8GGD1QmrkGDyBhR8eYEvUY.60
Output for 5.6.8
71%3B%242y%2412%24Pricge82n2cqOr7G8FNd7e.p4tgmtJn1AWZYAKG4ThtRVE35CLa3W60
Output for 5.5.35
71%3B%242y%2412%24XsrzGGoqT90KczV%2FCHvNvugp1Uha7FikSgg59EoXrhurd2c6qCmvC60
Output for 5.5.34
71%3B%242y%2412%24QEweQU4VyaylP852t1.ayeE3pFYem7BNlMrNIDrIxwkvIoGKF2RRy60
Output for 5.5.33
71%3B%242y%2412%24yY.ELSw2d30oeecWxsum9.4vUYHgVCkP2sdoyb0Kx%2FFDdfGeVMRpK60
Output for 5.5.32
71%3B%242y%2412%24HMwX75TLfx46RDDcX4SCmuhH50g5%2FmoaZflddeRkcVig5oDZaTBiG60
Output for 5.5.31
71%3B%242y%2412%24UNyT4lHBrV1zDFlIS5CZx.Qed0rnKLoAePCKJyrqPjD3cyaS4ZiPe60
Output for 5.5.30
71%3B%242y%2412%246nqtm7hPa0NGSIHJ28%2Finer7Zo7mCvktrfNZ%2Frs7bkuckmXP8GJni60
Output for 5.5.29
71%3B%242y%2412%246iFhTtAB6NrSHs5HteXm7ORk%2F0gJ8lfeymKdZNYKPtZ86bjXtxuq260
Output for 5.5.28
71%3B%242y%2412%24jFotGBJR3.QZ5PGrQB7fzuK4lNfJikTKQK4lILIY5jewNF7FEoqmS60
Output for 5.5.27
71%3B%242y%2412%24.tmQmC9cmDJokAXWMEhVOurC5M5Kydvl3HCLqfPAVGd%2FutVyTVYde60
Output for 5.5.26
71%3B%242y%2412%24DE4%2FJQD16XVb8bdmz6h5BOSzXnQ4x5xcOoIcvGvCG550H3Wg16U2S60
Output for 5.5.25
71%3B%242y%2412%24IKKEKHAQQ1pnuW1P9GrzUeP1zkiwH4uqklCNmKutV0MAQWJys62AG60
Output for 5.5.24
71%3B%242y%2412%24S.H5PbZvccTUZdyYsQK6c.HTctqd0%2FBL4%2F8vdb7LsKoUZ8Zoj5arq60
Output for 5.3.19 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/9WWbs on line 5
Process exited with code 255.