3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo $a = md5('4c6e15'); echo "\n"; echo $b = '$md5' . password_hash($a, PASSWORD_DEFAULT); echo "\n"; echo substr($b, 0, 4); echo "\n"; echo password_verify($a, substr($b, 4));
Output for 7.1.0
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$iDITc1K04Wxa8jwaP88v5.J.HNskveYIm.PrnRSJihMiqt/psmUA6 $md5 1
Output for 7.0.14
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$6xCTJu7qnRbsC5sz9sdawOOJkb2G1I.b5QhdV5bptkRzBZk7j/zN2 $md5 1
Output for 7.0.6
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$aXTiOcSVJtZRGTZnRH4.eOTgYwUHjrun1UV7Ue5tvDcD/noNHrqT6 $md5 1
Output for 7.0.5
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$Hn/VgUKyH04t1MG94cSnmeJFIByGVh9aPePU6i8BZSVVRbrVQFJdu $md5 1
Output for 7.0.4
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$MTJq1JEVr0Yo/cVFMJxNVOcUlHBfmV.c4RZ7LjfUOKejYptXG4j.6 $md5 1
Output for 7.0.3
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$gr8UbmwSkRoRUQe6sNjoqO/i/wF251pp1IxJJI1Kri8aD1BFVG726 $md5 1
Output for 7.0.2
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$ZPnqavJdLTIvNbd2Df.BVuzYTM.mmYsdEUL/vyl6HBQCCVfXSha4C $md5 1
Output for 7.0.1
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$u6oDtXTn1P.VJjvbfZShyehdaMMz/J.a7Ctmh98lutW/k5rhFOpbC $md5 1
Output for 7.0.0
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$fFVCFOLd9P2LfHA3qugxcOrWGzQMwk62bFFHbpB0wOPcFrGFkXtnS $md5 1
Output for hhvm-3.12.0
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$W0yJIU9skPk2yCAgpjqv2e0KCx5nG1OQ5ZvoIaUl7q7FjPWGAZkWu $md5 1
Output for hhvm-3.10.0
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$NMC.GIUd8/Rqczatg6b2NeICQo80DfGxVuCI5vvHbzn35mRG.sUEm $md5 1
Output for 5.6.28
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$FHIznG6ojgNh9QoNyns6U.i39AJQVlhc/VU4N10KYvEPMMbmsRqWC $md5 1
Output for 5.6.21
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$uuAsCErurmB1A9ayWrVJmO.rv5ZLA8hgf.Z/FKfs7SM2.64hOs4Bm $md5 1
Output for 5.6.20
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$i1rRs/LCiWTcpXfUDsxjVuh1oEboV8iX9DXTjIGoxaojNQ7WXHjW6 $md5 1
Output for 5.6.19
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$Hcr7dURPgBJMQumAKMZuV.Oc7Sti3/2q2SdDIZoaM9wdW3ed/VEsq $md5 1
Output for 5.6.18
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$x6Cj6.IxYif3gXHLf1/OZeLwW9yLjhNRRSgP1yZgPNuVOsm.TfaA. $md5 1
Output for 5.6.17
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$1rr6D/P92NU9I1nPxCuHUuQwPL7TusP5QLB6mgex2nOhnHh1PeOzi $md5 1
Output for 5.6.16
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$uw6XwXg4b.l.58vA06wjMOXvqsBBgNI70m5D8UhNAXuDJayXWW8T. $md5 1
Output for 5.6.15
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$Fb/ntLoYt16kbjqnEyVF6eXPuJpJvn0hvMck/HF3E7OIZfdh7xYsi $md5 1
Output for 5.6.14
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$aEsJXABgz99J3eqygkWoruDfbNf4G0WQEaj9BLT8rVO3KdxbGk7/2 $md5 1
Output for 5.6.13
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$w.nfJXCA3zLLDw5CKYKane5BdxDZcql0yJGzDHvVhTqnY040R.aoq $md5 1
Output for 5.6.12
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$G4K1G6YrZEvPhr1b7gkxSuEeZST5DHGHpXHNjR2t06I8QoVy3UF9u $md5 1
Output for 5.6.11
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$r.7nNomodJrPAHYVeucZoOc9k7pSm4/2/GaniUggFt/6J1t5HIu/6 $md5 1
Output for 5.6.10
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$BjDcPoXAb7bips3dXjeW0unLrQ37lHx1IUsSKFuuiqMsznqV6BX9G $md5 1
Output for 5.6.9
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$utI2yG7fPqctzuMj7UvBquUTbMvXOIfo9L4sHZisC/H6cjWqeWxQi $md5 1
Output for 5.6.8
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$HiA.LnqTxkfw7oe7LMfXz.7HdU4HLdmpA2JOnarx4He35poDQTlVG $md5 1
Output for 5.6.7
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$1dPxvqzRF4UO9NqteuIWFOeN5qVGNv9IheF03KtwFp/zZvNjvyHQO $md5 1
Output for 5.5.35
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$XUCaR3y/G9SdxKi3t4QEQ.NVWXVtbCq.EowTB.HJ36StoMUwo9IJ2 $md5 1
Output for 5.5.34
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$pdbgtX75NjrgagNFRyAvxuS7qf1N5GTn/pq47R2.jVwWO1ADKN/wW $md5 1
Output for 5.5.33
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$mUQe2f1v2d62u7bWul3fPOaQsIz8bst/Bw7oz07lWxdNg1Eg6rpAC $md5 1
Output for 5.5.32
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$7DGXHO2wnxUi2Hq9qzlWne6NrZ.3J04kMysLT5e1bV9GG.xC5JOMi $md5 1
Output for 5.5.31
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$4iqQI26Mcw/TgMlWHpt5kO1cwy6BjMZlIBkslARCudYcg/iVHxbDe $md5 1
Output for 5.5.30
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$F2/uV8TJtg.jBLC.lGzduuaRVA5eluDxfxMOY/v4EFk8sCod2rcD2 $md5 1
Output for 5.5.29
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$be094uqpE6idQyuN5npwbOrETKufJOMT1Uz29RQ1lqzJU5qHwAsrq $md5 1
Output for 5.5.28
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$S1wB3QtSSA/Unq5sj1n8s.q6txHvP4tXbbX9TJmmpVERiSL3PwlP6 $md5 1
Output for 5.5.27
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$HYJQX7wSenYoNnh8eYaMd.G44QY3PK/ofsEhnUckZP3NAdiX97CWi $md5 1
Output for 5.5.26
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$ScqUo0KAYpGX0pkmwviRX.CWRsn9H/Eec.aJ2oCkCnsp/Pe0hZCeu $md5 1
Output for 5.5.25
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$K5u4Ee9wH5pixh.7hBHBn.VYrV80oEH7tSptUxtCBlhkLSbPVQPZK $md5 1
Output for 5.5.24
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$8I1UxlTURixKAU9DarU2ueWVODEFzSj1/ScAYGVJK1dqzKZ0EMKra $md5 1
Output for 5.0.0 - 5.4.45
745e248ea252e6ba4fa7266175da3f82 Fatal error: Call to undefined function password_hash() in /in/Xg84j on line 5
Process exited with code 255.
Output for 4.4.5 - 4.4.9
745e248ea252e6ba4fa7266175da3f82 Fatal error: Call to undefined function: password_hash() in /in/Xg84j on line 5
Process exited with code 255.
Output for 4.3.2 - 4.4.4
745e248ea252e6ba4fa7266175da3f82 Fatal error: Call to undefined function: password_hash() in /in/Xg84j on line 5
Process exited with code 255.
Output for 4.3.0 - 4.3.1
745e248ea252e6ba4fa7266175da3f82 Fatal error: Call to undefined function: password_hash() in /in/Xg84j on line 5