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 password_verify($a, substr('$md5$2y$10$3qEOsfVCJ7lJxvEISFCDzuvUKUTcaMXpcK6jeVVLQQPG.Bn7temlK', 4));
Output for 7.1.0
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$vlk7Egkv5C/zFB0FOT.FJulvPSIN/2JuHulKnY8TgoiVXtfIcPbay $md5 1
Output for 7.0.14
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$u0hFpXmCxti0oycuK8x11eZjtF.cWYFlNK97Ips5rafczOjwV3Bqq $md5 1
Output for 7.0.6
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$uXw2OVGi.4tq3HZQRHn4LOXEgMJ0cb49QzjJ38W.ibgt1k10RvfqW $md5 1
Output for 7.0.5
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$XhHMABnnU9qzUMN4ZsinTe/FSCMbNVnpdf1g2mnaFRgZhTfbMwbb6 $md5 1
Output for 7.0.4
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$FZ/M4C/RAB3rRmt9CoyBC.T/c1Mk0e7cTUyQd/diRlkdOUDnZwNQO $md5 1
Output for 7.0.3
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$.pzIp26hGy.scVOeKKamluiUQ40tcWgqaKB/Qy3Ld/1jpehhPws1G $md5 1
Output for 7.0.2
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$Xbdbu38y65xp0u7jWFbRyO7EcD0iw4d3.hq87tpa.PmFJScAyixWO $md5 1
Output for 7.0.1
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$QlJbIcskcoKJPdAE9wC6EubVeWnW1Kkf2Tx3MytNrX8/mXi/dgmSK $md5 1
Output for 7.0.0
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$uF5rWYEYlBCq0LXhH3eKIOjkCl4kvnJZcZ8YxQn2xedJbTQsehPSu $md5 1
Output for hhvm-3.12.0
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$rzCOLT2GZ9JgkEqdIYCqK.Rl3BhllJZv6oaEQju9t04yZ4BvEhdyC $md5 1
Output for hhvm-3.10.0
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$jgePzjRCdhQEQVMq0XnJ2ePF8shWIqtHprZeuhKLkaP1JUnOdD8cu $md5 1
Output for 5.6.28
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$aLLWm4/64CXKLnJqOyq2aOwC6fITg0/UXiT3CWV6qMAavSTrYuY.S $md5 1
Output for 5.6.21
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$Y3ypx8/xMuzIw5FC1l1i8.5Ogag2vn6mFtPigX3u4roJLx9fxTVBO $md5 1
Output for 5.6.20
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$DFnhopIY/TzpUmyxCvG3wud5jbPKp/Bux4uWWgdGeoXBxwZcdD3WG $md5 1
Output for 5.6.19
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$P76gpfjg6nax1iOXTsSbIuBSribuJ9ymankifgSz/EqFGUaI/LCjO $md5 1
Output for 5.6.18
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$zynNx87XRN251N/QT0qjLeSG1jkSlTik3flnHDRfEfU3Qjh28Thhu $md5 1
Output for 5.6.17
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$Syemg/3OoByxAigvbGE/XO7pTCUB0kYKxotBA46245wkOkxKVIqZ. $md5 1
Output for 5.6.16
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$nScNziX0WTzLA3dGZxm23emrDsZLByMWl7p9Ju.lSDSmFr7vxPO.y $md5 1
Output for 5.6.15
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$9lrq0hTRUoORlnNsqm8Zq.HcAYwsyVzBYcK8NRD/IU1M/dVG8g65e $md5 1
Output for 5.6.14
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$pN3YD7pAUFmrDBoqQjDkHep08126sUvkbrIU2npH.9bqvEZluN3wm $md5 1
Output for 5.6.13
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$NIzi4RCHL9NeHT.0W2OVI.b4LicuSiENtfaUUkiF2GARLP74qWQFG $md5 1
Output for 5.6.12
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$c6Y5RPCkxf1fdIHEUOvnm.M.kAFnn13jXx9TCOmoIWSb4XUzV8BWS $md5 1
Output for 5.6.11
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$V9aFXNwTCmRwPg4.gYrP2.EW3xzmeu/cHr97CEkrPBYa.X3eSIvCi $md5 1
Output for 5.6.10
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$Po8pASEFfIK1x3SJzxVHbeDuZTZyPo6z3hCLbcs//QeTUfk5CRQgu $md5 1
Output for 5.6.9
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$66R4zhscAS/y5IdBX395wOON17.Yed76SImWejT1viWB4qBwFkJGe $md5 1
Output for 5.6.8
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$OUjAu7nURaetC/9YMjsy/OCOUF2mTrZ/G3RcBFk45Y.vZk4feZUl6 $md5 1
Output for 5.6.7
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$g7k4XyQcN03PlSi8kTTj1.219I28ssSviIJHHm74nvKwAAoLIgGrm $md5 1
Output for 5.5.35
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$1o2l/.6vYJpdyG6P0S.L2eQLKv8krDlO/YDVQguZJLwofMaBVDZCm $md5 1
Output for 5.5.34
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$Ge3sfJqLaPg278CbKA5ngebso9lHNUihvk6MSuYYdY4OvOVGWfwg2 $md5 1
Output for 5.5.33
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$hMAsJ1MMYR4riiO60KlmmerC5VofsFctQosFynAVIJRUyxPvjbShO $md5 1
Output for 5.5.32
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$8a.5zdo3QLWoYK8muu.e4uKssDxYT64ibE24Vgk2uhTC5VF/HS6Yu $md5 1
Output for 5.5.31
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$Bg0KMFOrYwxCoYoV.XMaqOFMui7zpPP8VYiIpyrGv7bjR/be5WHPW $md5 1
Output for 5.5.30
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$2BbEbyhsSeNsopEaipKEX.chj0dEl2QUqpSSZ/MLs.pRxFQm.Bzjm $md5 1
Output for 5.5.29
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$auG4W3zxjKFWpWyuA8PSdO0RrXjeTvMIcDELB/nTXPHwtVUFbvtxq $md5 1
Output for 5.5.28
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$wnpkRGZ.0oQ82FfXTq2Bf.X1L5z3nIoFYjZ4ZXr.dUjqYdsndV4pG $md5 1
Output for 5.5.27
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$OdOC.reMmDb0FPuDs.IDnOunPfY14XfyHXa3OT6ZMeQKh4pm0JAU. $md5 1
Output for 5.5.26
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$BBSfY/uKElR5dCbSal.pCeHerveXEq8A1UBR8fbsiELTSNo5WPCmi $md5 1
Output for 5.5.25
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$Ndv3Q5muVg4nQFKZ00WxIuscQ8PmaK7F/cv0hyyzcyV5zGZTv.TTq $md5 1
Output for 5.5.24
745e248ea252e6ba4fa7266175da3f82 $md5$2y$10$Fk8RMo3F.F.kxk3JNgJ7KOKO9zxtAiIhNqlok3cYNA5RhI4aqyqU2 $md5 1
Output for 5.0.0 - 5.4.45
745e248ea252e6ba4fa7266175da3f82 Fatal error: Call to undefined function password_hash() in /in/qogc1 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/qogc1 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/qogc1 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/qogc1 on line 5