3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(password_hash('v#Pr0tect10n!', PASSWORD_DEFAULT, ['cost' => 14]));
Output for 7.2.0
string(60) "$2y$14$jVzNXUdaC1/qgfHRlpieIu.QZ/Hv0TE1C0MujlMBVpnohOXFxLwLO"
Output for 7.1.10
string(60) "$2y$14$K0krPZhuZhPA5QCwt5470.73avHgPmT.IulWzdfsVUiqb4oRxdkiK"
Output for 7.1.7
string(60) "$2y$14$8AZNOBIpbSVzh0W/OoZWXuTAqqAYABzhLwTemEUH28dU49ZaRlL5O"
Output for 7.1.6
string(60) "$2y$14$b9toSo4zp.BDQl8iWJvQ2.lkjIlTNRh5Ze/NET8J5qX.8BmCJiOjC"
Output for 7.1.5
string(60) "$2y$14$U/DPCvWX4XQN1YqdPtM9reK175Uzpn9GhzKfcg8V5Abiw8a7Fz91i"
Output for 7.1.0
string(60) "$2y$14$Vw4IgXsyyMkqt.Vek3eIHOmNv83wWIJUQuDcAqjdia7PZL57jv1XS"
Output for 7.0.20
string(60) "$2y$14$7BWNb7M.ZTTxCeoW5VrH6.ueDr3qgrUkdZXzpoxU4mL.Kc2X59S.y"
Output for 7.0.6
string(60) "$2y$14$9LjY88Vac/h7P.KGKfPyV.sG6O/Vj6wdcbHF1A0EP8oyKQT7Ee9Y6"
Output for 7.0.5
string(60) "$2y$14$Fe.p8UOEkSGTC5XWwXBlrOmr/Z5C3CBPuPb2jCrTOPTlHt3QTZqha"
Output for 7.0.4
string(60) "$2y$14$lp0T5dcczKFr1jxiE8r6P.hUNI2pW.ClFpJIIMGLJKFD6FRyCjskq"
Output for 7.0.3
string(60) "$2y$14$Usj5qd6ilKJvdI/itU7q/OhUStpBbtbZ65PINorfDBveoLImX6LKi"
Output for 7.0.2
string(60) "$2y$14$bHanFLgE4sJQV9Jhackcg.DpSV8bgljltH0lYypiy9bRTVauFCg5C"
Output for 7.0.1
string(60) "$2y$14$n8/dhiRSedmYjhrpEmotHOqfEbW/Y2f2VlsySSMnoeE/J/w0kiopi"
Output for 7.0.0
string(60) "$2y$14$JkdEpww5kQOW6a3Aj3pzWOF9zTVAKR57EsSDWG7onFGafe2yBpBhG"
Output for 5.6.28
string(60) "$2y$14$xZBIDCeR5tQRkhTugJrTv.U1muMD8.AjIXEHxO8mXr1Cye8dmpQ3S"
Output for 5.6.21
string(60) "$2y$14$pbG.lAuN854klDOGxBBodOkjz6QoKS3UKfz8xmw/woFBdm3Jr4Gmy"
Output for 5.6.20
string(60) "$2y$14$oeT3KxOLJn8VL.dAXcZ6OuDf651HEz/RKU912fxyjFfzWmOT634xW"
Output for 5.6.19
string(60) "$2y$14$rictmDQhVas2hUTW2UUYOO3youiQDMkFDe9hbYFpaKAcbdFLIMfAS"
Output for 5.6.18
string(60) "$2y$14$clCBU.I5q8HKP14rkfhF4O1oDww4Ucd02d..jYRBz/ppkoHR1RGSK"
Output for 5.6.17
string(60) "$2y$14$N9UQeUHwH.z4pIiqXArT2uDEHeYJYSBZpL13Yw8OrmgQbyGC7uRNC"
Output for 5.6.16
string(60) "$2y$14$5ctJ8PuKwGoaTkShN8PKzO4lu/H.gyPC4G1/3Igdn1w0ClHW/9o/S"
Output for 5.6.15
string(60) "$2y$14$Th8xjtJcSLpfRKeO6jtLfOj9wLbVWn0V5Ze1XiINaI94OUL41VoBS"
Output for 5.6.14
string(60) "$2y$14$1Xv2MywWfPghZ19gPM9PaOkCIJ/Bm2g8LLqGGNUhFFXXlrMjJPbTS"
Output for 5.6.13
string(60) "$2y$14$gJrgaaFQaOxgX5wY1g8jqu4wDn1RCGM31vj/7NkvD3rZSIqjbvfQO"
Output for 5.6.12
string(60) "$2y$14$iPsnwqT.cFIB8PEDKOEVDeEZ0Jm3tG4fTI98HFtMXcidVNSFHj.ay"
Output for 5.6.11
string(60) "$2y$14$LyrNhKZWPRpwYeOD4g.yduRxaafLAM/yEQYBXtLt7n48l9zvEEneO"
Output for 5.6.10
string(60) "$2y$14$E/IShqs0pZ2tJ.yh9rxmCuVNmLeBLMPY73YkwYDUSZQ7IJfowG3BW"
Output for 5.6.9
string(60) "$2y$14$CG2cGg0X2e705.ci/t09x.8/y/oaJ0QTFZv8GQILJtAiZ/4ZugeiG"
Output for 5.6.8
string(60) "$2y$14$bK1pMfFb4M4co3MT9vNNJ.fGQxfnubOTG041J44zBlxwHwng4c/96"
Output for 5.5.35
string(60) "$2y$14$QRMio0W.OAkHEEJOCnofCeAYIxO8KyDckIlh5FSvsdaYXxzRnp172"
Output for 5.5.34
string(60) "$2y$14$mi3BwMypxcL5zfcn2tqmy.W1bPJvzc1/lTNntP/xTcq9D1Xdfg7Ze"
Output for 5.5.33
string(60) "$2y$14$2y9/2SgZejlDLVTs2rc42O1PTG50W.0YF7UKIikjnr9kohoi849/6"
Output for 5.5.32
string(60) "$2y$14$hpx9tIPV4DIy4Hat5YuAv.QKdQh8gG3YiF0Cniortj/YlJgD7NWAy"
Output for 5.5.31
string(60) "$2y$14$vjSAamYCN1AIN6Kq8yRq5uHpgGxKN6f8RjW8ca8V/Dbr.CKa0fB/6"
Output for 5.5.30
string(60) "$2y$14$0TyelPs8/d.dyKLAQevIk.F0ZRtM1E5xgmYobjwPEHTDg9fuAS42K"
Output for 5.5.29
string(60) "$2y$14$MPIcpFR2Tw92OMQcg6/.quvA21nUbsCvjPqzTcRjZJz0YVMEs21su"
Output for 5.5.28
string(60) "$2y$14$PPjg/Ru2RzeKfc8.hIBc5eHCVd8LNUEpRL8RbbRBh3zxCLgajnxSS"
Output for 5.5.27
string(60) "$2y$14$dqDjgrpsS66NJPeWVlMgQu5GwFYT4YZg89f8M0jl1gntFxU4S8wl2"
Output for 5.5.26
string(60) "$2y$14$LIbhrCcGvI0DZ30qhoDuvuHoQL1KQXkSlOfuMVR79.R/xBbse41Pq"
Output for 5.5.25
string(60) "$2y$14$6DcYT3XJdTiAxw6mBtMytuF94NT4bSWQvkzZRb4RXMewrxelbMcmG"
Output for 5.5.24
string(60) "$2y$14$0gk/pewdZO8CWnb8cgbo/uI0DGT/WysiBS70H0wZ5COjyZdo0qcLK"
Output for 5.4.11 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/epZAn on line 3
Process exited with code 255.
Output for 5.3.21 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/epZAn on line 3
Process exited with code 255.