3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(password_hash('ucd%$pine', PASSWORD_BCRYPT, ["cost" => 14]));
based on eqY5S
Output for 7.2.0
string(60) "$2y$14$zn2t3hMfk.J994ZKdaOMHeS/90DIZK9/PTVvL7Erhg5UJdNMjlyt6"
Output for 7.1.10
string(60) "$2y$14$mFeawYTui2x8ywcCN8ljBuXjPWwxRQecwwxnKPR/dzfRj0TrdhBHy"
Output for 7.1.7
string(60) "$2y$14$OFoySCpa6zjMYKlEU83HyOksXDM6MoObFa584niPT.3XlzFd8dHia"
Output for 7.1.6
string(60) "$2y$14$AHlYneW4FcUZ0SmscROYWeOHItYDfnZKpONUPNZ.3r4mqxvFFxlqa"
Output for 7.1.5
string(60) "$2y$14$cVZ6L8iZhnkrHG1ISGKLsOWRPEUbOzyW3Qj0LD0gc/XNzlvElUFsG"
Output for 7.1.0
string(60) "$2y$14$JjjeT0SgCkyc7F.vxhH0lu.vHWD54nwZomLu9x/T/sIaxVPQjKw4e"
Output for 7.0.20
string(60) "$2y$14$kvnrPuNpEJgJYQ7HMuT/EeH7bcw.9NCla1n391ZICY0e4Cswga3FC"
Output for 7.0.6
string(60) "$2y$14$P0T.BIpoaeQv.BX2TTvsku8XeKAApiOj.gXLY79qb.QflpSRqWlSa"
Output for 7.0.5
string(60) "$2y$14$P8oH3s4SpazjAzssb6QwBuDYrigYS.knILvKBtyfdMj5AyHzHydQe"
Output for 7.0.4
string(60) "$2y$14$piK4zY//jYWAW.YHEkoN0O9PXFCWKtlWhgPxeUOEmJ53n28MK0zZm"
Output for 7.0.3
string(60) "$2y$14$8OEOCCbix.VP9A5h/LT/GORUHWawRE.nzUTDUNTr.UG.oue5QmfOC"
Output for 7.0.2
string(60) "$2y$14$EPcMXTyI5ileBNlnZBn7I.Zl1hqQTh87wa4FVn7v860rt5fyd1joK"
Output for 7.0.1
string(60) "$2y$14$P.d5xldped2ws5WELZ0QoOQiC44sRSfaGOjPneXRfDicgjEvIiYYy"
Output for 7.0.0
string(60) "$2y$14$sR0gG4vm06.4BHXJtKP47.VNMJ0HYWpdWVDPEY9jCl23yeiplM3fy"
Output for 5.6.28
string(60) "$2y$14$9naID7/wnyzuHhTDMDrwwORnpaf0yNReddBgm9Ro0GCk2gdD33TYq"
Output for 5.6.21
string(60) "$2y$14$NnIw6.vCKeYb12JPUBF6/eq33espFyMIBaBUeaaK3FIBokekpMpxe"
Output for 5.6.20
string(60) "$2y$14$6U/DRfB1l2kRWZ5EY95JheCNmDGsSuCNZMD7XtX8yedMUIl1CAHZ."
Output for 5.6.19
string(60) "$2y$14$cU8ZhsYYdfPCYXi36fT8cey5TY1L5GciiRu0Jr5/zjgm8xvlhTEze"
Output for 5.6.18
string(60) "$2y$14$BTErzXQ295cmw1U0LSzUJuIk0MT9Kzo4ePvDvvYpsMR/5UK6xgi2."
Output for 5.6.17
string(60) "$2y$14$WVosm4X4s4iOBejqLAZ.keZqRHUoegb8V4JB2SInqXWQaXTxeks2O"
Output for 5.6.16
string(60) "$2y$14$xmx4aC6qXWedrq7bn2K9L.NBegGSV3z8I.PiYBe3d3h5Q4jH.Xwdu"
Output for 5.6.15
string(60) "$2y$14$aGY3DXZSn.3qTzaaAoI7ye3pFdY9NX1OzxMCacZTPpFs7AhKYe0CG"
Output for 5.6.14
string(60) "$2y$14$qseqbhAe5DnqYJlyL5rab.DTbPL/2sFDWkxtGP.fy4n7izZvyRtWC"
Output for 5.6.13
string(60) "$2y$14$xvc.ckTd4jE.8ilmd/rLA.zX/ye8be8/sHYizMUUTTn5vjCJCYHgu"
Output for 5.6.12
string(60) "$2y$14$ANCUyoEtZqaktP05w9iw7OBbKHvVxNO4e6WPktMWn8JxlQ5F6kkL2"
Output for 5.6.11
string(60) "$2y$14$4QyF0w3alIXf.941AuBr3OesQ0zna9.Ild5AK1seZtu3.V9irsdiq"
Output for 5.6.10
string(60) "$2y$14$W4y8jD3V3F4/a1tCLTlKxOE95LbB2NVLutCemc8qlTpDeef4jFI6S"
Output for 5.6.9
string(60) "$2y$14$kcZzQ8rJsSqAB5rymmnUhOaRErZG4cJeyQ3vYbF5TWIq2CaQH00hW"
Output for 5.6.8
string(60) "$2y$14$EI1gYrGyXDrawevfXRvaV.GNWO4vvkem4XrTk10ZDHZvKRRNmeTmG"
Output for 5.5.35
string(60) "$2y$14$Ii6k23vUu31XO00XGIqNtej6lxQ7MuNe.RjgrkZdjRfG75yRBVGuG"
Output for 5.5.34
string(60) "$2y$14$0cm5QN2yEeuGO5Rz/U42reT4ifBU61YJun6sErcvky4lIEpUaldDm"
Output for 5.5.33
string(60) "$2y$14$SVh62qzTwfplB2wRW81hIuIwd07cnJqv7Onw712TA2gqrdpDoiYzG"
Output for 5.5.32
string(60) "$2y$14$wb9tsUCVs232gcCu/GCaruYyEfEYIS4F8WQm9IChaQBE151wN9Fmu"
Output for 5.5.31
string(60) "$2y$14$UwLJtPaWlILYWWPDnYAG5.san4livjgXvSRwhP7P0Ho4M8zD36nSm"
Output for 5.5.30
string(60) "$2y$14$cY4C2tvPEOUmKxn8lAJP.OD9psT7ZC6jDE.VKKvftNbOEgpkXsYI6"
Output for 5.5.29
string(60) "$2y$14$VksS69KqMiIj6GJJomdPUewG1eP/xLoNnFzHltBP/j2eTssw5Zf2a"
Output for 5.5.28
string(60) "$2y$14$w37kltt/j58GndWVlVvbrOlU/xKGZVvyfUojR7iOrjdFW6wUBLHDa"
Output for 5.5.27
string(60) "$2y$14$HQB6flv1deyB1kEJ.pHjAe.ob48fcISjWPXxQfa5wGgZrjebtpJg6"
Output for 5.5.26
string(60) "$2y$14$AO3drKLEvcuo/46GwQAIQ.6cE4q2Uh4BOqwZz.5ewrVNjypNuwqcq"
Output for 5.5.25
string(60) "$2y$14$qEay9HRQSTGjI.Hx5iLPPOnWi.Jf62Gu2nfwPudxvXqbYTHLWWWfq"
Output for 5.5.24
string(60) "$2y$14$qnQLdo/sDwCu.nR6vRWhT.8CwzIOcK8NUk41gr5L80883NVZQOXxu"
Output for 5.4.7 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/kfkmA on line 3
Process exited with code 255.
Output for 5.3.17 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/kfkmA on line 3
Process exited with code 255.