3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $options = array('cost' => 11); $hash = password_hash("banana", PASSWORD_BCRYPT, $options); echo $hash;
Output for 7.1.0
$2y$11$RLqQH9qRR4m0ieUzWmebb.Qh49qyREuezhuBdhqPuRQqEER4wvIjK
Output for 7.0.14
$2y$11$oee2vKoC9APV9dgFiVEpFemUhoWQ7SFauY0kP06ePFjnfO5fN3kPm
Output for 7.0.6
$2y$11$YeWK3Y/P5npiR6muoYQNO.W2OnU0m0PJFSorRdUIxGae74IKzgrum
Output for 7.0.5
$2y$11$ClGeggf986DP8J087H1uUe1L1imHO4pt7i9Eg50TO1G2NHLvP5kui
Output for 7.0.4
$2y$11$zC.QYd2SgMttLPbLAxpGN.GqmUtWTRgfZrMqY7lNWR0ZCb69cDQpO
Output for 7.0.3
$2y$11$dQ/9aT1at8GQYplzsOp4u.m/jk4mE2I.0ZbRjsY.lOKlNhLXq97Du
Output for 7.0.2
$2y$11$R7H9XnC5xuerCrdcHnHmt.3ijIKUCFRFL7nm/pqFw90T9DcfSXmIm
Output for 7.0.1
$2y$11$C2lYdQNErjsFg6hPSdDCK.ZmMkcF.2VcvVk5r5hO6GOMkCB5tmNky
Output for 7.0.0
$2y$11$CclQ2mh0BDUwSVxzG58qR.xRbrD8bYSpr0GbvkquL/Rww6EXU26Fy
Output for hhvm-3.12.0
$2y$11$hE2OhY6YfdGQjfrKs5/g8uUK2bV5kzK/TLpqfzyYOCXppXnDEwB4.
Output for hhvm-3.10.0
$2y$11$wteBjonLDYpFlZoXBncZbOJnjzV1DSCs1rM7P0DkRB8HSsnOS5CP.
Output for 5.6.28
$2y$11$bvE0.5zYCv4ZZwSkB.obyO.h6uz7M7kn6mCthc5idmyHUN7wg7HPm
Output for 5.6.21
$2y$11$a7Z6iWwY7ILzpcVqYhOXvusT1cC17AjF2euREBtR/YXbc.0OFrWWW
Output for 5.6.20
$2y$11$9ojhc1NSWar13WNi4XrY4OzQcOogKi7oZ1DvPUgtpSxqTiCQSSnl2
Output for 5.6.19
$2y$11$GWlrsJJtEZRoW0a8E2COP.1Sy8tUKUNP9U7rZfU8r1qGqrY6r33qa
Output for 5.6.18
$2y$11$D7e/xNSnlr9agVRoIUZ.8.iib.TpA14mF2U5fZADSujYdzQ4XvBIi
Output for 5.6.17
$2y$11$jpkpLgNBGHYDwNRpecrk7eFopY89YS3ozlK2fR6TW8gVC1AlE5COO
Output for 5.6.16
$2y$11$sn/AsuQQFaErMuuQdNBi/e7j47JVSlf5DLkunqJFSXTJFNwX/3u76
Output for 5.6.15
$2y$11$Y9Qk5NF7oLs338bKjO87O.lSMDvp2yAw8YOE9K0U2tVUiaS/kQjjK
Output for 5.6.14
$2y$11$z9RRLzwCOalw38e05h821uDI7fxE.5WRT6A.XGahxjVmc00b6c0O6
Output for 5.6.13
$2y$11$8l5ylOd3mEnjaZwyhpYAUeE4tKzdHWQh98pOD8BRBzSfB1Bt/G2Kq
Output for 5.6.12
$2y$11$YzkXGcQZkJPVHgQatb/B1u1h02RbeYRVrcRUr9oN3FpRW8znSY.nS
Output for 5.6.11
$2y$11$YmxuFrJLXsEufgR/5xPgqebCv8s/GpKvPoWcxCvy7eOsmnWpg9A.m
Output for 5.6.10
$2y$11$yKIFoQI0JGoHJ6UYQBWLYuDwxq1Vc.TSQF6a9yRNoQRKpoumWMaHW
Output for 5.6.9
$2y$11$5iiqjNtKcayCMULZQ.BHyePiDrD9RdO9lLzLHmzq7mnHipvpvpcWS
Output for 5.6.8
$2y$11$1bkJjXhb7ke9vY1/fDXiVOpcO7mAY7SKNo6xbfIF8Gr3lFIWiFH8O
Output for 5.6.7
$2y$11$LqpUJy9ZYzodENLsCBWhaerTCxvJzN0toLr4uc4uu/jTOSxg9XhAe
Output for 5.6.6
$2y$11$yMOMCFEWH3uy2KcdU2iKEeWUWKfUOQKazbmfc28QOz/AqxnQqfGPe
Output for 5.6.5
$2y$11$vsKlrAwpZ/VwxfXa/WciJuFZUGsSNHFvLCTZp3onfDd6IXigaLOF.
Output for 5.6.4
$2y$11$WYP8I/vKvezsQXWAH1dQA.E88Xo9/uoTkiwVRjRPfNxfLW9kQpej2
Output for 5.6.3
$2y$11$PMcXDaO2K6tFtDLF0RtGaeGjNHJvLrYkdBQ6ac2mNqoSXNRvU1t5m
Output for 5.6.2
$2y$11$zfuHEaPoq4XwCl4.Cyf1/.R9IT03r1Ib03PZrvsUi1RijP98TY81e
Output for 5.6.1
$2y$11$vWAta48jPKtFRVxDgEBY0eZjY4fwUtzNOSsmN.jrGKj2e4lGOybO6
Output for 5.6.0
$2y$11$ekwnTYusQcdE4ZW59Cww1urRJ7KVkwVQdbiw8LKVG7h5aLeV141Qa
Output for 5.5.35
$2y$11$TZiVs.VkLAU.MjqvQ4aBh.sj5xntl14QdRQR5Tj6d0yXK7BxSqKMe
Output for 5.5.34
$2y$11$R.ZnPgaARhu68yIKUzuhQeZ66nyyoWzw9GawI/E4aIDsZH4LSA4.S
Output for 5.5.33
$2y$11$k9oNhZ3wFfodvtIXskv9Du2VfM17OQ2Hpiro97hQoGKoTuboKuN3e
Output for 5.5.32
$2y$11$q6K4DcspWEdm5MyGYyqBkOnaf5yt8bnVtEO8EueFGeCci0wL.MJt.
Output for 5.5.31
$2y$11$SKoV9tSuiY4VFGxwkptG3.s9f/57e4vn3oNenOzGVVRIWy6faumse
Output for 5.5.30
$2y$11$6SwDYm4HOt7uf/3AWAyv4.1QmA.grD8FLY3Vr36qCfbsjGKml8.jW
Output for 5.5.29
$2y$11$y2X0Fq2vKD03c1KtsyX0tukOKluDmgxabWK5f7GLfvOHH8EntfUNe
Output for 5.5.28
$2y$11$kfsGnc.1n3DErBKL/6UeAuX0LRotj.4rhuzSiug2Y42zZr9CX5XWC
Output for 5.5.27
$2y$11$sr5AxoWESjOepCZsfaNDtOtV3u0BSEypIBfmYfPnPzg9j5KHc38H2
Output for 5.5.26
$2y$11$JB6TeWKoB/xY.mPde5KLFujEYNLw8UpL1aocNKBdLv3hHpezquyeS
Output for 5.5.25
$2y$11$c5Z5KGVw9WaTwvclaylZGO85epVyAMp76EsRUPqsUpaMEsz2lKJwC
Output for 5.5.24
$2y$11$qG9hX.MA1rg0II4Xv1QXhueGuhzF5aY.TGePSAd4D4n98y04mJ9Ua
Output for 5.5.23
$2y$11$Eb4ErWoLfpRuUYYslIZJIOV4Loun/96M879MwBm2N.79.UF7jpmU6
Output for 5.5.22
$2y$11$vIk/mQdl8gMTL8edUmqbQuhObCY3vcg.NFE/vz1aObU6sjBj5t2Hq
Output for 5.5.21
$2y$11$kkdfF0Pzg1RneDLDdqh71e7f8GW/aDaw86fWsBJkNkF/BkdnyFFN6
Output for 5.5.20
$2y$11$p.Jl2RCXF2nPjxnDjXMUO.Ln236n26HBRhkR/Zl4oAn68mdRduwLG
Output for 5.5.19
$2y$11$SuM5KZditPXyc0gPpk2bj.ighrxhTX9MptjkPmyq2PFVXLvDb8K8q
Output for 5.5.18
$2y$11$GjrOaA4ufKjTe9C9Spqr7.fm2MuujS73UHxBcEqNt75D4URFpeCnW
Output for 5.5.16
$2y$11$uLJdwAOXS2jPGyY/F2LyhuWe.zC1lpFXUlKin3bChToxMq0nCL9j.
Output for 5.5.15
$2y$11$v2dT2piuyveOfKkHjbA7S.r4Q/pTld.24YkH7Q5/owr.etVYw/D96
Output for 5.5.14
$2y$11$CIZE6LnU10qYw9jjyqEvOe4Z249Q/sOpNzAPWxhUo.VxNmg4ycZ5a
Output for 5.5.13
$2y$11$U36beHA6txwj6oC4763rkONIpSfZDBKPH3yuGdnzYsrXI2i4S4ozC
Output for 5.5.12
$2y$11$pPXvIcZVqNtKU7j1aTq5y.OTDZlSO4q6K083koxnKjEcepg6IwgQm
Output for 5.5.11
$2y$11$ZisrHPMjP9.FUS4CONh2CuySXkunWYSchSlGjbWOZzubDiP82wipa
Output for 5.5.10
$2y$11$F7316qF1lJgQsMe1sxzPuO7E9ndngxkliNl.942rceLx5cO5kUxWm
Output for 5.5.9
$2y$11$g/73.AjXoAxzOg.0twX5wOaDflikQXPelq2uZcGmlMJx2EFxIByqS
Output for 5.5.8
$2y$11$afxs8u.wzRBLgdxy0EH/2.m7XjfUECHHdjO3rhRd7ZTpI6.wGRpMm
Output for 5.5.7
$2y$11$WROwadt6fIB99VtA.ww3QulV5R4jKLIrDrYuiDHOUC6un4Dfz7G5K
Output for 5.5.6
$2y$11$TJkYoD1tWh6LiKp5sIKUTOqbrd0zGZAlqzYLY.YGpQwomcfYTYn.i
Output for 5.5.5
$2y$11$cQuoGU5xxB4xT6vS6QcsnuIhTjMFaL/Gtf9EoYO5Ir55o0fvKaPlS
Output for 5.5.4
$2y$11$G7MrpCuqchka19SpO0TpNOWbi3eq5Wb0NRXtkFLiFKGUqRtWumPTy
Output for 5.5.3
$2y$11$8snDbpLhKMft69bi8iHRaeL5JjcWUx8KJVv9AM/CFOeDo6MeM8otW
Output for 5.5.2
$2y$11$7IbUvl36SlPLcbXtgqfZoOYGoNu/AgYEF9PTb2sBco5kiPPZK1gHW
Output for 5.5.1
$2y$11$X17H4M7zZH.GWfCMrRx9deQyX3FZzaOCB6NzwrRklVPP1cUd1tc/G
Output for 5.5.0
$2y$11$5eC/oIXjIbv7u85YITD5wulKbZ63kOoXh2B13dhsD/Kb8r3Akz772
Output for 5.2.3 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/uHCle on line 3
Process exited with code 255.
Output for 5.0.0 - 5.2.2
<br /> <b>Fatal error</b>: Call to undefined function password_hash() in <b>/in/uHCle</b> on line <b>3</b><br />
Process exited with code 255.
Output for 4.4.5 - 4.4.9
<br /> <b>Fatal error</b>: Call to undefined function: password_hash() in <b>/in/uHCle</b> on line <b>3</b><br />
Process exited with code 255.
Output for 4.3.2 - 4.4.4
<br /> <b>Fatal error</b>: Call to undefined function: password_hash() in <b>/in/uHCle</b> on line <b>3</b><br />
Process exited with code 255.
Output for 4.3.0 - 4.3.1
<br /> <b>Fatal error</b>: Call to undefined function: password_hash() in <b>/in/uHCle</b> on line <b>3</b><br />