3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $password = "hi"; $salt = "email@email.de"; echo password_hash(base64_encode(hash_hmac("sha512", $password, $salt, true)), PASSWORD_BCRYPT);
based on 1Fv68
Output for 7.2.0
$2y$10$3hvOsfWLgyv1sU3pYPpd1uPjlWtAR/wNf0s8NtITbjSCHjdJv77R.
Output for 7.1.10
$2y$10$ZSswWK3k9B9WjBtiS2dX3ujLXBz1ZNAj1J6rBu7fC1rpYRYfvKMSe
Output for 7.1.7
$2y$10$zucmGcf62Zkq4mxn8c83u.SwNOCwepGYyYLD9iJyMLUX9wZPKUlga
Output for 7.1.6
$2y$10$KGBWfLwu8pMLJWgnf51p0e85dL8GDYi1mRdJ7Imp2InYWyTspynwW
Output for 7.1.5
$2y$10$xuGjWZmudJsF.lnnNRJMF.xlwSCu/isriMLSUos3shFsndd6SdFey
Output for 7.1.0
$2y$10$MOF3Ajhnd6xJ9d0p6EqMH.XUdmEfR24./SmTfNSH931Vtcydz4WKK
Output for 7.0.20
$2y$10$ichkgXj7bJb2JA3QO2I4keBRo1wyuheLtaHEJiBEa.F2m3HpDQGEG
Output for 7.0.6
$2y$10$Xxzhlp7WEbNS2FSkmMDgoeQXMiNfML80itlSoUs0fJ.hv3m1/gr4y
Output for 7.0.5
$2y$10$ANGYz2jW7PMOKWC1IA0xkeDg6sEOYBEOk36RHYGLgRBqU09m1txyu
Output for 7.0.4
$2y$10$98LfnGWl1Smr9PtMCv.6m.D3Sv3f8GgN2AEu297cy9KqCloaXoLZe
Output for 7.0.3
$2y$10$4FY5Ai1n2zZ.BmWvYzr96O4EqdRIG8bTC5JAU8oRI7wAz5dw7MzS6
Output for 7.0.2
$2y$10$nwgcLhJ2NuBwCsZyfrmPC.Peg2GgqGs0kymYG8INbzp.ZSm4Gskt.
Output for 7.0.1
$2y$10$sJjnbuKchDV98/aD/77q4uEgRwt8G1suHjcoJDcEb.w5QnM0J/dOa
Output for 7.0.0
$2y$10$k2yY.fWe7PCwBiKgblRwH.4xgXwKLgc9pSkf9JZEg5ziWWxPJU9ki
Output for 5.6.28
$2y$10$USL8xCrvSYbGDJdaPSSMJ.ZtiyCS35Q6Y/Kc57w/1YDwpiiqGprFm
Output for 5.6.21
$2y$10$UImv.z5u6uFiWj2SNuLZCu95qSQQdAROU5CePiVG5nv4v/BTzkfkm
Output for 5.6.20
$2y$10$Q7.wQzKz6L0hGg.KkCe/D.0Uxv8IzgljJuRyyY7LRdHUTCus2moem
Output for 5.6.19
$2y$10$fHdPwpwNBp9ltQ6lwJcdounJjHgOnE61gQXl1qiHHp24ZmJsLr0Ue
Output for 5.6.18
$2y$10$EXBNcNRe/8JhrTZx7SZMSeRKKfGTHLb9H8sNH8AgJEuhID3UH8a.q
Output for 5.6.17
$2y$10$3hNXkAslj7q0fmiZrHadtOZzk5G9rAxYdk0jd9S4TT.I7JfgdS4T6
Output for 5.6.16
$2y$10$K25DH0bfLrhT7hPnA78kBOlJ75uBTOfv7paEPUL0m4ZM2OieKaouW
Output for 5.6.15
$2y$10$aMj4Un9Wt5gJt/h/kgb9tuQivsSkjVkmvoTy9/zCiGiHVumq6dtsW
Output for 5.6.14
$2y$10$vycTy53m26azccnR.nOURemMCuEFJ/QVnKu0kjJeDoWbSxLQKrwIm
Output for 5.6.13
$2y$10$A4Ia.EygkUNks4BaBfuEne.GyQTXgPhyIRYVCRuI7FDJtQB7XN3uS
Output for 5.6.12
$2y$10$iYZvz9WR47S0Zpb9wfQr.u//5kJeUusqHt95rhlQzXq3SDjY0RHDC
Output for 5.6.11
$2y$10$2Ajhdw5XKIndBk73sYwnGOrBxJF4ACICsPNDOh4/DTBR6.8ZIwqpW
Output for 5.6.10
$2y$10$1GE49jiPxiTeu0YoTSVXt.Pk3ggFB.4WJF8K.g6n1u9YGu2EiVxie
Output for 5.6.9
$2y$10$MSUbt.74znSt6QxaeV5E8eB9H3LeU.2hf47ZSCKvqRQa1IQyq/RGq
Output for 5.6.8
$2y$10$kQ.1o3Rex3u69AWrzZ1UgOmUpE7oJnjWbIhPVgOQ0LBJO4RA5mZr2
Output for 5.5.35
$2y$10$8RIVT6hPA0/9/7gIpEw7LOJrflSUxPZc1WTYRb3D/8eiEZbPy2eDm
Output for 5.5.34
$2y$10$Ol2FzIM9TighxbCBC1imRu4vi/burzlOS34pvIHo6j377jAxR4POe
Output for 5.5.33
$2y$10$e6wukbXhn85b2YCOW.v7g.CsZUdHAeKxANtpieNAVJjjubzMjAqtu
Output for 5.5.32
$2y$10$9jaxpHNZ3608tTEAuvlUhubzg9b8t4XyCUmmmceflLgrSiYQeueUS
Output for 5.5.31
$2y$10$VNh7ez7QkGTMtsvNanULxecYpM.yHeMMUgvF4cRVIiW9YWfXvf1Jy
Output for 5.5.30
$2y$10$mOU2SPAXCDMoS/OKeGK7X.p6jxs.UNpYtrKPV3J7bo7d1HxqXPddq
Output for 5.5.29
$2y$10$dWZPt6brqRuW8bpb7y4J2u9FHXR474XXSIBnfpORWxQJITUVWLNEW
Output for 5.5.28
$2y$10$jUdhwJUe.Bpeyux9krrJA.1gS.SC06B05momyJbK43x8Flqyw0/za
Output for 5.5.27
$2y$10$RSFES4K7HyTTppZD3JseQe5qtjkeTXeulEWc8ZCKo6TdfqNcpt0eG
Output for 5.5.26
$2y$10$Rlr0SgY3dApKAN8yEUyKcughKXt0WnSUsqozF3vjCRCXbqd3W87Am
Output for 5.5.25
$2y$10$7COlP9FR1ve2AB3X1nl16OZubhuZKKPVfbi3XB2K1nJBBkftK8EWK
Output for 5.5.24
$2y$10$rqWEmFGuGD13n.p9PQ3zIOVeNw.KO9Za8dsudOyW.GDqWOa5FJ9gO
Output for 5.3.20 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/TfoDL on line 4
Process exited with code 255.