3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo "hi"; $hash = '$2y$10$inV7Rm56EYqTnjJiZs9PM.RbrawziMvArUb'; die(password_hash('heinz12', PASSWORD_BCRYPT)); if (password_hash('heinz12', PASSWORD_BCRYPT)) { echo 'Password is valid!'; } else { echo 'Invalid password.'; } ?>
based on Rdclr
Output for 7.2.0
hi$2y$10$6iky0p9.ZP2ePjUksxTja.pMZ//MRCamJxKsqwrnPCzLxwXTZYqci
Output for 7.1.10
hi$2y$10$kzW3iWvd/D2T6b9OsVb6euT/fH1KJtZJS6EbA0G6iZGSw3VP/rYtC
Output for 7.1.7
hi$2y$10$P3qyEPdgEieU09yjmPbSiuEXVhtz7J2443X99jjxWS4GCBDWPqax2
Output for 7.1.6
hi$2y$10$PWUkben9reNGYq/2g2eDOOik6X1EFJzbJeoz85M4fZbKS0fA3g4jy
Output for 7.1.5
hi$2y$10$CFz6VhszDn9eIu6zdwugHelTctnkg/bneBAhE/8HQdJQCM3SR/qj6
Output for 7.1.0
hi$2y$10$YKOEVFXr1s80uU0LzN/TGOCVpDOuzyletPxG2hwgW5GNrOvq2JFLG
Output for 7.0.20
hi$2y$10$8LM20nAPuhG0FaiE.9sGHuA/keBOn4HFUuG2937C0vW/Vgk3YXaZK
Output for 7.0.6
hi$2y$10$UvAC91XlkmexJ72xR.e0runTWI4rhk.vhT.tY7ODsQt4bB1JrcyDe
Output for 7.0.5
hi$2y$10$qUkRWDIt526v6kmft5H.duu9Qw9Brfzg/6ko75G3GXhC/QBb.vsl2
Output for 7.0.4
hi$2y$10$E0zT8E.gfcRmpOPzBXEEgeRhuciIC8xgevpGFgOPr7USh/xhnYutm
Output for 7.0.3
hi$2y$10$Hq6ji7DQP8ayCqfPyTuVLOMrrrphR4GEHX1mIDeEabHKutTOJZ5k2
Output for 7.0.2
hi$2y$10$PG1mfEl3h5Tl03y6WFfVeeantGnljWl3fc1grfcFqLvlJ/MqkJ4W6
Output for 7.0.1
hi$2y$10$Rmu57fZ7/XYGBj2RE8iJzOPfEwusnSqemyn406WVcEPhtN1LJ7EAO
Output for 7.0.0
hi$2y$10$iSdFf1y.xwadE4RuKqMS2.B05m6vkFK6DnyDjeOYyO84oqVilawy2
Output for 5.6.21
hi$2y$10$51s79nZ.tYw.pcVA3kp3Qe9o6wrfDDtBd9oy7dM9qdSmdF9YX18Qu
Output for 5.6.20
hi$2y$10$YFH9bfacWW2.GE6GM2SiduUOcexd3.johjjEiI/hw9jTBe1mXB4IO
Output for 5.6.19
hi$2y$10$kYc2REBLEqk5Qs4a7lT/SOcLI.LHMwmHTJAIJ4PAYsg5vuyzbMNSu
Output for 5.6.18
hi$2y$10$8tE8imZuErpF1mGCN95XCuF/J3Zd.cmoWxevg2enB1CdAFvrgqFpW
Output for 5.6.17
hi$2y$10$P.aPXO2Z0m3b0DUP.iR.o.G/kcV3aEB8CBq2S3ZKy/KbWpn6ktJai
Output for 5.6.16
hi$2y$10$d9eoOGn13YoXU6882vBV4eD35bbn6GTq3CRCCRQgHi5W2EKVvoiKi
Output for 5.6.15
hi$2y$10$zVCX0Sn4RLcwVTUzNYAcEuybKv3eUnN4hnqZIXaGXDPlEuDJ6FlPG
Output for 5.6.14
hi$2y$10$1kigM.jqDQjZgc8SvOP7qeXj8ZX5AvjC2J4jayd4MOwYBG6.Vx2SW
Output for 5.6.13
hi$2y$10$/os/ixdbLrhqhm4DhFgh7uL3EnnvKaIdGwQmgXn8ZGegkNKVIk1pe
Output for 5.6.12
hi$2y$10$Il0U/xqptJwuFXDp8j6SA.CnzkR.jqGC9Kd673LOXlTazb50rEnMO
Output for 5.6.11
hi$2y$10$zSFZ294jD692rHyOVPasV.5tSQKR4nUWKrLbBW.ZMBC1akZP0afrC
Output for 5.6.10
hi$2y$10$JMGwXUbq5D3MBoRXguAIF.cdUtBW/6H5a3sphKMdbaFt/SbBAntwK
Output for 5.6.9
hi$2y$10$TpUy8E1N2mw2UY61Md4DXejvVLyFMWRTLijzU/RgNC8ZLagm0vGxK
Output for 5.6.8
hi$2y$10$ffQ4XJKGrXya6uJ45bUvWOwz42CN5qdqEos.DNocq8irtFj4D4Rii
Output for 5.5.35
hi$2y$10$h/5MLL9qU7MzLmgUWmUpcujyE6BnkHA1JNxIfmDLUJQL7WUu4VLoq
Output for 5.5.34
hi$2y$10$4B9UaTFT1fjoQTx8ycSMMu4agr7ib7FEaSXrMaEP7JAxQnsZ5D6D2
Output for 5.5.33
hi$2y$10$zHdKrn9Fo1m3r2/6Z.UTM.5TFYlLiZiymeQAXr6l8RdrFVJbfWXXO
Output for 5.5.32
hi$2y$10$FHzRhO5tUhIPKtPHfMrkue1Q7IX/IzCJfc6ulik8OBM9uUtOlxeci
Output for 5.5.31
hi$2y$10$t6VlgwzwyXN77vj1gw/sDuvwNvjq4OWe4MHlfFpfH46kCzFS.mqg.
Output for 5.5.30
hi$2y$10$ofDqPfU47Hf5g8u9DkMJMOsRxlh2GxH6g67UqxM81L/safggobdYy
Output for 5.5.29
hi$2y$10$UaZ.kVB2SU10oimEjYmVceWcAEseCDcowYaRygnRZt9K1iPqfsege
Output for 5.5.28
hi$2y$10$kxhFf31atLdsBaVDLXItg.G.hNBegU/UEhrkrVvg3/jYEya1ahEWy
Output for 5.5.27
hi$2y$10$8ADe0EFGS0vLzSr3ybkE6eT9yoh9C.57DLtfX1o1k9dnMrlCjdtE.
Output for 5.5.26
hi$2y$10$BLdLdg446wCE1kMTz.TA3OVloMloZS.e75StAyuXM4VtgRHoySU1K
Output for 5.5.25
hi$2y$10$R2qUghjRRrt0ToIP8ErRgeiy74cwt2M9lF1MkOBgnGJI.CmvEbCMC
Output for 5.5.24
hi$2y$10$BzNnOJIassXL6rIIke.srOLzBi5IuuzfimC7m/NHHQwnhv7NM.Ef2
Output for 5.3.19 - 5.4.45
hi Fatal error: Call to undefined function password_hash() in /in/XB78v on line 4
Process exited with code 255.