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)); echo "\n"; echo password_verify($a, substr('$md5$2y$10$3qEOsfVCJ7lJxvEISFCDzuvUKUTcaMXpcK6jeVVLQQPG.Bn7temlK', 4));
Output for 7.1.0
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$3KeiLEAfvfJNUctrR5poHubaaeXb6jcuF5K3Pf7wU.S0iG.wvto7C $md5 1
Output for 7.0.14
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$OAboIgw3y.Sn4T09Di3nUeFsrxrTTtRY0wMGSBCsRhmQZzIuIXVpy $md5 1
Output for 7.0.6
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$CIMaVNaPJhM0ndOGmYqITuJ/kFdea84gazoFnUacGSVlCop.RT6Wm $md5 1
Output for 7.0.5
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$O1n22s4E3zvC4t6iY2C1SOyzM7aU6OSQFxvbNRlqak6WL.QHRhxYa $md5 1
Output for 7.0.4
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$ponXZ4W89jjHzeX.PsqW9OYP6MWO636LHlZ53zW0fzbFFumXiIUwO $md5 1
Output for 7.0.3
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$8KB30iteoyL5ukRdnm8eHOc5BQK9KdB9Z4hEngiUoXFin2i/8ua1G $md5 1
Output for 7.0.2
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$OWT4FYX1/cEhCGGgDMd31u7KHrFg/roN5dT.BToBxnEezcbaX783W $md5 1
Output for 7.0.1
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$bq0mW9GQAMBMc509gidPIe5Frun1GrDuvV7YtxnIQPqE3RwBCPgBi $md5 1
Output for 7.0.0
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$y3gb2ks66nnP.KU774BM5uq.yRu4QBtvmGCbIwgDIMMvQBwkDgo2a $md5 1
Output for 5.6.28
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$ZvLXLF4tsi1PPxSy06QiL.zVC3YrvXhwncXPvoC14soFANmOP8Bbe $md5 1
Output for 5.6.21
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$mRCffjOptdb3BGm/AMiHUueWCAqsa.5ncVuMVbGNppzaZ8weKz7ou $md5 1
Output for 5.6.20
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$IAFcYG2///TR2vN7DImDqONsHooLpoSskR7g/CbaBaF5YDs1F6Apq $md5 1
Output for 5.6.19
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$jWvWZxd5dpuKSOOYksiSHOg/fvidGVWEC59.hBSgLPSB1CH3.OKIm $md5 1
Output for 5.6.18
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$A6PQARCcEfwnYuGMCxhh.O7v.ax0wkJupw47cfE.lCzpg6Nd6Q9Xe $md5 1
Output for 5.6.17
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$6syqBTOfVcfj3Be/uoWh8eOb4hR0jYi9IwWQs2M5m3gYdEMWQuYhS $md5 1
Output for 5.6.16
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$jY3lbLT92SOC/IYEJ4otJ.JeXoRz086HtYZ/QhiJFycyo942WzSX2 $md5 1
Output for 5.6.15
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$.ltmcX77Z6hUl2ldTl6uGe8Mc029HFHh9aJaj0btcNhnBtRz7xFBW $md5 1
Output for 5.6.14
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$6Qc/uV8pyUcKVqw5KzJoqeA5rUsEW6utdN3I1koO.uFSyeu1mLZ2i $md5 1
Output for 5.6.13
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$pLKhRTIkU1puA7FeDQ1VN.Wx8ppk1XcGhguYNTus059JLIvJasL6i $md5 1
Output for 5.6.12
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$VmvEhowWn7SS9ycN9podke0E7Hd62u1TFfTtjHBrbCErz0T.lfd2y $md5 1
Output for 5.6.11
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$cpFUG8cHAfTHLf/bYMoHy.ggePUG8TgmTg9J5IEdVywuRSshTi326 $md5 1
Output for 5.6.10
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$wWTEJ6nYjfIO6ajHnixsruXzyNY/hzwi92j14o4Pn/qjwTd5kyO3G $md5 1
Output for 5.6.9
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$0xXllWY2SVCcXi6n2jxwBOmrslCDvKIieIWzcJfL24EyF1tS3Xnnq $md5 1
Output for 5.6.8
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$DAUb2DFK4jBV2NAK1K7pmeoWf5//BdlvkA70HKQCbdB1Pnl856MTy $md5 1
Output for 5.6.7
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$kKZMycFLlhk5V.Rnc6bCzuy114AiwzWgBkv8zx.t.qOsQ8MmVo7sW $md5 1
Output for 5.5.35
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$xYHT85Gm2yF1g0IRyBrtTuedKmfIqXUGs/GcFrxQ483Q/3sNm2rUC $md5 1
Output for 5.5.34
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$ZKpypQb1F8/3rWHBNEAY5eOxGYgi7ykzyyHZqM/l0yc6Y01mO.LRC $md5 1
Output for 5.5.33
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$om2j60jV3HZ0b6bNAW/k2.t9s9N8qd.rCqZczTKagZAgqQa06ZDxu $md5 1
Output for 5.5.32
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$KXiHuwF03d03xCFE1gupreqo3TuuHl9jtK5VqiVZuMa.FsqKUgIse $md5 1
Output for 5.5.31
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$X0LMFSURG5GLlVjE20hg.O92uvFTybf27dU4qR89ar/WrV5NOfpYa $md5 1
Output for 5.5.30
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$Qxtb.lkd2hBwpUwLHmPgu.hyLQXTIonUCUT9XoWS5vTZr3n1NcIEO $md5 1
Output for 5.5.29
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$FfC9Egb4dnnSJorad86R2ueexb0xh7ZfS10DM/grbPTvZsLdvmbUO $md5 1
Output for 5.5.28
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$LjActyz/WRjY6wRA.Tw6Z.3JmG0MvM2MrfRW.ESxlgErzLxOR3nrS $md5 1
Output for 5.5.27
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$q/1VvwKW/Y7WUzwRQk06U.L25wKx7wYUOE6q0lOa0..P80P9Iqey2 $md5 1
Output for 5.5.26
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$5vzwJPJsiBnCVt8P1P1AZeQClkB1L5J7hU67wp9f2wc0CYAxrQJsK $md5 1
Output for 5.5.25
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$lfCuguBlrKYCuIbtDQKUWOWYggxIljgUTlSjMFhTv0cPgun5fZabq $md5 1
Output for 5.5.24
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$8.JXdldQTkLKYR/R/JDez.4ezzM2ooeYlgsbTnwEr3bcJ/QJJ/mRG $md5 1
Output for 5.0.0 - 5.4.45
745e248ea252e6ba4fa7266175da3f82 Fatal error: Call to undefined function password_hash() in /in/UAESU 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/UAESU 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/UAESU 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/UAESU on line 5