3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $hashed =password_hash('mypass', PASSWORD_BCRYPT); echo $hashed;
based on S9NlJ
Output for 7.2.11
$2y$10$du3EqRyc6fgBmD.cfvXeWO4RH2uirPlzRnIauw820loEf7YwSl9cq
Output for 7.2.6
$2y$10$O649H1eR74.7jbNyE59riOvJtrU3R4ydV07XnS1QX0qSyOLKfxAwK
Output for 7.2.0
$2y$10$jIqsA7.PQhHEzdlF8dogv.4Hojqdl.SvuRFn0/mPyg1xSJiikcqXa
Output for 7.1.20
$2y$10$1e2h.vKR5P4A8iFWfcqdKekH53xPQYYjfHt6X/OHDiVA3C2K0j352
Output for 7.1.10
$2y$10$n0owah5FkQrIcVowOO28WeBwMAohk./YTSqWdKTDMwV9eenboPkx6
Output for 7.1.7
$2y$10$qjFFiLUoVd9KknwubhpDie4u1.S6pLqT8i8DPaxhEI5d/DHozbtSm
Output for 7.1.6
$2y$10$ix/kZ1ZAVF5j0O06x2m/Ze1tH3Wh/Z7c8eeYZqlaohS0BPHUxsn8i
Output for 7.1.5
$2y$10$NhpTW7XDzHPQPQaSQA.zQejXZA2JjJwrroinFO9UY.f0m2MA6Zjry
Output for 7.1.0
$2y$10$nAYuJpXiPGoL8tPCNpUmpuH25.pfyZ4AM0PuQSX9gaRvW51E3BFDq
Output for 7.0.20
$2y$10$MhhDaEafbDr5YH3yJx91/OfWlyB5sjMHjKfsxfuraj5XHHM96xokS
Output for 7.0.6
$2y$10$g9E.30N9VwNXNQvqdAknmOod7nAfWMFOWElQKAIfBY8EobDisI/ai
Output for 7.0.5
$2y$10$iuV6uJ30ahRbhtsXBaIp3O.k6PgwlOrN.Y46qvogJkgKZllYX91Py
Output for 7.0.4
$2y$10$5QMUWWQrmEGKYgal0W6EGeDK.aAQknOAO41dXQNLnO.AAmlG6tpPa
Output for 7.0.3
$2y$10$H.N5FU8aConlyyLYyRqxbOjSHgPkNQGfcjNT9vi7ZPQ9pjiYEZT4q
Output for 7.0.2
$2y$10$rkgBZN4utDw7JtPagO1Nhu8zLT/TEBdNII3nDBn75igvshSc9MeAi
Output for 7.0.1
$2y$10$DQk.hXAPQMprGwYF0GSWjuNFlYqO2Y/dnKfHtjkxYVL.qytk0f/7K
Output for 7.0.0
$2y$10$UP/JqTYa7Q00CmEMS8LwkuOkUohVkFxEKkIlQxfEx84WNFUfAwWH6
Output for 5.6.28
$2y$10$5q/CA1lHmHRJhiRrmZbjruqbBsNXhcHjoM1CzK6vYeNo29sCtoFhK
Output for 5.6.21
$2y$10$RuQFCKYIsJCmsKSbZUEAMu0SbZ5gr364vGZzEZ62UJnqSny3T3y0G
Output for 5.6.20
$2y$10$pXGzAFmtiAyxOq8rhaEoEeOfhC7o7GBeivHUsG86/8.hZifyJ0hEW
Output for 5.6.19
$2y$10$TTWDlYgGEX6pdtreLkkHR.0GfrAapbTJJ6YBO10EPIAgD8bFrUq2.
Output for 5.6.18
$2y$10$zvTZ8IEeQ3lO8p.MkGoYf.p/wHSA0vG3sxevOYu/M7KnO1DNFlUo2
Output for 5.6.17
$2y$10$RQvDehOyfw6VjvSO7K8pWeUKKeNG1N4qqEa6MFtV9tgrIJ87XX3ZG
Output for 5.6.16
$2y$10$ib.wkAhk0tqxIUvkLOX0FeIspnV8oFVozlPo.OitYgpClrMLT8NeS
Output for 5.6.15
$2y$10$BigGWp742JtJohhunxjTfuluc63M8l9FpWIdGku8j/RGZWrdGktQa
Output for 5.6.14
$2y$10$XY.z0sTzk/3gbVgESKqTFO9eiL1sgcaRl48ciyYmV4lFGJImmx.GG
Output for 5.6.13
$2y$10$wV8zjSzLVqj1CfGyBwY9He2s6TmHQ.yLpWVhyon/nXdtgv4r6XNKO
Output for 5.6.12
$2y$10$bFUe.5qoJ66/9LNJayGrue10xflAX01YLDIvUydWpWSRGzZe63t7K
Output for 5.6.11
$2y$10$qB3X/o3oJ0UX.Tzb0C1Fte7DiSAf5M2ifYgmzAGFRRtYHR96znjaC
Output for 5.6.10
$2y$10$iKK72s23DUwHKr.X7Sp3A.4wM2NOlL4ksOte5EpqBGC.9cUsZ8uri
Output for 5.6.9
$2y$10$99WoNKdVlXCeC9OksuMNa.G61NF1RDcK05VapU1Kx3aHGNTTIYuCK
Output for 5.6.8
$2y$10$bVwey41N2LAl/BH9WpfHL.tqds1wk/7Tt3uecASrxPdmDjNjqfydK
Output for 5.6.7
$2y$10$.rismc1tAE6auhMsTISV.uaoXtl40n78mQ8pQjfuebI2nXZqfzR86
Output for 5.5.35
$2y$10$Gx8ncwzsuokRR18d3Je06.ntnZEp6cQFubo84UrDjoJggbwSTO3O6
Output for 5.5.34
$2y$10$sncYk6WC.nmfbU6AeZ78MOOJv9gfTCoeFJ3RRnmPFkG7Y/esRMl52
Output for 5.5.33
$2y$10$lQiJUiPA774a0nQygdVK2OHUD5RerVSaYocTeljyKaZiZ7HSC5RZy
Output for 5.5.32
$2y$10$DcBB3q7MgimwurgjdFGKquwV7oGY4Ff2nAgUmWCn.6P28etB.AOJC
Output for 5.5.31
$2y$10$w4iDghZCeTfwlj5IaU/yfekpkNMBwL7poM6Q8V4PLZsY7VrDGIhGu
Output for 5.5.30
$2y$10$VTpu2w68Expy7YJpEnm6/uZPkOk5TPkXF4Cp4FEe6Vl6qO0MCJaJu
Output for 5.5.29
$2y$10$KbYK7F1vFtvPIwr3lYk.wenertrGHyO16yH5CWFTOuxf3zThQYaLG
Output for 5.5.28
$2y$10$MdbcXEUeCnLnOaNM5BdMmuGIcGxijdPXvJohYIsGsyyQr4bNO7en.
Output for 5.5.27
$2y$10$8cpBwq5EvhR.XWRKZaspzum4s0NfzHV90GlaLFAhH2pkpOq6HWqXu
Output for 5.5.26
$2y$10$jio9zGkulHilGfm./AhVy.xA.GuJcY8U365vnF8x1GmB2ErJOQyjS
Output for 5.5.25
$2y$10$x/8f.7VfO3aZ/ehFAnR5Z.oCMk8tkXGzkWHcELyc7KRm8CF6bk0gq
Output for 5.5.24
$2y$10$OATVjmIGn.ASVzk/Lyx7JulG2pA/CDASxRTUXwzGj0SEC6bPBrNyS
Output for 5.3.19 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/9YNS9 on line 3
Process exited with code 255.