3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $hash = password_hash('qwerty',PASSWORD_DEFAULT); echo $hash; echo "\n"; if (password_verify("qwerty", $hash)) { echo "Yes\r\n"; } else { echo "No\r\n"; } ?>
Output for 7.1.0
$2y$10$yJWP.uMlNGcSo/n8iaiTcuJURcuuwoUVyJ1VhVAuqZB/2Nn8vD1NG Yes
Output for 7.0.14
$2y$10$4UCjfiSyJZP7LanIv3xnf.K/B9Ii4JqL402afuq.l.9/3kK7e3fy. Yes
Output for 7.0.10
$2y$10$nfSvm4KIDO8jTO2UdK7h4.ogJW/IF0XFQy0VcsJjtvohjX1tQ.UHq Yes
Output for 7.0.9
$2y$10$2.RvrLSIPSe8GdXGCUg6yu1f6BrmIDAbDeFJUI56bQN5odrlRhZD6 Yes
Output for 7.0.8
$2y$10$8S5ZSH40A2oIduYLDYJaAOszqITSNaRDAHite8z3c9hNGdKWPkXna Yes
Output for 7.0.7
$2y$10$e8dg/mdsMFIAAGQhcMIFge984DneUwWXUKJyHFUhhpdhijujq0M.O Yes
Output for 7.0.6
$2y$10$rh5EsY1bU/RbIRSMRTpuRe2tFjr/LUD4Eb520uHt22oPBmrAmZeAu Yes
Output for 7.0.5
$2y$10$wmXuXn.tCTtGiGRLGXnWJOdM64h1uAMp2d6JSLe/ETZEKHADKHA9m Yes
Output for 7.0.4
$2y$10$0VdZKuIF/l1Sg1w9prGDbuA4NxC8hsWo3Wfraz8xF21Iw8ZIN7QNa Yes
Output for 7.0.3
$2y$10$iVAotxk7tqkebPJpNLRbH.FXnZohT/LvatktO.7Aw7Oz6Cv3UOgx2 Yes
Output for 7.0.2
$2y$10$WiqJAIhbViXff5gbk17jD.CkS8MBv6Cm/VIEO7AkNHsVxmak1Q9nm Yes
Output for 7.0.1
$2y$10$QKflQv.PWB0vS2Y5eYOE5uJHAe45iCD/gHbbCOkXC4ah/PC.Tlz/q Yes
Output for 7.0.0
$2y$10$coVlyE7mGThmkBaiczFw/OGCfKAKh/311CQH9pA5Bk/VPEXoEu.Wm Yes
Output for 5.6.28
$2y$10$pmZWW0KGMCONQPP.CK4KJuU1pX8f7UUJkh2LZL0E3wD0Xfaz7s6kW Yes
Output for 5.6.25
$2y$10$LxJ/ETb9rrhRt1UpHk9cHeqUpSI9OatEYeFGyBF/geZ7daRN3XJn. Yes
Output for 5.6.24
$2y$10$rdO538fWVM0wW1nvDuqpDO1K08wHQwr9wlo.7btrIgVjtBWq.i4zG Yes
Output for 5.6.23
$2y$10$Tw5jC1LmWOYaeY0bffcBrO52EB3lKdSqHRcAe639cvuyhPR4osugq Yes
Output for 5.6.22
$2y$10$A6JwlyrHJDLzzu0vP05eZu/OQ.KUNSks/KnDJPmcBth.q/qnBWPCy Yes
Output for 5.6.21
$2y$10$GE/9TMeN3VCSvJrGLV/f8OAWjsiagfKGWW9dYV8vGXTu.lpsfdQAm Yes
Output for 5.6.20
$2y$10$1xstt9Bwxzp/yAK9MPkieeS01FazIZlGlrVJ7ny8o6fIdAm49nL1i Yes
Output for 5.6.19
$2y$10$DXG63Xs3BGa2ZqP0/2IMlO/we5hgg6E8mffvYwrRlGMe.bYwsL7qm Yes
Output for 5.6.18
$2y$10$wXHt.keV0lcJ406UPLw0uOjPHEjHp0ZgJr3foJpuf9MrRDR3TlBoq Yes
Output for 5.6.17
$2y$10$xaEl4ptvSJZ3ksHjmeW4KuXhpZG3hcia7jcbUQ6cWfLiuGUaIu3Ay Yes
Output for 5.6.16
$2y$10$XPXoY1YMzpdcYavnt8hG6eignu6WwDD12ultfiyrsE71diZz5guF. Yes
Output for 5.6.15
$2y$10$4aQIdfUU/w.IfSjRX0cWt.brg5bVk7UtVX0OIHP9b4jesgNJ07Gz. Yes
Output for 5.6.14
$2y$10$NKD3K29MoST8I3A1oFleSOTd8rYCss/TLA16.9Y6NQIhtBlxn8W/S Yes
Output for 5.6.13
$2y$10$NVmk3NTFmK89aOBNXlezJOsIC8/4aO3AWDcRz6C5LvuL15u8TiARa Yes
Output for 5.6.12
$2y$10$3ogb3hgAoQDmML/hs0Ty.OGSdTUUOOUJHAOF8NC6IXZnbCGC95l9q Yes
Output for 5.6.11
$2y$10$m5ScaR1v8VsJ2wNcUQouB.0IC.nRc7nHE/X7DHbRyNcUgjKoNyOYy Yes
Output for 5.6.10
$2y$10$Rz9XPA9Nxp2cTBoeBhGPO.MJaD/Wc3dNAyu/D/aI3SbaeLymkthX. Yes
Output for 5.6.9
$2y$10$ATtpj9K4EQEP.BNNDTCIjOct3Vyz64OxYZFvz.pvzR3i7T8JEgaJq Yes
Output for 5.6.8
$2y$10$5ZK4JwQVsf2Nacy/Zz6lAOsN.bliLM9b9F1rRZbUIk3eLLWg/miwO Yes
Output for 5.6.7
$2y$10$ms4Z9U40jPUzPnUtNXLXT.13jzB1bA9MgKnx4mJoa78vLBCW1rhqu Yes
Output for 5.6.6
$2y$10$l0w/BsxJKnb9SSFCOrjnhuLOzpAg/fxX4362WDHOfH9bD4p0EvnLe Yes
Output for 5.6.5
$2y$10$h/q56tZGAu9wJOftWvELQuxN6ciQhWMPw7/SZalp7MpLMCKAmxPC. Yes
Output for 5.6.4
$2y$10$5INoytvzdJvtfBL99HPXf.bdY9CUomvnyVIw95iWv15yuKGtb.CBi Yes
Output for 5.6.3
$2y$10$qeeQ7cgAqLLEfUGnwhEKTuW3i7O6Bb6Z6i8C/z0vv6D272w2XgUAS Yes
Output for 5.6.2
$2y$10$tV7EpjB2M4a19kR01yI1B.WVSG6iuRTVX25b7niKYS/L4MCrLncr. Yes
Output for 5.6.1
$2y$10$qEKiieeXA9BOvyqwnAek..vmvbii5lIAggF/p5lQENYK6I5qIrWES Yes
Output for 5.6.0
$2y$10$vxUK9J0EYnQnxMCPQ5K6Z./wBPeOMX/MoVOT1kJafvNwnlUQsxr4S Yes
Output for 5.5.38
$2y$10$QQKC.0.lqWCXjxEOeAiVBO67HJl9pOT98JN/87l3L0q.obvvlp5DK Yes
Output for 5.5.37
$2y$10$ye.7FeJCgZEwL9WTKZyTeOcE2tGjDtio80YwDdGrAKa6M6gt5rboi Yes
Output for 5.5.36
$2y$10$MzWS./cI8hKJs2wLby55S.MoYwdT1qV6sre7NA.u1jxOh/HiEnafu Yes
Output for 5.5.35
$2y$10$ogPp8/2nSBemc0izd2myR.CuRkBY7PaookXE/b2APLULECp7oMGEy Yes
Output for 5.5.34
$2y$10$ya2klubiKpTaKFVJrZgLmewW4JA7ZkbrcBslzTQ0fWJpjLI4.l7rm Yes
Output for 5.5.33
$2y$10$hBJrJdNEaqqtHyrqyZs3XOnGRimgMgHptvM4zCCTz57I00jSQJbu2 Yes
Output for 5.5.32
$2y$10$RO0YEa4FDGxAtHO4DBsZBOBacNiaViolOByroc3Q8A/vOVJpXJOIK Yes
Output for 5.5.31
$2y$10$PVBlIyWZOsozw147/Hs9juhWx1UTh2XH7ca9/p9j8n3uO/ftPMQHi Yes
Output for 5.5.30
$2y$10$KsVYSKXTzamzJXUMAgFLXu.XbHQwWdk0ILPw.FzjJqj26GIj8eAIm Yes
Output for 5.5.29
$2y$10$s5FXIAkaCQ.q4pEXL5aZFOr0iLzoPc/EF8mcF9h9dJJ8GlzmUvmOu Yes
Output for 5.5.28
$2y$10$AhGYRk8ny21W2bKA3I0/euIpgXliS5jdrsLp6.guZnAYoSHO6qmEq Yes
Output for 5.5.27
$2y$10$EIulxxWj64UtJhyYmunrQ.Ufrt4acd1zhvlmcD2pr0GHBa/ln8FuK Yes
Output for 5.5.26
$2y$10$3mJjKbyA8w2h2F.eYTq4Qeq0o4KpeoAkNfsWer9/rgi7xpcyS3HZC Yes
Output for 5.5.25
$2y$10$TtKuMuklEUHjNqNlrPgwaeSpX7tQVJTMobzSGE7fPUfOr9MeoDWGa Yes
Output for 5.5.24
$2y$10$mUSRyViMtI6u5ofu7eF.qeyGejl7U22GY7E2/oYpseWtVX5/5FTp6 Yes
Output for 5.5.23
$2y$10$IOTh3x1AJrETmL.EKobXYeDNxwJxzLY7I3e1iKfZONMyJz4bglGiu Yes
Output for 5.5.22
$2y$10$v4WN8bkWk5HTAg3ShFgUPOu63pRQN031LOSfMPCcvaT83MmvjSWFy Yes
Output for 5.5.21
$2y$10$TYtnWIlqbx0vVeo/yHpzaO6A/aMgUrkmlgq3dwt5JpMxuoA8GRq46 Yes
Output for 5.5.20
$2y$10$Bv23fwtS.xMpyEfAoMiUa.y13wLMy4xKK3DoNGnW.DJPtIAO9s57u Yes
Output for 5.5.19
$2y$10$xLYCmyJoGUZuUUD6ieyZsedfTMLGIJPCDl0I5D21Cj9N3Egv42aqa Yes
Output for 5.5.18
$2y$10$Lh0U/X5pfzNxaCPPYC7yaO8iGM7DJFIo0zdMlnwxdafuzXw1pXGwW Yes
Output for 5.5.16
$2y$10$YZSiHfoJPZimR3D.0UmNa.HwUEIlIWbPxR7quv00qIgyCtlGv2PXm Yes
Output for 5.5.15
$2y$10$i5ROZKgQqpd2MRWcYmhmFuZhXS.0aOVzxLmK/TyEjmJrk5NLnJYCW Yes
Output for 5.5.14
$2y$10$JLjTy3ZzCDCK3DxIWPII7.wQK.pDYPoE0MB7TOlHYITC7lxSX/OUG Yes
Output for 5.5.13
$2y$10$AE8bj.XPoy1zrM/MSgu79eqPfYXfzaPnwE5t.4slEYDZfnyVWp326 Yes
Output for 5.5.12
$2y$10$XhpAyTlCZbGb/qTWh6s2IuBof/ZU5L8xKna3SD4iY/26X0FfacsT6 Yes
Output for 5.5.11
$2y$10$ZS9HIWni2ygop0.zVRo6/ufLr3jm0qCqD3BgHomgTmHkO5IDvNcVO Yes
Output for 5.5.10
$2y$10$SJxyHjNs.WpnhSAyCB7H5Owdzm644T8HETNuFWbEKFz6U5Zfljscm Yes
Output for 5.5.9
$2y$10$T.ZMZhW8rTzwkuElgr5sEefaEe4RT7lB2xRQtZxuOxnWoaAO4jTWO Yes
Output for 5.5.8
$2y$10$D1YqkVA2rt/hjTKlFer7luiIxMAZrn13YcHz3vUQwGYWZ5p4hq84. Yes
Output for 5.5.7
$2y$10$BNF8TOeODsFioQYxxgzmTOS.0iLyFxkOR0bWtPXXuO3xqxOJlklf. Yes
Output for 5.5.6
$2y$10$XVC1cSoNIzUD8XGrhtEEUOxnoAGuSgyxrA0ZELM4iGRl0iWKNJpv6 Yes
Output for 5.5.5
$2y$10$GgTsANylH50t9eH6pWA5Au.Ib3lHV34SFVqfZHfRaBI0KLu6hFJve Yes
Output for 5.5.4
$2y$10$cwall/6DfcmGz4S2eWac7OG./xk.0qQhY5Sd6mEOPvgKEFIIWrGCm Yes
Output for 5.5.3
$2y$10$gFKX1PxpniNpwynbkXLpzOuXwFAmsAMpGHDDlc3SujrK0h7YB6n9q Yes
Output for 5.5.2
$2y$10$Xetrdu4XlSIJal9gVCCQPuKPAsAerZso/PyoTuW8/j.gvv6kRRBy. Yes
Output for 5.5.1
$2y$10$Nu6Q72H2B/TPteFuDdStPeAnUDRVoUUCgpAMpy0W7a8lnCLFwH2iO Yes
Output for 5.5.0
$2y$10$v9dLUGOq.Qi9NBlnKN11WuH61WH0zGAy0foetohd5wMy18.pKhoQm Yes
Output for 5.0.0 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/NuGa2 on line 3
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: password_hash() in /in/NuGa2 on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: password_hash() in /in/NuGa2 on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: password_hash() in /in/NuGa2 on line 3