3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo password_hash("§ag§SDG%a/!%", PASSWORD_BCRYPT, ['cost' => 12]);
Output for 7.1.0
$2y$12$mzqiRMsW2dhsgWYkXYGK4ubODTmhdr/l1KyZarIiWT6YPev7TUUdG
Output for 7.0.14
$2y$12$TFGcWYaSO9wP.tUzEX1j9uphqEOfoNL8dwO76cvthuNeNvw40jTJW
Output for 7.0.6
$2y$12$mV.nwfy.STffSW6wqdZmPuDer.pHh6n.7rwmniaOl0bXKVFuyTbvi
Output for 7.0.5
$2y$12$.MPT/MfAAoAJx4Nx88HcbOdysTL28WZCnQ1c2RrKjRcl3hIyfTzwW
Output for 7.0.4
$2y$12$bkTsKHTz6SU/oWFTQ6Q5zuVlpWhWVOOyESOIWCaK2dA.yh6y/o2Gu
Output for 7.0.3
$2y$12$XxHmFlqA72vitp0aEjkeBO7uDl4YQ64Vf6kCYN2ApMWgBf.XrwOeO
Output for 7.0.2
$2y$12$53pz0YJbH5WczydxmIfRg.3KSy2hsJ6/WqrYwdBLKfhzj7d9Bgpfq
Output for 7.0.1
$2y$12$acEr6HWkMwhF7c.6qDsvWOnIRbtdOr/BCQ64zdh6xdMsU0/mYLcHa
Output for 7.0.0
$2y$12$zG8tXyus0LOM3ZDBTcM7/uvSUmsFgUa4vCKGxBFp1Rsa76Y66UgX6
Output for hhvm-3.12.0
$2y$12$Ahxb.tQtxIxmXErA3W43euHBGYedbNYcpuBP8dUEGx9auWYeOV9.K
Output for hhvm-3.10.0
$2y$12$7WOW1uaFdHo9XAWLKe0OMu6Bmjdzi3fZPLuP0l.1UfHbfHEs1fC/u
Output for 5.6.28
$2y$12$YS8B5bM9eHd2H0MjY.Th3uoNdAjUwrA1arfeO/1pkxbDw.QdaNL7y
Output for 5.6.21
$2y$12$nZH3dO6fnX4kFdmYQZxwXuhLDW8JOdtjIsWGUleSdc9WRmIW7ltbK
Output for 5.6.20
$2y$12$Hk8zuuO9Rh4ZlmBn4hM3tuuujrtWC0oBP8jeuxjUEmNHHHdqHAI6i
Output for 5.6.19
$2y$12$OMYegWRPKixsayGeD67Z.O2azA3cPVFNWjcfl.EYj0OxlgMdKq09K
Output for 5.6.18
$2y$12$vxrmtuE.ItbnX9UWJaqoQeuyYMEThfpGaW1Q.4wJCAtyEg.cQawUy
Output for 5.6.17
$2y$12$JIlSH.99fVy4VNf1D7sGqOjUk4c3Zi1/hpzcwaqd3zRqkKzWPi1zK
Output for 5.6.16
$2y$12$DUmOicKcyB5kyMvz4WXmXeAlIl/1FMPCu/yvs08er6jcXUHinYygi
Output for 5.6.15
$2y$12$9pN4l5Y.kzj7U.3IN//oHO10jUbHoG4FMs1ZApj36fqqkqQ1N2JRS
Output for 5.6.14
$2y$12$s9yjCP/PBJfRJdgLGkfcOeLguIzFyLL5bN9uglOexP3s936IWb4CK
Output for 5.6.13
$2y$12$PUxNRk0QVx14WrX/RguUo.kIsF7b0aEChO17f6efOWz7l0y.j441a
Output for 5.6.12
$2y$12$bk4avegFnMnsLQQ2LFR4GuFTbVA97ZMcnTOeM7uYgyYhpQzS6KV/m
Output for 5.6.11
$2y$12$yz1SqPJoVCP/HmvrFoP24uhQnsJvy9LxLAfgb4gwFMEv14Id2jBgG
Output for 5.6.10
$2y$12$VSrr7N0LyHJOfUGyYxPOQe34XkrwuuCI6pLaqkD63QyS36W/8cZrO
Output for 5.6.9
$2y$12$vYv41mvn7zvja9rVhJ.LYuMxiBiaA9euEypu5oluq0nJYU0fSzChO
Output for 5.6.8
$2y$12$ENd0K1jPI3gvV4Drr3/heucbP6Nh9LqEzJbiMGxoaHdfc.SZs6nYC
Output for 5.5.35
$2y$12$P6CP24N72q0MLobZ1/3lfuUmQRAPZ/TqFU8VBG6WJ5U62pUk5JLMS
Output for 5.5.34
$2y$12$OdDodYRQpoULU9ofL7U/KeRZybshRbDhmGUkLdUBPqeYBD/F0Gbt.
Output for 5.5.33
$2y$12$dv2bObyYe2Zo5Rqef4MAV.CvpCsly.VCMmOvDkXfG4WJlxEF3yLVW
Output for 5.5.32
$2y$12$oBpQoQ6GtidWmi3Og9kD8ucFlj1nDAIzAhuHMiFUzhr2x/iI.Ogqa
Output for 5.5.31
$2y$12$yGqu9Ss0ICXPj/f88DrPguaFV76Jm/V1y3rECz5mNEObbLPh.WDza
Output for 5.5.30
$2y$12$WfYu6aOythMVO7EzbOmTGeFCVKcRM39BiFMiAranFknVBXVDFgSsS
Output for 5.5.29
$2y$12$A.CY/SwL7323/nB8EB3e3./fYik.NAFyXsRoxpcZUHqKcMaAOrcQu
Output for 5.5.28
$2y$12$VaEC3lK64VNzZ7rUwtkLB.kWD4oWrTZZyPrh2R/ulfwoROp758NKi
Output for 5.5.27
$2y$12$YvsWu/VlOb6A76vbQ4YsDuNL/p2qf1uNxaISVdl3EOR7PnEktH/oK
Output for 5.5.26
$2y$12$3aJ7AomymnRSvIMwL7mR3.m.vRls1jNO2V9QSY8L3on5x.zzlKuem
Output for 5.5.25
$2y$12$R5X72pOdgocIcywSe7GfqOU2u4s1Ut//5CInFQbwgHEEJhzmaip3W
Output for 5.5.24
$2y$12$ebNn9IMjJ1jWoJR879KkDuR9qfDqANe8hPH3EfQifKDaVitJEIMSO
Output for 5.4.0 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/6pvVF on line 3
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/6pvVF 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/6pvVF on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/6pvVF on line 3
Process exited with code 255.