3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $y='0123456789'; $opciones = [ 'cost' => 12, ]; $y=password_hash($y, PASSWORD_DEFAULT, $opciones); echo $y;
based on vU00l
Output for 7.1.0
$2y$12$TFt.jf3FHOG5JU1DpD53z.70h7VFVDh5riOBUPS8k3iLjT68JtSCC
Output for 7.0.14
$2y$12$M56oIMnn97CaptNUu4/Ex.FnTa7JbGTwuSHRAV.31i786438r1zl2
Output for 7.0.6
$2y$12$ceDKFrSS0dyDRF9I3ETX9OIfwp.qBjj2GHN1zrW2rN7o9GcB0gPHC
Output for 7.0.5
$2y$12$wRNIcqxtsvQoC69q8SKCdeKPpOS2zPOSTo1u63DL35l3ZxKAp44f6
Output for 7.0.4
$2y$12$x69s8o.94dxTO9MvqGRZzuJBpE.l/2bmo2AM/qm3ahQWhYCsiNWYC
Output for 7.0.3
$2y$12$3wPOwWpEzw10Hg.u8v22Uu98zTwfwUQ/t8vM2xV2xXGzj950vPy7S
Output for 7.0.2
$2y$12$58vSPJOxgZN7OYUFQx3sGOUvDx3hd.8BK413sP7F76Q6OzfdfkvRG
Output for 7.0.1
$2y$12$SmwQkJNMwprvF1oXd/yolOBmyD0KMDsKKSIur.2n.MLRLCON2bwkW
Output for 7.0.0
$2y$12$1X4hBn7die8dTnbLkp2WKOAZ5mfVi4aTJ50aL6P6mM9R5n..knZne
Output for 5.6.28
$2y$12$c5CizIiHQtsLGb7xerKXROdMmsJwOH/w/cZiRHpjnF6gV2pNYV6pW
Output for 5.6.21
$2y$12$ZI6h3TGsPBwar2Ld0WRoy.rjAqt94aSAeXauEyIRjK5LVRlWSn3T6
Output for 5.6.20
$2y$12$g6CGnGTepEvVs9QnHsFF8e7yYQWx/MFDLsCIw70lLY6C8IvjisUga
Output for 5.6.19
$2y$12$HDISqQhQr25aY/RQiltnk.3moZohvrtlJKMSZ0LMLC5cnabVPuEOq
Output for 5.6.18
$2y$12$Q5TtGK392HipjPdjfI.4Y.P/UmeTpAWc/M83n9hncp52oYYDfw1me
Output for 5.6.17
$2y$12$suclWAptkpSlLl/VOY4IlONo9ps1l5muERHsOkuZPuOY.Fp6tVf5m
Output for 5.6.16
$2y$12$AilJwQcbfQkTmPFYLhLqwezDtUip2.vyPNCWQj260fLw2gepekwrG
Output for 5.6.15
$2y$12$jgQf86hSdhtIoJ5/HDFQW.M2Wv7um0zQQgwsdDia5KHOScMkweJsG
Output for 5.6.14
$2y$12$/HO.x8C3C0qP.qsKVxakaeyiTRXxQoSdizhf5G9LyuaShQXuICeum
Output for 5.6.13
$2y$12$3idu5f0NJxTts11eZvONUOwioGT8D/L1mFXU4Y1E.5OOcC3wqYATq
Output for 5.6.12
$2y$12$iqu42ROem3LYxbdfPla13.5sOFULGHQ31I977kZrHOMbUQayJVoEe
Output for 5.6.11
$2y$12$zPmJoS2G7AvgW6GWDFni6OjRsDvvulebmz6aDI9..oSInk/z0K1gq
Output for 5.6.10
$2y$12$w8Pgwm/3tvJaKxV7kxE3z.yu7ljuIH8RfowcW491SzZ2xu6B.vhjS
Output for 5.6.9
$2y$12$pO2FNQ2.3.Ok9D9o3NEzQu6XuoffxNvHNSoL6gTeaComJ3DqvxYuy
Output for 5.6.8
$2y$12$J6C9.b77SqgjxDBlvL5qV.hEpNlC62RijtQMnsosdxJQUobJul5a.
Output for 5.6.7
$2y$12$wY3f27xCyHCzG5QNY3r0uup1ZBX691/vxA8BZtDDJKL.91nVSsGsi
Output for 5.5.35
$2y$12$yy/AxDLkT9fQ/6bz8uB4buOu0Dpc9/USfCZbrvthLhMrhBEuhjCym
Output for 5.5.34
$2y$12$iuKdkWqSejphlVRH9w.ZnuBDQA5e8JbcXwacULp7s7BqVv0arM1.K
Output for 5.5.33
$2y$12$CLphkAWOBIEennFF2N3I3ulHUaPgqAYtpVB66HUf6V0ETDQm6pU56
Output for 5.5.32
$2y$12$uEAQjI2lwwY4zuB3yPwMqu.QgyR2NCkNrcEF1p6c.g0fN3fR8EmDi
Output for 5.5.31
$2y$12$yat5fmVUZIRysnD2x.G9Y.iHilWehS6URsABcAnC8VtqIcWqfrsOW
Output for 5.5.30
$2y$12$947zwMVGf94QLX8wcnoOjuuRGHGF2Rm36g9aILqe/0TxlltxDVU2i
Output for 5.5.29
$2y$12$RKuJQeOwufAYRzRc/CdYTOCsqky8RNRpgbB2l9djg9EJRMWhRmKyq
Output for 5.5.28
$2y$12$x5rU5YoxHilIRf6eQd7zGOfpW9HDsXOewRKDs47XtQy5niMfoIqp2
Output for 5.5.27
$2y$12$lKlnTIpbTBcRKI8y1ueGJ.vxRyajRX4UCI16UwU9.Q0v1/l9Bq4R.
Output for 5.5.26
$2y$12$Qjf5rdzTzTgDPlSx4zTxY.HZGFRcqaHvYBaY5aLH89y.5t8pEnxx.
Output for 5.5.25
$2y$12$PKqxBnTaBVXwCFpkH0YmGeQgT/Q3zZIKRh.kzFJTEFB30inhh/5ju
Output for 5.5.24
$2y$12$TPgl2XfJe.6elJHJ0llmsOXPp30WrDO9gLXTn98e6FQ0Gnxtr/LoW
Output for 5.4.0 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/npEgi on line 6
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/npEgi 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/npEgi on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/npEgi on line 3
Process exited with code 255.