3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $hash = password_hash('123123', PASSWORD_DEFAULT, ['cost'=>10]); print $hash; var_dump(password_verify('123123', $hash)); ?>
based on bNufT
Output for 7.1.0
$2y$10$2FNWIl.WS73moMehsq8tHutpi.3jMAb5zgQETxHmULncLdOCA3AuKbool(true)
Output for 7.0.14
$2y$10$csaDYdwRoKVpZTOEGO7gC.77S0cRFdugC7Uh/I5XtksDVpLlA6s92bool(true)
Output for 7.0.6
$2y$10$DI8moxOdP6/1.ypIbNf0beWrUDDWLX9exQiGn/3cjcAdWE5lAm9dqbool(true)
Output for 7.0.5
$2y$10$ZC1oDrFDxn4WhTKXP99D0epWWa9qlQhJmoQxwR4YG9NueoqP5T3subool(true)
Output for 7.0.4
$2y$10$uxuTfZpriZS8.kKydIWQruviWiugl.6H3KEIcF.1iOeDlIk8Bhnkubool(true)
Output for 7.0.3
$2y$10$XuUyXdyl8flclAfZquyPDeXZjNBU0TkiN2ywcTfmXWIfql0RX5xQKbool(true)
Output for 7.0.2
$2y$10$u2GjjHmNp3uVVpNlglIJnu0mWu7wMjqmqlBKq2cjb5AMcKQL3RNkybool(true)
Output for 7.0.1
$2y$10$vYRu3riTgf3DVN/u5CA38u1X9mVNDiP0KXQ0RF4/4Cmjvz2kQ57DCbool(true)
Output for 7.0.0
$2y$10$ooiEb4gyED2gCUQ0ECcPqOvRYcMTjsNuOyRa6dyYQpOSD41lsUwZKbool(true)
Output for 5.6.21
$2y$10$GyjTHYaaJVJdnSMQ.WGzH.k64MEKHehjZVW2LfDi9bKqv3/pKOTAmbool(true)
Output for 5.6.20
$2y$10$0uG.SjYauOCh4cTKTbHk0e7ILvHyscgCtfioqiuZuU35tOf6i2TTCbool(true)
Output for 5.6.19
$2y$10$U607wSEs/EmS57bLtm2Nwuvv8/id4HhnomYXaLomd9xrN3qlxNpdabool(true)
Output for 5.6.18
$2y$10$.2BB73rfEtJt8wU1VTsLx.Pr/VA5zKtCmp8q9j2t9oS0uppeG9H.qbool(true)
Output for 5.6.17
$2y$10$YDWEs1wsrqWBvqoGH3YANuoGRW3SmxN5yMVFZ1K77l/l4h9qgXkAabool(true)
Output for 5.6.16
$2y$10$d4Ea0AOSKMhPt7t7jX/qLOiIFZ81WDf.OVLy38fq3EbXEwlmWbs4abool(true)
Output for 5.6.15
$2y$10$HqAyHGU8P6g5CM4mxjzxvO/tbCcFy/nQaEkjTMmxCaaPALbxGgB62bool(true)
Output for 5.6.14
$2y$10$RlXEe5wCraG6XUFBPNV/dOCt3tR.G0qh7ZW5POpK2aoGFvXofHP56bool(true)
Output for 5.6.13
$2y$10$FiqKyflYzx4qz6s8K4rTDO.vvsDGwOZCj3xh4v8mU5V35bxKi6oI6bool(true)
Output for 5.6.12
$2y$10$cHf9y7kSH8fPMh6DhUMRT.xCKALzIchRS/gTr/lhwOHh89uQfOlEObool(true)
Output for 5.6.11
$2y$10$OJkW9.e4VCl5CeY9sq7TDu.pUEX/EdO1y.zqV1Ahqk7WqAXoDw6Uubool(true)
Output for 5.6.10
$2y$10$yxbt2ju.FonbieingnVRKep1KvSmRVR5JgJXpw2WGxFKiHDqMUFISbool(true)
Output for 5.6.9
$2y$10$.brklmkyDrhVCc6ZEV23Ne0SmNSkezAZiXn9xwoiwo6XPyAW3anS.bool(true)
Output for 5.6.8
$2y$10$1VIM7jJ2NtrfPTcZUYL96eq1KHZtrWCJ5qaQ/2MvE8MUp6do3fFfibool(true)
Output for 5.5.35
$2y$10$b0kyrGvWyi2.Zcx4Zh3aFuuQPhxgLd.I5Nrldp2zQA7hqQIPlzdTqbool(true)
Output for 5.5.34
$2y$10$4dTD1He2/BikoCrsPIlyM.7vGV0WqICXta3PMSIXdYrTykNn1OXAGbool(true)
Output for 5.5.33
$2y$10$H57I8NHDDwYF0.z0e50xmedjU2UnKU3nHwu.ZZA7Q2/FuCwsPP8hebool(true)
Output for 5.5.32
$2y$10$IPhK13Oe2ghhplcR03EXaO7EO/L6guyxRGV0XEfSYovP2MwrFkCpCbool(true)
Output for 5.5.31
$2y$10$xF5A8jPF2uXtrybG4FGeh.SdSbpk1FqRkLmtDpkDXsOvDFgURhV5Cbool(true)
Output for 5.5.30
$2y$10$MTu/7e8m0B1WCak1BrH2jOa9dq9E8pmxNYdre74qqpEbZ9SlEkkd6bool(true)
Output for 5.5.29
$2y$10$s.wZjrcL8k8vu5MfC3euXOoayI2us5WAR18KdZWDH7CKqGQy8hAK2bool(true)
Output for 5.5.28
$2y$10$Cm58P5x93hGI3kiyJoXpFOh6I4XAm19oTaXO/bu5B/FPPSR0KJ7qqbool(true)
Output for 5.5.27
$2y$10$973mAv6u7cUNcSQqXqTIoOzfvCTAQDdp7AP6HHYzHtVpUdRfR6bxKbool(true)
Output for 5.5.26
$2y$10$yktW/Zw/Cf0PX7HMHagOke081rxUdGnaV0T67MDSWUv20EUkJIrACbool(true)
Output for 5.5.25
$2y$10$PSRdpZz9gPBgI3y.SwTYZOZAoCYeYqtdAi1CCI7nGjgPvxvt0N9kGbool(true)
Output for 5.5.24
$2y$10$O3dy4Ev6wEEy/jCkvk//tOtsX3SRylps/svcNqn9.VVwvQFfXr4z2bool(true)
Output for 5.4.0 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/u5LNJ on line 3
Process exited with code 255.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/u5LNJ on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected '[' in /in/u5LNJ on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/u5LNJ on line 3
Process exited with code 255.