3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo password_hash('test', PASSWORD_BCRYPT, array('cost' => 8));
Output for 7.2.0
$2y$08$fdAYw4cO4hhLX0DaSJfdie.fz8OAgD0S/V4J2wuCckxup2hkifD8S
Output for 7.1.10
$2y$08$KUO2PquP/te1RU7vrkI6Duu0HdKaeWDs7ylCnRR6FmYSjnsple7GW
Output for 7.1.7
$2y$08$mWK.z.Odgh8Po9qSV.eT0ukQXc90GtdYpPtBU5JRxc0Yywn39WKNm
Output for 7.1.6
$2y$08$9HIC.hCM/48YjIeLQIzepePh0gq0o42McLfrB/A1n4LmM4s8LUYGS
Output for 7.1.5
$2y$08$gQLg4G9DGsNVGca.BmyPkuLHvlm00YLI0jV/WNJ2iq/cLqyPDchE6
Output for 7.1.0
$2y$08$gQ1uw1MVkVUSLYe0VhC6hOnk/SId5IyVyqA1XVl2ZCouGUbJHl8Pi
Output for 7.0.20
$2y$08$fenjgav40f87SuVT/c.l4Osmfo3jrESDWEqTD2Op2a5LELap7olJG
Output for 7.0.6
$2y$08$GwBOcYBWzL1B/cj.kyQOwOdtonlG.94v4wQnvIJNsfyKxTtMY6qC2
Output for 7.0.5
$2y$08$pBA7/JZerPN4f7.rZFcfze73rfSuqPijZJg4sS41jQ93VRrsxM6my
Output for 7.0.4
$2y$08$AXKc9Cd2ANhWlf6hjVZTZOwQzU9Y7iOMc3o2lZppOgcFXOSKicJWK
Output for 7.0.3
$2y$08$HKWgIGzYunUwlOtkl6DMYuPGdZJbuuubMjQCg.V0Ify7nfLY.FviC
Output for 7.0.2
$2y$08$RxAcrUkO11ZQDbX0iK39kOm15eUpzRiZbVCfsd4XHX7Fq3qdXDCiO
Output for 7.0.1
$2y$08$MdCubfbS5msBWL9kPadQfu/733gkDlvTgxijWM71NsZRteyPUjK2m
Output for 7.0.0
$2y$08$.J9Kc4l0NAdHdUmuWMADEe4A2Dwlgbhk0M3B0GgwSHq9cAEZ/z.2O
Output for 5.6.21
$2y$08$izp99l/Ee4eV4JWwuM2cMOGD/.ZZqCcwDdnXcS6JD2nk7kO1yMn1q
Output for 5.6.20
$2y$08$UUjMTRES0QH0mKC8dahjVuBuiHj9SewqdPy1z/Yur/ka55go/IDrK
Output for 5.6.19
$2y$08$5wWC4U57SnZprEq8GRpuxeC0AByroT/6yJ9o0VmFNIRC79fQUpGyq
Output for 5.6.18
$2y$08$MrAbfsTH2Ohyy8bQA.0uYOxRA4kRzpVVoxiCBBR6ncrqsnhMhJpQi
Output for 5.6.17
$2y$08$SMRv8qFmazdWc5mTxNiKGuyvrjkJLy.tWEYiKu/7kM9DulPI0gqRm
Output for 5.6.16
$2y$08$BIsUvx4LyG4yRGLh5eecnOV1GfUf2UpiHPYnH7oXp3vOBv8X4.5bG
Output for 5.6.15
$2y$08$KJRzswv7TToanvMBBqnaC.ra7QiCKVGanBpgaVaawvKjD/VE9IX.6
Output for 5.6.14
$2y$08$f9tiWEZCHoHXuV.NZUxR7u9jSpWyD2r5qw5uQ7wEwuSwJEDN3MLkW
Output for 5.6.13
$2y$08$qti7vmB13XwqmvPRI.6R6uTTsqpJX.AZdsVzxoGuVAAqCpUlv9cJu
Output for 5.6.12
$2y$08$en5CQ7x2xI5/O0UZopwBaeK1prGFhvvy9I3Ajx.uSC2J1y8JQm0jC
Output for 5.6.11
$2y$08$MDai4PcUflqwbMfV1pBAy.4XuQ7yUsvewxSQFK.OolPOlk1kftd8y
Output for 5.6.10
$2y$08$Pj76FDN/koDxklBXqB.CceiMultqBgaDS878aw.byZi21kDXgzpXO
Output for 5.6.9
$2y$08$Gc1SwCwOVzHFKq5hj7Zg4OjkPZTvlrkhdPATwoNJzalmzlOzJsguq
Output for 5.6.8
$2y$08$xqAeHx/YczXaPWI15p.3LO1PSdJpdB/J0yS7hmBzymYZ/44xp0Awq
Output for 5.5.35
$2y$08$U4nI7dSIJ.DkQjpCoFBmjeDFw242sQMZO0xjIqczgLHkUS3vrsjce
Output for 5.5.34
$2y$08$Jw2rXTg3MuTa0zQ.11aMb.9aUv.OFFHM8fzTp/9Klz1U76jkO3W8u
Output for 5.5.33
$2y$08$YsndA8sFW9eSOqDimsXB9O1XXp/YXIbWV.YTUiQeilpS/hwJ9qM5y
Output for 5.5.32
$2y$08$IkXlx43a.MUvXnx8eQEgzO.oTIyvno9Plkdq3mIdAHfv7ePq4V6lS
Output for 5.5.31
$2y$08$QnEuG7.QmcN7q3vFMmGkceYDf3ujbv1lW.yAL1RgelhAbaU/pjR8m
Output for 5.5.30
$2y$08$GZg0j27htmMmzw3si591oui2X54PKldls7eVg04UYjuht9eVMHOey
Output for 5.5.29
$2y$08$caMkLrmhr4DwpCvko.AXx.JBw/Mik7tnxIRaIdKhD.qGLbB537L3y
Output for 5.5.28
$2y$08$3Q/2UVuDGzzhl2Arakt3/O9OVlVVOUniGRNzE94o7dSO3k3oDQwP2
Output for 5.5.27
$2y$08$ztIwy/qCldwfs2XikjJmxOc2KO50eaA8KclDGpVQewxUNIrrdwB2q
Output for 5.5.26
$2y$08$Ydxwy9Hjn/YnYJJlRLuqXuH/0pJQI2p11BFICcaStMiO2D9K3ReSW
Output for 5.5.25
$2y$08$nGad4kYcg6QvgPg1VFdCderJyviKKNMQPjghg1Jfo55UBlWCIcrIi
Output for 5.5.24
$2y$08$48gqkAsfji0yVZyTK4CH5es5l1qTHVjYsnD.Ifb/2fmwN21JNHXeS
Output for 5.3.21 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/lsHdJ on line 3
Process exited with code 255.