3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $password = "test"; echo "$password \n"; $hashToStoreInDb = password_hash($password, PASSWORD_DEFAULT); echo " $hashToStoreInDb \n"; $isPasswordCorrect = password_verify($password, $hashToStoreInDb); echo "$isPasswordCorrect \n"; #$password = "test33"; $hashToStoreInDb = "\$2y\$10\$JCqObEKNF9A21jyhI9.fIObxjiGUMPper3criJstIRZ8oZ2u0si25"; $hash_crypt = crypt($password, $hashToStoreInDb); echo " $hash_crypt \n"; ?>
Output for 7.1.0
test $2y$10$ObZPzv1lcBtZlSgqK7jST.6e3K.F.h6z29nyvl2DqWeXaP83GF286 1 $2y$10$JCqObEKNF9A21jyhI9.fIOwPNoyoHxOFa3EMt4g8f2xN5sh5F08RO
Output for 7.0.14
test $2y$10$ym5sXCKkjAreE010viZB.uMoiZ18U9hOmPbJsPO..3WJkTgBMrboq 1 $2y$10$JCqObEKNF9A21jyhI9.fIOwPNoyoHxOFa3EMt4g8f2xN5sh5F08RO
Output for 7.0.6
test $2y$10$3JzZ9aPOPNk4o488BZxP5u0cjZ5S7BUynbNW4x9xBh/NOlLK37/7m 1 $2y$10$JCqObEKNF9A21jyhI9.fIOwPNoyoHxOFa3EMt4g8f2xN5sh5F08RO
Output for 7.0.5
test $2y$10$sT5Rq3isQFVDDkFSOL0WC.j/hsb7UwTP7Z1pkEVCA9fP4tmK9uvgC 1 $2y$10$JCqObEKNF9A21jyhI9.fIOwPNoyoHxOFa3EMt4g8f2xN5sh5F08RO
Output for 7.0.4
test $2y$10$eAk51OecT5E9HP4jJbUlh.LAmLEp3aDuuHpbW//hNLLLBCgVNSxKG 1 $2y$10$JCqObEKNF9A21jyhI9.fIOwPNoyoHxOFa3EMt4g8f2xN5sh5F08RO
Output for 7.0.3
test $2y$10$WELkIU0fCFhsccntMNacKeiXNeFitsTOVy9hBR649yCojeKIT560S 1 $2y$10$JCqObEKNF9A21jyhI9.fIOwPNoyoHxOFa3EMt4g8f2xN5sh5F08RO
Output for 7.0.2
test $2y$10$030XnSFbMleDhEglSOAd4.stWkY1BYIEO922jJL./0WM6YUBZ7xgq 1 $2y$10$JCqObEKNF9A21jyhI9.fIOwPNoyoHxOFa3EMt4g8f2xN5sh5F08RO
Output for 7.0.1
test $2y$10$MYwsYrcISuZFp7BzPfW0.uBe8KRTRnFxkFsqqQ.M1jY4EraT8QUju 1 $2y$10$JCqObEKNF9A21jyhI9.fIOwPNoyoHxOFa3EMt4g8f2xN5sh5F08RO
Output for 7.0.0
test $2y$10$U4u7p7gfhtapwaeRPJrSSuIJ53hkKqiNR24pojWQO9vGkg36DWRbq 1 $2y$10$JCqObEKNF9A21jyhI9.fIOwPNoyoHxOFa3EMt4g8f2xN5sh5F08RO
Output for hhvm-3.12.0
test $2y$10$NM9U7JcCQXkY38mZHkTpUeXDll8yy5fgBZA4NIUiTMYXPCrcum6rS 1 $2y$10$JCqObEKNF9A21jyhI9.fIOwPNoyoHxOFa3EMt4g8f2xN5sh5F08RO
Output for hhvm-3.10.0
test $2y$10$WvbTElfYI3Q69.IzYosRRuyYNdgCH5xZXypAs4NoDQ9lEo6DVrGXG 1 $2y$10$JCqObEKNF9A21jyhI9.fIOwPNoyoHxOFa3EMt4g8f2xN5sh5F08RO
Output for 5.6.28
test $2y$10$8TLv1VRCNAL5DbB4orkAcu5Hv9KZvhvluc1f.HQFuXFfNqUE2jkHq 1 $2y$10$JCqObEKNF9A21jyhI9.fIOwPNoyoHxOFa3EMt4g8f2xN5sh5F08RO
Output for 5.6.21
test $2y$10$a1i3/VpAU2ow3suXyYjTE.AHJuBfk0Yb.3a9a6mSFEmeMxNw5Vfv. 1 $2y$10$JCqObEKNF9A21jyhI9.fIOwPNoyoHxOFa3EMt4g8f2xN5sh5F08RO
Output for 5.6.20
test $2y$10$ltYUaeDLsCKFjD5214MHaewvmtjdsSavNB3qzf7hD/TfsNaHR4rmq 1 $2y$10$JCqObEKNF9A21jyhI9.fIOwPNoyoHxOFa3EMt4g8f2xN5sh5F08RO
Output for 5.6.19
test $2y$10$B0GJZD1SmSObqVp9ANvhhua693OOOpAv7WRo/soZb9t8KtTQzhSLy 1 $2y$10$JCqObEKNF9A21jyhI9.fIOwPNoyoHxOFa3EMt4g8f2xN5sh5F08RO
Output for 5.6.18
test $2y$10$2/TQafUkt6i7EQiNeOo9SeKf5G8bclw.41PI4C4401ksldX2uU6ue 1 $2y$10$JCqObEKNF9A21jyhI9.fIOwPNoyoHxOFa3EMt4g8f2xN5sh5F08RO
Output for 5.6.17
test $2y$10$9YCp6oQ3ChyXHVs8UffqDesWUGuQv6ZBM0GkdHyvzsQhfINN8Bqs6 1 $2y$10$JCqObEKNF9A21jyhI9.fIOwPNoyoHxOFa3EMt4g8f2xN5sh5F08RO
Output for 5.6.16
test $2y$10$K3GGRxwWCDHq2nWW1.0u9.UMtMlbwW42MbL8wWfNnKNJGeSIsmVXO 1 $2y$10$JCqObEKNF9A21jyhI9.fIOwPNoyoHxOFa3EMt4g8f2xN5sh5F08RO
Output for 5.6.15
test $2y$10$98QfrAP2/dVaI.6/Jubf6.E5BqeAh62sqsIaIsL3pioo.F46/gYP. 1 $2y$10$JCqObEKNF9A21jyhI9.fIOwPNoyoHxOFa3EMt4g8f2xN5sh5F08RO
Output for 5.6.14
test $2y$10$DHLzddbiP7eiUXYjCefKOOdPs5cE2Ht75dvNu2psFJvqLRkmF/TLy 1 $2y$10$JCqObEKNF9A21jyhI9.fIOwPNoyoHxOFa3EMt4g8f2xN5sh5F08RO
Output for 5.6.13
test $2y$10$ztr6sg7sMeXyiWeVAmkF9.QTvC7Jb/LN0fZpDroDCQdgwdd8EbbB2 1 $2y$10$JCqObEKNF9A21jyhI9.fIOwPNoyoHxOFa3EMt4g8f2xN5sh5F08RO
Output for 5.6.12
test $2y$10$YUSQqV1CddGcIXaOxrNzzeJGsNd58tbiARxDzbErgGvhRK54EWISe 1 $2y$10$JCqObEKNF9A21jyhI9.fIOwPNoyoHxOFa3EMt4g8f2xN5sh5F08RO
Output for 5.6.11
test $2y$10$j.ATFNtnRidnO758rM5UCut5ZJG478BDK/wOZX2ESZzAvf8BniDT2 1 $2y$10$JCqObEKNF9A21jyhI9.fIOwPNoyoHxOFa3EMt4g8f2xN5sh5F08RO
Output for 5.6.10
test $2y$10$5MaYk.3sH2SywkjXNqRnNOJpD7XxnF57Z4HYc0Qu0k7BOC8nIQ1Ra 1 $2y$10$JCqObEKNF9A21jyhI9.fIOwPNoyoHxOFa3EMt4g8f2xN5sh5F08RO
Output for 5.6.9
test $2y$10$Uj4qgbhmxxiJvYC59SkF8eIZrhVt0mQjE2GLUmzj6lMwptzIdebKa 1 $2y$10$JCqObEKNF9A21jyhI9.fIOwPNoyoHxOFa3EMt4g8f2xN5sh5F08RO
Output for 5.6.8
test $2y$10$1vD4r36Dg97zFeD8qS3YGukofB6Qm3p6amLUHjkDga/YXGVWDZD6. 1 $2y$10$JCqObEKNF9A21jyhI9.fIOwPNoyoHxOFa3EMt4g8f2xN5sh5F08RO
Output for 5.5.35
test $2y$10$3uunjHOMAR0Q5u.thi0D0.7i7L2FwbEC8zsOpYPMXrZkslBtiyoZW 1 $2y$10$JCqObEKNF9A21jyhI9.fIOwPNoyoHxOFa3EMt4g8f2xN5sh5F08RO
Output for 5.5.34
test $2y$10$smqa//VHmtAOqrxFI/XyiOjgDjDdLdhS12fTkKo7o7cRfYpe7CW6e 1 $2y$10$JCqObEKNF9A21jyhI9.fIOwPNoyoHxOFa3EMt4g8f2xN5sh5F08RO
Output for 5.5.33
test $2y$10$JFIwxPgfNqqJohtdwf4iBu3FsdYQbRGsBz/k2yla6flBzhPOsekTa 1 $2y$10$JCqObEKNF9A21jyhI9.fIOwPNoyoHxOFa3EMt4g8f2xN5sh5F08RO
Output for 5.5.32
test $2y$10$.4UZxrx/TmMCwQsj4DFdau.8HRb6l6CHO5qVwQPtn9/9F7PKOqkYq 1 $2y$10$JCqObEKNF9A21jyhI9.fIOwPNoyoHxOFa3EMt4g8f2xN5sh5F08RO
Output for 5.5.31
test $2y$10$byPjgrNsjVkrSi0DT4vf2OnyBGUCuGHFFnF7WnA9n1KpmGXdPwe/G 1 $2y$10$JCqObEKNF9A21jyhI9.fIOwPNoyoHxOFa3EMt4g8f2xN5sh5F08RO
Output for 5.5.30
test $2y$10$jeprE9mTHRjDTqmfx1dAXOyrMS7eG9sih2NZJ11oyjvhfdeuaekx6 1 $2y$10$JCqObEKNF9A21jyhI9.fIOwPNoyoHxOFa3EMt4g8f2xN5sh5F08RO
Output for 5.5.29
test $2y$10$.w8GCvfwxhnHT3WwHNsOr.VBsVMdErs7zHlTEJoM3U7IBPBKE3HKK 1 $2y$10$JCqObEKNF9A21jyhI9.fIOwPNoyoHxOFa3EMt4g8f2xN5sh5F08RO
Output for 5.5.28
test $2y$10$z73Dgm8GGZDdtOZeV52J0OM//ZUpUFDN3igTkT6rvyi7L8052tk1m 1 $2y$10$JCqObEKNF9A21jyhI9.fIOwPNoyoHxOFa3EMt4g8f2xN5sh5F08RO
Output for 5.5.27
test $2y$10$RZZ89mFFnQx5lfqntTOyKufl9NWzdBEplxyIU2E4Z11HWVf6kDLOC 1 $2y$10$JCqObEKNF9A21jyhI9.fIOwPNoyoHxOFa3EMt4g8f2xN5sh5F08RO
Output for 5.5.26
test $2y$10$L6zJ6LmRf1gxu2xgU2lvJeFOfKUmkc5.GoDViN9e1eXFZBTgi9rte 1 $2y$10$JCqObEKNF9A21jyhI9.fIOwPNoyoHxOFa3EMt4g8f2xN5sh5F08RO
Output for 5.5.25
test $2y$10$yqM95B.5x2Y3PtmXjBrivezjLrZCLn7ihUxhlJNdGhpYd6Juk.T3e 1 $2y$10$JCqObEKNF9A21jyhI9.fIOwPNoyoHxOFa3EMt4g8f2xN5sh5F08RO
Output for 5.5.24
test $2y$10$wZFidTiRTBLPVGXTZSGdPeAuEqS3xLExZO8Sk257C67/7o/lJEY9u 1 $2y$10$JCqObEKNF9A21jyhI9.fIOwPNoyoHxOFa3EMt4g8f2xN5sh5F08RO
Output for 5.0.0 - 5.4.45
test Fatal error: Call to undefined function password_hash() in /in/4jrSr on line 5
Process exited with code 255.
Output for 4.4.5 - 4.4.9
test Fatal error: Call to undefined function: password_hash() in /in/4jrSr on line 5
Process exited with code 255.
Output for 4.3.2 - 4.4.4
test Fatal error: Call to undefined function: password_hash() in /in/4jrSr on line 5
Process exited with code 255.
Output for 4.3.0 - 4.3.1
test Fatal error: Call to undefined function: password_hash() in /in/4jrSr on line 5