3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo "hi"; $hash = '$2y$10$HuTGhWPl09BdtFIMCkj1de8Ica9YO3Tm7Rby5O2G1D44XJBrYCzOa'; if ($p=password_hash('c2b0bc68142c68186eade8dc8b31baae2242fcbe35ad4a93341cf24549f605b1', PASSWORD_DEFAULT)) { echo $p; } else { echo 'Invalid password.'; } ?>
based on 5Dro6
Output for 7.2.0
hi$2y$10$Qq97hV4fh58EJcteZ4zYveDG0jBMrdgLppn094x8eTBEhzw7LxpNe
Output for 7.1.10
hi$2y$10$CptidU1lrHC3nK5.a2DLIehVsYwPR386Dm3Cd3WFJ3tVZl0y7MMx6
Output for 7.1.7
hi$2y$10$bK1dfDB7PasUtvP.bmMXROprfdybyJ6blQGFlIijQ/7qLEI3nPwSW
Output for 7.1.6
hi$2y$10$eZXjMrlxvwqWbPBe1Am/Tu5lKFp8oTcNYB8KPlI4hX6TgGoQEuD1.
Output for 7.1.5
hi$2y$10$dYMuSV88uIfuDDzuxF9cauEjvoaaIpZnwnmRa3/O5bgH01uiTxOOC
Output for 7.1.0
hi$2y$10$cmN6bmXqk13xN67mZFMi2uW4bREfHT6D.Xu2hWVgv6q0TWCQdR3ge
Output for 7.0.20
hi$2y$10$mW4zksmzC1UDTmv1crYPy.n/ktIfZN3N2T/v3ituA5fFVbahzFO9q
Output for 7.0.6
hi$2y$10$VZsgUteGvAPCHQT7MiqPzOfKjBNbRLig2kAO8Z8k2LfONdR8li2u6
Output for 7.0.5
hi$2y$10$ujG0Nkhl0lHiOoe2TAJiauj05JMxCX3mxjIvgmXVXLp25PwzpDbMy
Output for 7.0.4
hi$2y$10$epvOuTVcmlv.3tlsxlPls.Tot9kA5PynxCnsJuVTYi74nK84odYSa
Output for 7.0.3
hi$2y$10$a28VgSBwXflGw32jFYLaSO/FOqPmg08UGbyd8MgwiGpDfd4t.mUJa
Output for 7.0.2
hi$2y$10$WmdQ/gvvyIL8KaIw/ZsdLO9D8LZlHPiqkgHnY2WYtPYBfpf/gfT6.
Output for 7.0.1
hi$2y$10$Or77DMsgENjfvvkTpwicFu8lxlpOr3nJ5SLXPo78aC8S1bfUsP4ve
Output for 7.0.0
hi$2y$10$z5TbVgD9diVIdG4250pB2eW9.UGK3i96B6xWn/G7pdGV7HCn8b6ii
Output for 5.6.28
hi$2y$10$9JYkpuH4bmVPAnkm0ZyKgeEnKRZInXQavS8o9OiJVANYzaQo8nFvK
Output for 5.6.21
hi$2y$10$E.Z5A1wDvJbv2KOUhvIX0e5XbWtuGwDsdT2wCc8vyRHGFWcyVlP5y
Output for 5.6.20
hi$2y$10$Jg9NXXF6QNChCVwRKJP7G.uGdsdF/rU8ywwF6gZTB6Eg.OO7Ibp4K
Output for 5.6.19
hi$2y$10$.6BuhR24ZC0jpPalx/41aebObtNy6nAMsstXPchqYJVAtPdH4U4lK
Output for 5.6.18
hi$2y$10$2xyidwg40mY7fVLJYZNXceEIcm5YfsS6j53EuyPWN6SQMNzHEzw0q
Output for 5.6.17
hi$2y$10$Wod39hiMow4dwLJYH0IBLu/n153bRl6E8zLv6n3ZboUvQ2NSYR1BW
Output for 5.6.16
hi$2y$10$pBdnHO/1CrMrfMmM4Kq4vuEWHBebwhkPZ.G5laK19Jq7FQhD/loZC
Output for 5.6.15
hi$2y$10$IYtqAAz1ULcfX/X5RwfX0uDkiN6pTsblPnZ.wTsGY4egbLx9mMRe2
Output for 5.6.14
hi$2y$10$cGbKJxEkpoRPX1chJt1tne6g2q.Fsey07OrQxtX8XM8u3DQY.ahMy
Output for 5.6.13
hi$2y$10$QX/vkZcce9FZ0YcjfxKnceGeTO/RPW0MYJRf0vu8Du5tJ8/ihArf6
Output for 5.6.12
hi$2y$10$L0A9yhwLmBdgjS75A9rGzOJtul3.R0a6zQ/jk8tHp2TH4WAu3clDS
Output for 5.6.11
hi$2y$10$ds1LJ2fezoPHz1OubqiQvucuMOh8s7JRE2N9NWANtvXUHKOqn61ta
Output for 5.6.10
hi$2y$10$byu4zknKWMx4E5EiwxzYSuQy3W4i1Cgg0q/0lrhQawM8HiLwBqA26
Output for 5.6.9
hi$2y$10$YxCxnnMziFBvZIqSDVvxauVkAM3aZmr7cm/oe9drGElFfnwcM4U9i
Output for 5.6.8
hi$2y$10$.RBTzGAQbUyg3Mo8FJDt8OgY2FE21U9NPWF1QHqGrlrOWkTpT4.am
Output for 5.5.35
hi$2y$10$auf5bV87a/VyFCts7TZScObAIq1S2pbTfjfi/ergaEgUDMfzI2lui
Output for 5.5.34
hi$2y$10$HrsWWEq0WAYslagiItvEye/jR1mFGBJle/QDx1hAi1r.DENiwLivy
Output for 5.5.33
hi$2y$10$aNPeT7mQpvO.A./AjHkSu.j7ubs1eOZXfz6WJqJeIx2rilE36giaG
Output for 5.5.32
hi$2y$10$I9uawZsXDASwhbPFvDtwKeYBdNXBILSlSSVxk4ZQj9/hKSNRuemNG
Output for 5.5.31
hi$2y$10$4Qx1EEiNF0swzIgPZEcXe.Z86XdPmg1SctuhT.DQ2vQTrFyPDyBJa
Output for 5.5.30
hi$2y$10$NIpDGRZpxecOTp.UGOWtL.JpDn/O/s4Lpqyo2TZxdGePubYJS78HW
Output for 5.5.29
hi$2y$10$inHBFcxrdQ6FBZRezcNzzu33AOSiZ.88YF0P0v68LvRsg96Oi3P7u
Output for 5.5.28
hi$2y$10$Vbf4olfYchxhkQpKmTZMjuLqA1rlqRm1yl9lDE6CddvroP1iKjB6G
Output for 5.5.27
hi$2y$10$57Jg3krBEX7UZtAvq/eJ7uYPCpIUbZUMkxqZ/fSnZB8pn488zeKBe
Output for 5.5.26
hi$2y$10$ItDGQDQDyfd6yTniYxrKy.5m.uQ7TBwAoqFNgtLNvvAKxuoLigV/2
Output for 5.5.25
hi$2y$10$5qcyHeJ30pRRFquiwIynYed0x8.ZkwN7UBLMyaJN1BlIOTKKfsDC.
Output for 5.5.24
hi$2y$10$uPkH8NOvPlQbNilIEvqKjukNvSODdi.vqEsOemk77o/gIHs5Vx8vi
Output for 5.3.20 - 5.4.45
hi Fatal error: Call to undefined function password_hash() in /in/S8U8D on line 5
Process exited with code 255.