3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $password = 'baccadmin'; $options = [ 'cost' => 10, ]; echo password_hash($password, PASSWORD_BCRYPT, $options) ?>
based on VeOk4
Output for 7.2.0
$2y$10$1GP1zSylnxbRAyJr72uXUuiU3K9dWafLgCU8fZTguAV5H0s4WoXkS
Output for 7.1.10
$2y$10$sbFXD4eqgeU4eUtsmgtBGuTJlDeLItHTZimSNFRic8GpiXYvTu57G
Output for 7.1.7
$2y$10$wg4.HXu7TvvpPegzGwt/OOOArd.LnRMu8Y6i29UeUUoZ2tFp54P0.
Output for 7.1.6
$2y$10$JH3U/YlRRGH20bLhuVAAG.VOSgGXPuBNNMFlliby.tPUedLL/xpnq
Output for 7.1.5
$2y$10$TNUwZ8MCsImrv7p9GM6g0O.SIEXZto79vwkoNnIbRnzzb/X2Kg3DC
Output for 7.1.0
$2y$10$Gxr4Yu9Ozl9sADa1CjvV/OqWFgGbKW9MIqMDXIFcj1HxHdU1Titgq
Output for 7.0.20
$2y$10$VfvWtOni/wu0l6aKojYCn.FrN.Jbn4KXkf9Euudk5/wMSfW9VmAvu
Output for 7.0.6
$2y$10$2pxq0gxsbOVXDkkV2niP9OQKYaIJ/xk6KH4g25XsA0glzthb3.Hry
Output for 7.0.5
$2y$10$5IA5.QaVFuHtDQjRz11BWeL2oEdNR3KjqJhlYYIvJ8EggVSWEHKpe
Output for 7.0.4
$2y$10$isBICz5nrFYUAvhge.Yyvu3Z3PYg3k10uAuIU16h7fHqSgehy1LE2
Output for 7.0.3
$2y$10$9Widnzow9OIxCzwSv/hqPeesXgvc3HaN/OOzKw8jksAQhGrEFbi3e
Output for 7.0.2
$2y$10$ka/4EroWlXt6U0zSTCZk7uRJilAtvJ4grCPBxFYKBzKH6YzCl7HCe
Output for 7.0.1
$2y$10$qafrUJ05f8dyvexbmgqcLeHuAtp54YNkQc49zYDV0SLPoLL/uY7KW
Output for 7.0.0
$2y$10$4mmbS3xYXVc/MKO.D4A6CuL9/G2odmXw456ov4xWT2Xwmyzqh/wfa
Output for 5.6.28
$2y$10$7kp15olS4ex0KpcdMy5Uce9wu8f3GHl/g2BkiDaEwkpL2brJNkuJK
Output for 5.6.21
$2y$10$vf1EcMMJ5/V5oOTIkasSH.MS8nELaYSySKDfaxrnE/4sE8K35MnBu
Output for 5.6.20
$2y$10$C4z4ZHUhAILVZNHfBrWQkOWAj8kRfm2h/QFwZWDUEUjwj0m0x5WlS
Output for 5.6.19
$2y$10$uHYJGo4Xdf/U8zT2cPy8vuTpEoFdZDEQzAU5Aqm5GtebKqvgvfnG2
Output for 5.6.18
$2y$10$b5mudlPmbaZxWXV0xQW7xeLtoY7XCoBPlBkDs9MQ17I9ViFWsLyYe
Output for 5.6.17
$2y$10$84cgAyyrFTCNxvjfY1mZQeLN5GP20lVcBhL6g2wFpSlWQnvIC2eXq
Output for 5.6.16
$2y$10$9PcBbajgU53iyC/E2OU7SOoJtbcUewt8oI3jvEhZNRu/6KkOcfNny
Output for 5.6.15
$2y$10$ppeXhm3T8p5O45JKYPqV6ucAAHXwWRW69FRe/BATaKVVHZljTnXUi
Output for 5.6.14
$2y$10$6NFiFdLpytvaKwTEWWh5M.Gq0PIfgOo8cxEaV2NbC15vbFHt8dScO
Output for 5.6.13
$2y$10$X7SDzIgU1WBg/q893XsGgO5AbUmXbPmgxyuOIxkR4GkkRZb12iTTC
Output for 5.6.12
$2y$10$V.Jm7t1W.Oavn8zdo9LUV.lt.pI8ShxWiUu8cD1cnHjXx9tRcrP2u
Output for 5.6.11
$2y$10$0nbV6tKO8L.dAnEthHmLl.SWXPcgX8PKIsCabmaDentQjkSeOmjSm
Output for 5.6.10
$2y$10$6R66ZaDH2z50XHM26VAG..m/b65l/Arbe/nvCPI5smoKC0I93JkIC
Output for 5.6.9
$2y$10$wVK7mRyUtB4xStmscgJRHe508YevG7fSfLlNERkpgdjCm6.1I5NFq
Output for 5.6.8
$2y$10$op/UHAfULw2tpDfcoGLHbOiibIul/C1pvbxI7D/mMdQf2lHVTOTyq
Output for 5.5.35
$2y$10$vFUOWlnUjKzw9vQVrhcvnOp1zpKJ2a02J5nIePZH3lD75qxEwW65W
Output for 5.5.34
$2y$10$t9azvz/AvG6Vh6f4.PTaVOvad4fb1LjxNmWOlIpTIVElndOYc4cfa
Output for 5.5.33
$2y$10$IKgAlm.15QHGYSDEWhYMcuvKQfL9T119Bq/ehwm0IRIfIjTCXEuu6
Output for 5.5.32
$2y$10$jJD4SkmKc4d3FdTQDYLa1..MxyDZOvqQpQ/3AGgnAGFcMQd0dzgi2
Output for 5.5.31
$2y$10$kogmOcj7WwFB5j5FVe8NY./1RLgu0htCAXiknf61T.PseTh7dytDu
Output for 5.5.30
$2y$10$T7.jLjH/HQNKbXX61Nl4uOmdP62vFvSGT6s5a6hlxyIGtpceZEmqi
Output for 5.5.29
$2y$10$vWYtdrZEkqQ/HaYu0KOQ8e2K4Nh31Vp.zV1EMpZVUoZwjdrRUuFUC
Output for 5.5.28
$2y$10$z73Tj7yofxwdAvdoFiAyZuz4/R1p6dFxYDdnRa/TrOyqmuxC8Q54e
Output for 5.5.27
$2y$10$.yofetDR0OJo8o4F08cLl.ZAD1/a/OLiYtn4blBC5MC0H.5b5lpIO
Output for 5.5.26
$2y$10$F4DQuzHvYnKK/pZ8.O6YRey38JCxKqN7bk7DOdkNmuUFCUxLPGGPa
Output for 5.5.25
$2y$10$HiKdnQdnzPztaTRTDPiu8uMacKcUCYgz27xjJSdL83RZ.Zze3hFJ2
Output for 5.5.24
$2y$10$YtpJ6cP.4LoL3zguCZYqnO9XiSLew9RcjHyUNklSZUQP.H7U6J41C
Output for 5.4.12 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/9TO8K on line 8
Process exited with code 255.
Output for 5.3.22 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/9TO8K on line 4
Process exited with code 255.