3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $cost = 12; echo password_hash('miauw woef boe schrik', PASSWORD_BCRYPT, array('cost' => $cost /* 12 */));
Output for 7.1.0
$2y$12$NYNLxgL1miH1WkSQQu.jKukqR.Rn0nEujOvEZezV9Qf3rGgaThSzS
Output for 7.0.14
$2y$12$bcQUMJpCG/f0phximRM5...wX/oQlBdctZLbt9E.GVWZXyxFn3jzy
Output for 7.0.12
$2y$12$EQ8iuYYebV9C3lzsfCbIE.0D8aUBBPod8g4bu4hHkOzQ5onVDleDy
Output for 7.0.6
$2y$12$Z/O1lBH8sM4yrFrbyhbXhu5GJOgSN4JoogQCk9LzLEpm8FxS2VF1m
Output for 7.0.5
$2y$12$TrhONSk56OtoO1LVVxDuduE.F5SSFtx0qvoZDt6NPAcWXGpI/vbl2
Output for 7.0.4
$2y$12$YBuEP.07o4JErKTSYZmBzeSZGrHQ.vKUuFfuH5NXp1KyE6oEa9Yfa
Output for 7.0.3
$2y$12$wP8vT7AwwJ6hEZb/Ec2zHOUMb87V0l6eE.irHxYddAFP1eWmXa3sy
Output for 7.0.2
$2y$12$.IW/vohUTUb2Jw4BXFAUcu53KKy.6j3untS3GryPedUDIN/hOwZJq
Output for 7.0.1
$2y$12$uPTNjOz0VIfl1mh5ajpLS.99p3qLLfRf8TJZ9Lkn.B/jiCNWl4.5G
Output for 7.0.0
$2y$12$7UsJZVRG64uaWjB6KorwVeEOuPGJgCayzvyHgmATQSA3jvPposrvS
Output for hhvm-3.12.0
$2y$12$9c8JK3esgyBI6SA8nSzXe.ZgOLpVVHiqjFgoz0PYAQpYasHgF3s56
Output for hhvm-3.10.0
$2y$12$J6nIWY6f8XPC3yYg3XXylupsyedNcMaYuWIeTRuvM8mvDfVW4h386
Output for 5.6.21
$2y$12$/TyAaF4dPlXiuMFgOn9iDOA2ATQR9j163vduYI8WOrEShy8CSUdZa
Output for 5.6.20
$2y$12$LpcZ7Nt0hUE3fpT994ZKBOBJ8.fc2jckdjzFGnkkuHFWvpJsiX9QG
Output for 5.6.19
$2y$12$D4PPxKCniyxCYV45j1Kxn.ZsECB9o6aXUejQ1B4PaIGc/arUQP.CK
Output for 5.6.18
$2y$12$7r7fjrhtxmku1trtPMMLceLSjX2DQKb.92rCUNDC/vp.2z4sp9toa
Output for 5.6.17
$2y$12$y0VBNt/a2NhankuwEW928.uDK.YDnWp5JY.D6aT01ccGlonrjAJwi
Output for 5.6.16
$2y$12$FZEbbrPMNCLLNXrLhRLxK.Vf/OYVGtxiGtDvD4XIFom1hExXy7GNG
Output for 5.6.15
$2y$12$monWX7GNOCE/qzJLuFXJ8.GuGAz3DgrOYNwUMQMLqZzbHe2RHBFRS
Output for 5.6.14
$2y$12$7u9TkUaNL5FH4Ye5PRxi1.MqwaccaPdiQWyYkgbJ4kJMFg9Zw3ybi
Output for 5.6.13
$2y$12$Lev1zIOOFErr2CkAoV97ouqTrk1SRx38pOrtydfbB3KDZSMTpgXl2
Output for 5.6.12
$2y$12$04bDoYjNE/F8PdIvApLBxeb0fVc8jkvXNykVpccrl8C/wmd7DJpsa
Output for 5.6.11
$2y$12$uzrvELonaPwrmDi1XzRlCuY1bXCmXkRyajfzVEk23u2eAF.HRbxUq
Output for 5.6.10
$2y$12$9L2oFqlVp5kPtAlIRvxVGuvmtQFA1YF6Vs0CvPGamhm6SMr.807hC
Output for 5.6.9
$2y$12$Q7E8WWxtrmWsCtybjQQJrOipQbtSD9YZ7eD0seOyOKHXx1OZPH1oW
Output for 5.6.8
$2y$12$oMewB3pNpWppHKUilC6ZkOAn0nhXhbW8ws8KTyZf0VBteqMwffyDa
Output for 5.6.7
$2y$12$M9AUVItM5V.XKTzD073R.ede.DZxSeZoKJb5ICTGVpmPvj6Pqglhy
Output for 5.6.6
$2y$12$qUBZ5bfagBinPy0RMZ0cwelOybs5nuUoCdFAVl924Er.BD.2HOjha
Output for 5.6.5
$2y$12$dMNxPq5QWy0fRLr2BgAGWOLP7bwcLkLAdxpg/lba6Q4HRLQpBJzTW
Output for 5.6.4
$2y$12$0u0l1l4kywJ/OPQvMqPeweTRfSfQI4zeBglqXu9H4Py2W10CYrU4i
Output for 5.6.3
$2y$12$dZSAehPqgwPzW/fAjcHKteTbGhewg.w/7a8CL.NvMRQ8fWtsP8/1O
Output for 5.6.2
$2y$12$7e9uZ4AlM2LFLBUuSMz28Om6A.f4ytKJe4CDIiGgnhj74.2/movCC
Output for 5.6.1
$2y$12$f5S9JUZXjUUeA6beWmpLoOEbgiIf.PGW6kRbVmVvqez0NDKn1O/t6
Output for 5.6.0
$2y$12$mcK.OrgYFzg5iL.UsEv4juHmSv2zAZZpDiJdmVt1KBfHDLjUSnnAa
Output for 5.5.35
$2y$12$GksrjB69bLqy6kMMH/H0cuTVpDsh9FYwzIBNr.CMeX45paqxCImFS
Output for 5.5.34
$2y$12$jiYlYx6IgciEizrWqL7DY.YT2UAHtjIacwM99p70f0FwK9oqKTRrC
Output for 5.5.33
$2y$12$SEPm.Ebx12oCHENZUsBUdewTfzMsf66gEVzhiVWkv4aG/orP2LARu
Output for 5.5.32
$2y$12$gpoRquwyNs/iISxez4.i9.LVtkF4p.T9rXrvee/awIPujpefQMx1W
Output for 5.5.31
$2y$12$K5fFEq92hOmluG6NLeVbieVwk4ukJa9NGcHMwfJwo67Oes8/3x.N.
Output for 5.5.30
$2y$12$M2ChUgIDrrQE0VEwFs5uhenlvhWe3sfqR9fTKx0W6xBqYKWv/PNE6
Output for 5.5.29
$2y$12$01PeSP8MY2aTxLgTx5Tby.7gnSbPgGbUdm2C80JnMY8eRNsBsuVXm
Output for 5.5.28
$2y$12$Q4aj6yxpJDRn85LwZ4Cy.O3wgpJLPWh/Qn49nudvxbA.YuIIld6YK
Output for 5.5.27
$2y$12$3sjS4UrdF/L1WJXisU.5X.Mk92ClGHox9ZyrF114K6zHxny5Kt7dK
Output for 5.5.26
$2y$12$cNExWNt14VC9U/kv4b3uBOkBYSwLKEKE4PzMeArZPH82Ev5nqWO5e
Output for 5.5.25
$2y$12$hPuS4xZsi5NTKRFa1skMBeOthlrgTj6UVxY0J6gAMjhD.SYvePjrG
Output for 5.5.24
$2y$12$aHecxFTI1Dj2wIF7ygBbkeMLIuynRJW.QQtXartErqWbLuFyEqvhC
Output for 5.5.23
$2y$12$l2FOoIb57T4w28ODd4CVBeFy5rv1gMHz/AIJQ9Cju45aXJLNFg7Ke
Output for 5.5.22
$2y$12$VIZrEqluwURaosYjbYpAYOZt/KzCvQuFTgn5v8vbbUbA2Vb/sBARi
Output for 5.5.21
$2y$12$YPjNevLLYqe/L9zWT7lIk.u.f271vOYPcej7BqnCgcTvNNCa9Wf0.
Output for 5.5.20
$2y$12$WGAmaDIo06EnnQLIw0KiBuD6dGO3wRMZgJVyvceTxfVkP58Ffmf8a
Output for 5.5.19
$2y$12$UcqDwBfuZMHYU.DUTjRCTuYJN8f1L5eC/5xPEcKISmQTpAKyTEEkm
Output for 5.5.18
$2y$12$G/3eh1dTEBAeAmQ/hyiKJ.6z4SBMFA/2Yn1qIxuGkojIZL4g0ZNQK
Output for 5.5.16
$2y$12$IltBfQhWc5g8N8krZHMSr.2HU3mgFE4brI22BqqpmDDA4hCE53gua
Output for 5.5.15
$2y$12$QCBlvO4mLF/828xbIB8soeaklgTuE/sMkQ6K80KZfba6yoq2N4CAC
Output for 5.5.14
$2y$12$aH6MrdgGxm1vQlI8EObwb.eJrrkYNpaqOnyjJYHB.ZG91Kw4JMpea
Output for 5.5.13
$2y$12$iFB7gwOxzsf.V5losEoN0.yZ9/KQHx/Gip7d7LF9MVYvZU1KXUJX2
Output for 5.5.12
$2y$12$JvPZfaXik6RaAyG.dhXFFe4GxpwfCkgihDm5/zf2bCQtOYzdxiADy
Output for 5.5.11
$2y$12$1zAgfwVdHdOOcmXP2JKNoutQhOdA08Cp1a80Oz4RCXPoEgWsr.EOq
Output for 5.5.10
$2y$12$1ASXGr9ve3i.UEn8RHG1NuTxosogcMvdt1FXkOuy0sZ07GM60CX/e
Output for 5.5.9
$2y$12$pcc0PmVoKbKxDdB6TxAjsOd5yuO3X0qXYkT6nxBhiaAnbt5DKxxkm
Output for 5.5.8
$2y$12$dxksn.nbrzeYs44TOJnRKekpJpwRWPKjXpYbt.US4q9v0ezKUCwEu
Output for 5.5.7
$2y$12$SvRysBa5MzinLbrfykLzQuRzfDZrUx8EiSwdquXYnw9PDWeWJeNFC
Output for 5.5.6
$2y$12$WURssuzoUYT5q0WXb3KPA.RViEUQ4oxl/RrbprnWqcVCM6vzIKJOy
Output for 5.5.5
$2y$12$Aj5RB9ujZxQhk2Sn6MY1LuE5Dhd0Bl1Rh4eUO.DrMiRePvEP.r2w2
Output for 5.5.4
$2y$12$0OVyh5xRydBxYcVdE8dzWe9WnJjMmPD5kaDAfvqOLPAUvePP/Ufzy
Output for 5.5.3
$2y$12$IluskX.SuDNgad0Nugt/POtJavv4/mDwwQWgIPxZUfBr.CAeh1fna
Output for 5.5.2
$2y$12$yiQefu8OqTXO/1AFXpEU2es8msa9KefTpXQarUcxrn/iXO4xm9IOe
Output for 5.5.1
$2y$12$sOW3nJ8OaGu3nrcmgZVUwOqbNA9.3ISzXpNfuDDPFrIFjz23rtTGa
Output for 5.5.0
$2y$12$0/kBJyF9DzbcmEiUCAg2Nu6.edMpvcaB6RnvfhssXidaIM5s94qyq
Output for 5.2.3 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/7VjTW on line 5
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/7VjTW</b> on line <b>5</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/7VjTW</b> on line <b>5</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/7VjTW</b> on line <b>5</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/7VjTW</b> on line <b>5</b><br />