3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo password_hash("test", PASSWORD_BCRYPT, array("cost" => 10)).'yyy';
based on Xcent
Output for 7.1.0
$2y$10$sJ4qXXlXqxXU6tvcmwh8rO0wv./V9D.4mehk/NrkhiHN94RaSZcF2yyy
Output for 7.0.14
$2y$10$nU2J9e2UaCF6yyArf9phVOfG1gtDxI39Izq7wEVO4Sfw8nvTh0/Qayyy
Output for 7.0.10
$2y$10$lHCeJfQ2ZQEPTw2M7MHiLOs2jOVa47dQsBWZ7zYtFF/C9j2DPGSNuyyy
Output for 7.0.9
$2y$10$eK9tL2XlWqFWiDRJbnPnG.mbCyVIdzQ8.MhzM0xgRXYFow3cwkDBqyyy
Output for 7.0.8
$2y$10$ZNJ0KxLUs5KSXQRqCIp5wulXRjGlHtx7F7N5ypM3upi4bXZUyjsIuyyy
Output for 7.0.7
$2y$10$k.Wm0LquTD5Lnlm3561U6u8kH6SpR6ff4BSa7nAnFMO2ukgQzlJbCyyy
Output for 7.0.6
$2y$10$IZ5lZJ3gQrCn05ZUGawioezkJ0OTJAa/LDcqtpaV0BOmP45OtjAQmyyy
Output for 7.0.5
$2y$10$lxG4Q4EnDAMfETvS2Z2nC.0XYZNFUuZxTznWZkm7KC81esRss/TpSyyy
Output for 7.0.4
$2y$10$FhMGXyy8Mj7n4JxTYC/0VOXfHK3YB0mN9eBJVhGbMg2IrsTy.0Vyuyyy
Output for 7.0.3
$2y$10$oAUNWv2XG30gNXZ0FV4r3OwvWSTbwb9u1ZW3gAgFQRmA1GgVFoatyyyy
Output for 7.0.2
$2y$10$zmLwDXElTmwFYuhrZmunHuRTxiCF6dyIBNMSFqbhdaK.bAr.EpL.uyyy
Output for 7.0.1
$2y$10$EBc4myjwMIH5JSUrM9h0AeZWuc7Bo6MLbq3NNWplJMBKrPgAp2J/Gyyy
Output for 7.0.0
$2y$10$6/5U69r6wUOmV19wRp86EerJv8E2bPCsUFJ6FSub8HXsPA6GG9FOWyyy
Output for hhvm-3.12.0
$2y$10$KF7Zpi//OsmfAGwHvdj9M.MxFbZQlLJ2tULZkr6nKggwDA3QvJS3Kyyy
Output for hhvm-3.10.0
$2y$10$Q6uAXjMHVOdwVyISy.UqfuRj.604hwaq9sjE2mFePbq7QDXK1ySo2yyy
Output for 5.6.28
$2y$10$C1aLXVc8E9GbNB4YqnFOcOYWyC0enJ8t.fjBOFhLkf5.QN6nPKBHqyyy
Output for 5.6.25
$2y$10$h1NpbC8VLiaLW8j3W61L/eSGmVyHtm58gWGiBQo.L29UlgJ.7WO/myyy
Output for 5.6.24
$2y$10$Co/b8iQpI4DTIqDYF2crwu675OhinPj9rbABpkK.04.ebx6WuPht2yyy
Output for 5.6.23
$2y$10$UPTrqYk3/egSIbsET0oupuM8l.PiFxOLoRHDpQK6AiAsOSCp81bgiyyy
Output for 5.6.22
$2y$10$cSB4WyVDsOFBd0VrG9.CCOi1bM3oXWWM38L0wdqFE86/SZEoleHneyyy
Output for 5.6.21
$2y$10$6SFSU4SG0i8WPQatnV55WOVXeHkElirXMq5m9Naum5WTmT/0limKGyyy
Output for 5.6.20
$2y$10$t66oMri05IsZ0e5UzQwuNeIhutKpCsKm2XH4mwqjkqpWZ0TytgMweyyy
Output for 5.6.19
$2y$10$xdZ2XWwINzg39QzMh2zZy.2JGtcvLZzlX5A1oR.I2pBAb5KgYdWKqyyy
Output for 5.6.18
$2y$10$bQ/bbr4iRGaAgbOcdutxVedwBeqaOr/WSgagEeOd1/8SE/cE8X1Cqyyy
Output for 5.6.17
$2y$10$9m9avGPnstNlTgCCSlYO0.9EQNiNiLLqwFCNoqQWLYeAMfbcfqPbyyyy
Output for 5.6.16
$2y$10$87P8JwPS0TGKDEEg/8N18uxRxN0JRJB/NoWc9UKNY7mgkV2pH7bZKyyy
Output for 5.6.15
$2y$10$tt/dhfzIV2NHERH8qNA3we6j1hIffSKOstRrUSBGOjxjeS1LF6jASyyy
Output for 5.6.14
$2y$10$lD1cFuvjZF/M7PtNTpB2wO3Mh/FSryUPgIK8WNmTfLFpqDkWNsrZGyyy
Output for 5.6.13
$2y$10$2PNnmhB/E.al4CuXkaruluHhx3X2xYgcr6jpq45ZaQcswME5twygayyy
Output for 5.6.12
$2y$10$vFq2EIY9pkhx9m.TeahzjOfz/MrwMfjv9UYBn0UVAg2y2ZvMllu/myyy
Output for 5.6.11
$2y$10$e17J7iHsFCfgOQGYKKs7NeNxawL4J97wqJyAAf8PvwJBNwH.iq2P2yyy
Output for 5.6.10
$2y$10$JlkxwhGiY0n.4tfwNwcJdeZk9EwQe9pvXdMXPNf08PiKlOG5Xgq5Gyyy
Output for 5.6.9
$2y$10$qVdSXfcgS60kzwgLAIFNFORKjuHaidKp9fi1qPlgB9EyhscnJoUm6yyy
Output for 5.6.8
$2y$10$X9eqdsuTKMnJSlDwjzjvr.HdyJcEPiJ9ZkPKLFGWo95kxgHGqrJmmyyy
Output for 5.6.7
$2y$10$4tfHm/jTVMFrfTLkLGPgSesUhrV.3Vkshxv9i4E22eyHtPw0DnkOmyyy
Output for 5.6.6
$2y$10$.9pr3Luok0Pbp8N4/B7QV.FMWGtI3bqS4e.iv0Cnrt4M6/la2nhqCyyy
Output for 5.6.5
$2y$10$vZxb6qgr/RVVRLOScTWrIOOwv1bYXhATca3pflRJ.VKlU6vKWdSY6yyy
Output for 5.6.4
$2y$10$uF2LPlP5oAIwKel103CAx.amQfoWJEzQRYxQoxNrKCfbynTT5jN3Gyyy
Output for 5.6.3
$2y$10$/0qXMd4RIasduw135HXVD.cyEmcXI3bGvfQtrCd4DUDpHk9yB4MbOyyy
Output for 5.6.2
$2y$10$cAhp6rFqGe91heuuhFDhMuE1f121dFX.Fe9R9yIgiog8/jXWM/SmOyyy
Output for 5.6.1
$2y$10$lq99e.yzqNNVrigaRXlmFOALHZHRFAWt9Y/bxx5gNw5WXsTs0Z7fCyyy
Output for 5.6.0
$2y$10$onpb/eO5YohrN34MJ0xeRuZCA3dsFYjJBaHMvywCcHySwwBit4f7iyyy
Output for 5.5.38
$2y$10$k07UfUTootIjcNiTcfj5Qe3tZIlW8dHCIuGmo1X4jQhnkfmzlQZSSyyy
Output for 5.5.37
$2y$10$4Heeo910dSm0ecyuCWtZo.WAT0VpxMPD/.Fvp/hiR4G4NsyZT1Hyiyyy
Output for 5.5.36
$2y$10$nVikac8sWS1N8.bQJmdK9OJkYI.BmPQqFiCnEzNEsb0KCVf/2dmC.yyy
Output for 5.5.35
$2y$10$q3j8X65FNgqAKuEgo7lPzeLXUgTs2XvRPp/Xti/Hk1zQOKv4HiQ/myyy
Output for 5.5.34
$2y$10$HzpxWLxU15hEYgYeCboVweBH2BKKW.1uzVWeys1kPMX0JRdqWuP.uyyy
Output for 5.5.33
$2y$10$1jrOtslP6QZYFi0tbDGdFu36mNQhf0WZfNz52wSrZQtxBLuIO0Bxayyy
Output for 5.5.32
$2y$10$Hc32O5xXRFZXG4FH.l.JGOmy614Z4L7O2w5gMgZfvSl9oiyReXd3yyyy
Output for 5.5.31
$2y$10$AA/hSK/U8PhjnSLNR1GTn.SQW/wzvgVYobYT5QDMnV4O/mstjKRCuyyy
Output for 5.5.30
$2y$10$raa/J/wPWg9bjl9Qz2fGBu.5eigssl0yRHYx0Vi6GDVr/si5ph8VWyyy
Output for 5.5.29
$2y$10$/PO0NzWc4py7Fv90ZpAaqeVv/hfCbJK2J1bwPYCEhB8CjVX43UG6Syyy
Output for 5.5.28
$2y$10$QsXkL.xeku.BeO98ki7ZAeeiIoxKM0ucHhBM1a4m.e8bdH.VV1FGmyyy
Output for 5.5.27
$2y$10$Ai1YuyTaH/sUFCI9YIFBsOjlqRlMIzuAT57hg2Zh5038PNOzrWAO2yyy
Output for 5.5.26
$2y$10$jut0me3md0LZCoeNjZW84e99/Z8bDb2sIvyudRr/ublDnHNyihBR6yyy
Output for 5.5.25
$2y$10$f5h/Mfdk05oGPwqkobSluu0IH.Yl5XVHKx.57P90G6tShrJNk5AKayyy
Output for 5.5.24
$2y$10$pqPueveErg95ZDLtHJDBWuMuq21dsZ61HqgwCqGwy8UD6ajvRCZOuyyy
Output for 5.5.23
$2y$10$jDtoXTpRoT5Nerx8UNVZ3uEq.iy7KA41X9vtcF9ddSNkLsplw8ZiSyyy
Output for 5.5.22
$2y$10$awF.cr6jsJov28EZzadgxeUCcb4SqVqpEjHx8bHuBRP9uFQ7fKuXiyyy
Output for 5.5.21
$2y$10$gizYePBYAbzMzPmnbm35OuPSCNM9ZmAjQBCD3RRdXwN/R5mUMkFeSyyy
Output for 5.5.20
$2y$10$PL0H7gxWo.D0HsYGjIoaquHqh9OZmS8dSNb0VXZcwqFo2IPUabbfOyyy
Output for 5.5.19
$2y$10$7gn9b9bywyiRm/XR/R17cuJUhCcc1qyy7Sj29s1rOZJGYwhvyjFg2yyy
Output for 5.5.18
$2y$10$EBkl55RTu7NR.z8X9A7QKu/z2CewCbsqjofIBPSvwMpp5V.l56YDqyyy
Output for 5.5.16
$2y$10$AvtWDPl9hvPNa2gnTaHgbOcviXyrlJhZk1C6fLRWDYAL4B7EuS7O6yyy
Output for 5.5.15
$2y$10$GUhz50aPdEUcYL0KLV/D4.p11KDbUoVafe9Q4ENqPLcidV50CKdZCyyy
Output for 5.5.14
$2y$10$KuE4c3X30mY5x6bkw6I3aefHT/z5V1/ueB8vFQLCZSWgnDi0zkYkSyyy
Output for 5.5.13
$2y$10$x5MFGUxhQ5TLwr/rR6NKfeujPqyywdCt96I0pkn3Us/fR7e4bg.vqyyy
Output for 5.5.12
$2y$10$KzGbrVutqGF8leyK1M9BsOcZt9ABlYS9vafeBu9iqLX3IXRnEU6HSyyy
Output for 5.5.11
$2y$10$JkJ69u4eIUC4WLiKTRnP2uFKSKbqeZ0JAaUBUytHHtUyxnw3LfLhCyyy
Output for 5.5.10
$2y$10$C4AoJFSl3o.iwgqLXoKwd.zWBm1wKzOsfvZ.Fxaf5I1cyWRTYk2ZCyyy
Output for 5.5.9
$2y$10$8W3uvRYfBAGmMg1P9haZM.RjsMwOnv846quR6tR.u7oldHTFVjG1Wyyy
Output for 5.5.8
$2y$10$24Iadn4dEqS9BpUlNOUlAOx1a5kXUq8GfQSuXLT6bLDOWycUeU6ySyyy
Output for 5.5.7
$2y$10$R/gnlh5NzF4Yzumr8E5ruu4ouMwV7M4Eh/Q7.svjpsTEmZJFwaPo2yyy
Output for 5.5.6
$2y$10$RojaKSsOkuvqxIyXM0mIqOgSBh12hYgItb2LdTdVpoKCS1NXvuC/Cyyy
Output for 5.5.5
$2y$10$pkoi4tMNXjy9N1Ed1W5ia.0vyeWhT88hEKdivVsKvTwafsN8d0x22yyy
Output for 5.5.4
$2y$10$VfSszfQukKpU.hbaNMWuZeLXrVm3UwYAu0IVCemab/HpEU8l2sPa.yyy
Output for 5.5.3
$2y$10$8k9ypTMheM6T17iOS9zMBej1HurrQNiQgjTUYK/sldjBwephABILSyyy
Output for 5.5.2
$2y$10$0u2fOgSQVWEIQu0kk14u.umXFlCB1h50zHvmTtp7E94fO.hoghP5iyyy
Output for 5.5.1
$2y$10$TeMBpyZS/BQkwwucwA9F.eQc55sIk3FWkrdGXU.CHarCRjSRxWhWeyyy
Output for 5.5.0
$2y$10$ASUd3ePUD0h8EAC4zVFaB.NZ5EbLMpPBZ.ERtB9HplsD0d7CmqV8iyyy
Output for 5.0.0 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/sDlMK on line 3
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: password_hash() in /in/sDlMK on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: password_hash() in /in/sDlMK on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: password_hash() in /in/sDlMK on line 3