3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump( password_hash('CsFv$2', \PASSWORD_DEFAULT) );
Output for 7.1.0
string(60) "$2y$10$xD2S7qw6zXsm/uiGFTvGXexndRTTLw2Qgikc2UYrQzOpOLbhy86Pu"
Output for 7.0.14
string(60) "$2y$10$0e76rSMHuJFOTXK3a9imRe7pMI4lHOcoACmtlB0Rq1PzKArIhLsXm"
Output for 7.0.6
string(60) "$2y$10$v3Rre9odoo8VmmeeRf6P9e6L97wGY0NpiVg6sPh8KcZlVjsQeuuJ."
Output for 7.0.5
string(60) "$2y$10$zEgxcAIK9gWJR2q.pHXGke9.eu/mKOi8PbBooum2LIXKFJDSGG4z2"
Output for 7.0.4
string(60) "$2y$10$evgLynJpkoZHWoHL/xF3JuPg0CzCXeVPSlOw6DF2umiMDBLr4cU72"
Output for 7.0.3
string(60) "$2y$10$eS8/TNcEMb0G9Zcw3ECnqeJUR3AwQcQwD5S1cOHPRDQh5tnZFpcHG"
Output for 7.0.2
string(60) "$2y$10$X2LzXMAwXEUeGs9UysSpMuivhvLPFaoomE2O2h51DTh85gZgyPgsC"
Output for 7.0.1
string(60) "$2y$10$0tGOkIKRIihxWCzvW1z4i.b9NIJ3uE30NKCrZSox3TVc7cgwiH/KK"
Output for 7.0.0
string(60) "$2y$10$tQoJIK63fv8vcaqEH3Byre6Poc/g8x.Kt0ZCpEum3Kd8e2X4bJ6Ja"
Output for hhvm-3.12.0
string(60) "$2y$10$Hnnh5me19r/ENIcj4qu6.ez9rNIfaQkFIr1wRlwaqv2.1/Rn6r4Im"
Output for hhvm-3.10.0
string(60) "$2y$10$hsb5ltsOFfNQo0z9I1XdhencyBfZFpFiDQkooDmIIUaO7lQViyOD6"
Output for 5.6.28
string(60) "$2y$10$wjIQXc2d/8GCBeSmlgBR8.FfNT15KsNpnDQSh/PNLdlxxqltbEREa"
Output for 5.6.21
string(60) "$2y$10$Bw5Rjbw65fVO36Fqfw1UmeTZjy2Mtj74D/1FI.98y9uDyrav11an."
Output for 5.6.20
string(60) "$2y$10$AI6Lz6P.E2iLmvs/wEY6g.srxU/N0kMs/x9.S8THzK0q5VMT5suuO"
Output for 5.6.19
string(60) "$2y$10$NJbhyOMf3bTN1nhYiGACcucrmBEYrFjIXPw.ZxymxaiURthhL8bve"
Output for 5.6.18
string(60) "$2y$10$swG7IQ/99eyKWbWtrfoMkudeYlPFe3POaSpY/zBJeXdi4u10rtTwG"
Output for 5.6.17
string(60) "$2y$10$Q/oJlNiK2Vox24AwCBXhs.Ut0yGwA9Ai5ghU88zBST5GfBA9INe02"
Output for 5.6.16
string(60) "$2y$10$yCbWOQ4soHXc3qw90uKAfOJAnCEXkFiYoQYkTs888Y/Eqx4q6L0Oq"
Output for 5.6.15
string(60) "$2y$10$G2TW5nCoyxFHPsrTHWQozupp6izW0F87Y34thNq5cwaLwDvCqmhhi"
Output for 5.6.14
string(60) "$2y$10$p.PdBxiQoMQ7wY1aCONaQek4UXhq6Q8TeHPJbqJHmBsbq6XEN4cBi"
Output for 5.6.13
string(60) "$2y$10$Tna.qY4c0aumPLkFQwWQVuilHqs6e8tWnDwK1QCtm1SC9gjJQlLma"
Output for 5.6.12
string(60) "$2y$10$VnXNSfIdh47kQnYGj42Fn.G.JwrMWd2BlIOG/bLH4s3Vks3kBZ.q."
Output for 5.6.11
string(60) "$2y$10$DsHblcsO1.FHY53l.tMb1e/zgN6jBLYUIv3vK4iM8BKPduc8yejRK"
Output for 5.6.10
string(60) "$2y$10$6DV7g4PqeVVyICH2v30zCOqxuFG.8sevWKcehcGaZYqf0qM0Yp.OS"
Output for 5.6.9
string(60) "$2y$10$fMeZ9RZSPels73vLgvR/ZO4jQzNsjI.epiwRDV/cM37W.rG2l2IHC"
Output for 5.6.8
string(60) "$2y$10$i6wegBy336Ewj3cSUcDCIeHUUaz5Fjvlq1NzEmqadF.sQvn1U4uc."
Output for 5.6.7
string(60) "$2y$10$cSwppMlAE.e6h5WDyQCe6O7RwYY27zfmLOTzro1n7ToefEg1zj/Ou"
Output for 5.5.35
string(60) "$2y$10$ryEVuGC1MFM1mNB31lRr8.72os6Mbybo1XWjx2ImDwG5MdRIFU.PW"
Output for 5.5.34
string(60) "$2y$10$cBZG5XDvoSY2Dj9A0y99a.Hrs0EcOjQ3b5WmixE76ExBxMiOvbb2e"
Output for 5.5.33
string(60) "$2y$10$VM7kxkeGHVK5rYo043oU5ujh7mftgUcqANYcZud89zGkEdlRJLqNS"
Output for 5.5.32
string(60) "$2y$10$DgQa0VxJorvU9qjmDZlap.BWraO8V5bQtaRCAcrZpbXj6iuIQkUvK"
Output for 5.5.31
string(60) "$2y$10$T2g2ZMaSDdPpDkitzTuWKOP5f0agVt8iprhCTYMW.o7tSXdiVXbpy"
Output for 5.5.30
string(60) "$2y$10$4nB5XUEBmUjYkwQzF.z4yeC96UD94Cc1HyV139kmVXZolnhepvxCi"
Output for 5.5.29
string(60) "$2y$10$9I.t4z4bWSh7Qj0M7cg1wuJI3tEFcyGc4BZ00ufkshZ/PWzF4dFvC"
Output for 5.5.28
string(60) "$2y$10$fs.dHVDqFswFOycH33WgHervgSQDGEwRXtH20gW7hTTCrOTDiR7/y"
Output for 5.5.27
string(60) "$2y$10$tmS6h4/S2oAw2wwVcXPlduXea1iZOMJDLxrNW7J6x2sCxZj2UKvDO"
Output for 5.5.26
string(60) "$2y$10$T0CTuyklxOuVKEyTtDNWh.RBpVE0qIFky/csIqa5BVar0H3x7W.46"
Output for 5.5.25
string(60) "$2y$10$egkW/Zdg4HvnxocVxePRU.TYVlwJgDSL1AnTRp4yOizJKiofeN09m"
Output for 5.5.24
string(60) "$2y$10$CQb5hU6.j5DgTC0np0qqZuIlQ4XuGffZ8IMRxWwTUkfYeqAzvyCqi"
Output for 5.3.0 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/TBNFc on line 2
Process exited with code 255.
Output for 5.0.0 - 5.2.17
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/TBNFc on line 2 Fatal error: Call to undefined function password_hash() in /in/TBNFc on line 2
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/TBNFc on line 2 Fatal error: Call to undefined function: password_hash() in /in/TBNFc on line 2
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/TBNFc on line 2 Fatal error: Call to undefined function: password_hash() in /in/TBNFc on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/TBNFc on line 2 Fatal error: Call to undefined function: password_hash() in /in/TBNFc on line 2