3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $y=0123456789; $opciones = [ 'cost' => 12, ]; $y=password_hash($y, PASSWORD_DEFAULT, $opciones); if(password_verify(0123456789,$y)){ echo 'si'; } echo $y;
based on OqeCp
Output for 5.6.28
si$2y$12$Ilcq0BpGOFTs.tKHuUsve.Ay2.L/FzOZm/lMC66KGQJsMf.Pr2Cey
Output for 5.6.21
si$2y$12$NDDqptmQKH2PhTzFzoCAOOTr0w1txglQJLElW.qz0LfLG/XuxvQEO
Output for 5.6.20
si$2y$12$u.2HLuj4t2ygep5syw4j..rE6SogjcShzFrrjW5gI2VbkpIa/T08q
Output for 5.6.19
si$2y$12$UV3aOrGYnL2wppDtepeGP.J1RfLMwe571PN2zbOXUhY7kFNXbq5Rm
Output for 5.6.18
si$2y$12$LFyJoS0VzItN5s8E51bCrOWNDXIdti8AQl4F7c1TrcaDxw3Xe1iFS
Output for 5.6.17
si$2y$12$PnVfm8JUoHoK1rbBspgZt.rNv1PasQn7GZbAYQf8M.JRVJw29XcO.
Output for 5.6.16
si$2y$12$Tk.rWIjBIF5onnOzMTSzYu1czKaykfhPrA8Dc2pkWh/aLDjsyBbh6
Output for 5.6.15
si$2y$12$tZZnn5mQEkdqjJX/PGlB5OvpmwdZP3cMzQ7S38LyTPy43coYtIVLO
Output for 5.6.14
si$2y$12$djFE8.A/h17zwPNd97sTf.naYY7QJbQBmUmmZtDTcUbBiAQYSHB.a
Output for 5.6.13
si$2y$12$jApd.hSHZQAn5DaxwPOHTulvCTvJBo545dYsFKTemgDz5.i1Rr0dm
Output for 5.6.12
si$2y$12$S0cBb1RZUD44CqPsAXTAaeQ4QJ6P0AVRGTbmp5GJzxZ0jfEMqieBe
Output for 5.6.11
si$2y$12$KhtzTAPpu8UM.cSCk4OVhOqs/cqSHxcZfR2HGtCSpRVJjeVGSZn0e
Output for 5.6.10
si$2y$12$l7w75lCn.03SxpDhLWithu2gBIMePcZFml9/srLrUUbvHwZPtdFBi
Output for 5.6.9
si$2y$12$DaT//39LF1Jw6/VJvB.iQ.mYLwFGFm0Z1cRa1tKhWVn5vA3YIZysu
Output for 5.6.8
si$2y$12$kfIIfXY9roLPOunSM2IfJusDsn9C/q3cqwucP8j2xC7Dxep9PXHfO
Output for 5.5.35
si$2y$12$PY8rOJtrOohucFKFWw4yLepAcECjIjmJB7KJo7xt8J7ajRf69q5kS
Output for 5.5.34
si$2y$12$JbCzU.MHBSIkLn2h063EwO9I6i1C/8JFLcQqZJkp0mVNnSMtKL0Ui
Output for 5.5.33
si$2y$12$oIdLLqdCVdiekryhA70gz.yzJOKFlDGWbwJDeTzdjlm0R5bneznCi
Output for 5.5.32
si$2y$12$/qtzRSc5nM8z8tMG1D8iOuGvz3W9suzfRzfnlCGQcqocMsIzDgH2m
Output for 5.5.31
si$2y$12$LQBBMb41Q3vSHOLPCFsmg.5th2dLyyCP7yFYXqVprJuweceQGmVay
Output for 5.5.30
si$2y$12$pJe9Psl2GvjaGMIn5fWdW.rZ5H2n91cmUrteH1aZxesbCKVB1Tga6
Output for 5.5.29
si$2y$12$D0Z7/UtWqb7XMN/1dWlWUOpPo2XzaVDxqn42HtwuJdED1/cm6FcY.
Output for 5.5.28
si$2y$12$.Fy3QPpkx8GTNT0JDBW4XOZ1JFeCO718G4cB4dZmXwRvGs5xD02X.
Output for 5.5.27
si$2y$12$aPcU6RnaTNKlEyaG1sRc0OEROacbfT5/QF7HOwWXYd6QgJnuox8PC
Output for 5.5.26
si$2y$12$zmF9kCVag6o.RDkRvux9X.uhmYzOySIJEdxS8QyaVCmoz/EXAy7fK
Output for 5.5.25
si$2y$12$5VjlFRJxTyYJPMduELh.DulqtBkKu7Zu7u4hVkAxcPhU/j/ZNqffm
Output for 5.5.24
si$2y$12$reSRU1ZQ1PoGHj.R.Bi6BuVb0aiFfQhe/jUG2PWhNJaExbCZyLBQ6
Output for 5.4.0 - 5.4.32
Fatal error: Call to undefined function password_hash() in /in/NUN4J on line 6
Process exited with code 255.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/NUN4J on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected '[' in /in/NUN4J on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/NUN4J on line 3
Process exited with code 255.