3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $options = array( 'cost' => 12, ); echo password_hash("rasmuslerdorf", PASSWORD_BCRYPT, $options)."\n";
Output for 7.1.0
$2y$12$JzhjMY9QFndd5WfASPXXF.XQsyygLfu1d3SBiu79bphK6/i9N9ZrG
Output for 7.0.14
$2y$12$W88lG2HQ4TlWkx99Mfb/Q.geIF8kpQ.yXUtN57wGh5OAIKAuJ6Bvy
Output for 7.0.6
$2y$12$DNQ6nSeA1YTQiFg2gwuOk.HZ0RGUbilRA0MQrs24tKOLgoAqmEWu.
Output for 7.0.5
$2y$12$fScFX.Jccgl/fRk8gfRngekg9pUYvUDjJTGWlqy5Ze5rF0ErbFmim
Output for 7.0.4
$2y$12$lhGdxF3zWCQh/8kxxiGsNecNcrq6/ffrHYgvHi9k8L40jI5eYIM1m
Output for 7.0.3
$2y$12$kLbV7ftSHTyW2ZnpqNn/xu8QGGp6vpPMl9OouArRq4loAGS/oFxry
Output for 7.0.2
$2y$12$960MGHXDRGEftgF7j6eiIO0ex4BbwLKHLQUCgqVU3/LfXxQo4v4LW
Output for 7.0.1
$2y$12$w6NtnyyA0grU/sBfIpue8OeEMuAYhUUnjex1D0horz67d7XnXPa12
Output for 7.0.0
$2y$12$x5t78glIh.1seNybLq1bu.Kwxlo17LDIDunIvz1mszuboqB0tz9uW
Output for 5.6.28
$2y$12$OHBtgv.73v.LUAiAP4WWNeXPwz8lKk0.g9eTwdq5vqeNKgeGuovJO
Output for 5.6.21
$2y$12$3KZfBnh9ZaEWcGrAoJijT.zZ6k6ghVRHk.59E9csHQor1aE9E1BNW
Output for 5.6.20
$2y$12$YjDqWVbIM8rPn6QKWOVcPOQ2fXZ8R6gxIWGLFvGFdyuF0x231lw6y
Output for 5.6.19
$2y$12$CzzXilpmNCpK0hPxKdrr7ug80g7uuAGLYLAwVqX9l3.I80Bpld3Z6
Output for 5.6.18
$2y$12$02GMMKpCEwBSh.UsWv6pkOD0ZVABmw1uLCFLkUZzwOwkzXjOIn77i
Output for 5.6.17
$2y$12$3.9La6j52nyPCXBgmix7kuyZLY.iqMlOBkOj5tsfkw/sFtf9m1CZK
Output for 5.6.16
$2y$12$4Luv8dB0ddlUeF/bf7SbsevORLlY1ln8mrw65DSQ.3avf4jy1RX4y
Output for 5.6.15
$2y$12$/SRTTc4C53S4iSC1kanM..6MeuSfTHlrDCe4Nc8ZcrsNPc3CClOXG
Output for 5.6.14
$2y$12$EYgASADOk4TGZPOdwzmgnOy0JVSpIJYkMiOMF4JWN0T5QOjN6R.ri
Output for 5.6.13
$2y$12$E0DbIJ1ljFAZLa1/TCTAceLFBi4WYUCd5ycyQaVbTDkSTRTrz7qWC
Output for 5.6.12
$2y$12$eqstjW1ZlPMvkAQsQRR35eMoNJUwjDeSKNhIfFNuOiv5hbmmXj3iO
Output for 5.6.11
$2y$12$6tDeBiVHfSP/4sAWyg5qIueiwST764Zikj1rq1BjcsvfL9W00sAMm
Output for 5.6.10
$2y$12$HnBi0O0T0msUsKD0EG6X2.ZfhgIObr4HQ/aIs9k/2.r0jnEPapDTO
Output for 5.6.9
$2y$12$hJrbjaFBAf0SB4TGaSTOieIfwTZBy6B45uJe66YugSX.8F2bR2/ca
Output for 5.6.8
$2y$12$D0INUfTdwyjaqJFTarVRl.6QRpqoCwTUVJuBJ7wFE9i8PPU6.Tm9.
Output for 5.5.35
$2y$12$mTaxQCWYKS4HVP8OLCW5b.VLrQEbXrsnxjjGKmjyxZnLtw8fMYeZC
Output for 5.5.34
$2y$12$ho5Ziie8y8QW26ZS6nZHk.r9CVjR5ollIUwWXpCCKw1/AT9AQpXfC
Output for 5.5.33
$2y$12$m9ucb.AE2ZrPKkK3f5D8ZOvtUPivU0IOxCx92BPnVDBxWqXHYaNQu
Output for 5.5.32
$2y$12$PRDMDjW.Xa526vMmdPvvc.qq5pFeZAVBBMn9UT.QF6NannQ7bvkca
Output for 5.5.31
$2y$12$kW.vjndfMG66mlh0M6kcoOawsbY8hPMZXM8oyV178Zxt5hWSpjJyG
Output for 5.5.30
$2y$12$R9ZXnWWCtJKZiQa.vGKNk.nQMpaYNhd8iI0Aq5Za.K3sxsheUsbP2
Output for 5.5.29
$2y$12$BbJY7KmIs5bmZauD2jvhm.H3buubgBvG7U3k4t91zM2ll2ZHkZWri
Output for 5.5.28
$2y$12$FO/7zMKObOiHNntRKM2aG.IKacAcp.YHbxuAgIu64DReeUIBeR2.C
Output for 5.5.27
$2y$12$vDKbSUXQPVY4nmIaURX/B.K3f6ZCxnxemaVXlB8HZXqE.MRgu/YYG
Output for 5.5.26
$2y$12$WEERcjothPu7A1287Wu4XO1yi5VoWNJ4j7CIV4jPiW7rW6cE1ibQO
Output for 5.5.25
$2y$12$Rtlolgu4WWlxi3xG1sGMoeP8W2dXOH2LKKn/9JNPXhs/jUi6zQt4y
Output for 5.5.24
$2y$12$exRXYHe.sZM63qw2NQfuqe/R9koisVDyqc9BcGWiKTS7zdxmlBaI.
Output for 5.0.0 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/LglAl on line 5
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: password_hash() in /in/LglAl on line 5
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: password_hash() in /in/LglAl on line 5
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: password_hash() in /in/LglAl on line 5