3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $hash = password_hash('qwerty',PASSWORD_DEFAULT); echo $hash; if (password_verify("qwerty", $hash)) { echo "Yes\r\n"; } else { echo "No\r\n"; } ?>
Output for 7.1.0
$2y$10$wkNTRUEbCn151WrPaZwAiewbChix4WwxFBDA82c7iuMHH7TF9oGsCYes
Output for 7.0.14
$2y$10$gGhzxPZ4CN4st6bFHAFifeVSKTDo7/NsR9/DN9sXoDnEF4xjmWE..Yes
Output for 7.0.10
$2y$10$P91WVo24UUhRDIGgnvpt..8eI9Ou5tWLDh5ePYFmQ7.EPGaMa4NBSYes
Output for 7.0.9
$2y$10$s9FMn6PUuCMiH04PewUgIeXVJXS.XUQ.IAgoqyUPAbAeDsv/vEO6eYes
Output for 7.0.8
$2y$10$Tq3oJfJFOU/0d5n5xMpl/uil5yREL4NepaSz6e88aDcooSjowlWUuYes
Output for 7.0.7
$2y$10$xmmEEYEzxuwj4Of04GsLX.euQQhNy2QvH6SN07PkR9hB.ppDrDoiqYes
Output for 7.0.6
$2y$10$EghMhAhhJF9Bc5Ri630gjeLbMoJx8OturtMCe1xXq92q.hTZfpjUaYes
Output for 7.0.5
$2y$10$z9yfMQwuipuxJIDw6/p6..aq7Aq97GaiCb6YmTEyA9YbHrrnKv26uYes
Output for 7.0.4
$2y$10$G6H0TFuBdXzktpl3szsO4ekcJEI8jcVrwnSk75N4UE8OEZ32RyNYaYes
Output for 7.0.3
$2y$10$hmT2FBT1Yehv8QD8dfV0ouBaeWv7NdgKVZqz0UoQN4PYQuRGHQtEiYes
Output for 7.0.2
$2y$10$KnbvRwfAyP6ZQP.aMJP6P.AOfmyRkPDEw4c9l3wBGrc1ErHWqbmuCYes
Output for 7.0.1
$2y$10$FhEYkC84PUqNdGrTv3pFBOQ5jmYf82KeRDuIb/kxUvNrP0dJHM83iYes
Output for 7.0.0
$2y$10$xsF5FMbhdOLgZIzM1tYeFu7xAT8oR8krmik/Fq9VecpeyCwCjf4MCYes
Output for hhvm-3.12.0
$2y$10$DH1UVWXhZYZhJLEt5y7Owe2BYg60a7FckVGKaKlxDxWkjj6ZcdgCyYes
Output for hhvm-3.10.0
$2y$10$WAzEp4x1/WYl/T2A/pUsrO8CeMWUgdBEJBRGVyUhBALaKZelorVHKYes
Output for 5.6.28
$2y$10$CKteQ85JMmvXMTDEVFQEkutohxVKgeQc84DI/p5JkCo49HRGxUEY6Yes
Output for 5.6.25
$2y$10$kX8s7DVtlm8cfD.kCcYtIONPhNV/tAokyeTQxPzlw8.5OagS.DrIWYes
Output for 5.6.24
$2y$10$NbgiV17NHRePyQHAZej9EOCHMgBzIKIrctQLJQFTsZcW/DI9JnXEyYes
Output for 5.6.23
$2y$10$.StMro09oVPyUIuTogHFKudqcgaYoEMO8hb9x5eBok8YZ12tZY5jqYes
Output for 5.6.22
$2y$10$pn4CKMfxwqMj5.XmxoqqQOjUrAv3n3wG.OQMDTPovAPKxB3Wlk1lGYes
Output for 5.6.21
$2y$10$ZIjK7ygE30dLxkbuzLv1e.OvXknjkF1zbjtK/ggxFwOLCiiDEsYneYes
Output for 5.6.20
$2y$10$ojqrjaJvhfHEDPk6SJcpoOUlorhbFqZX.Z8b2Kp3S4HXbW9qvS52qYes
Output for 5.6.19
$2y$10$1CX/vnNYcj5zQYdhjSmwwuY2PnAANF17iagOuonB0/mEyhRBtQ1RSYes
Output for 5.6.18
$2y$10$yXnl7fjfIJpY63ZTKgKFNOm21xODAwyclb5Ob5IgtVfsTqHoeukAeYes
Output for 5.6.17
$2y$10$qNd3H2XVMegZnWueaHwTy.EWaLOlhi/FYPX44u7P4Q.zv8BBDzU/iYes
Output for 5.6.16
$2y$10$nGhfN9FT9JqKWFF3DO2Q4etBI39V4IiEV4kqLNKxw1otiUTCkRHhCYes
Output for 5.6.15
$2y$10$2va34h7W6LOTV/wFGgRxEOLrNFUipvz.7Qoe3658SbUTH8pMKmlb.Yes
Output for 5.6.14
$2y$10$pkCZWidRTSoAu48XFswnZuRxPSKSfbUy86zlwti7aMwM8fa6neYBKYes
Output for 5.6.13
$2y$10$cIB5BHUbhWGy5OycvQhG1.bo1xYC5X7bsFv4h1HfDfSUiycvllVmOYes
Output for 5.6.12
$2y$10$0.wNzsWuFdekFsWv6eZrl.Lr88I1kjG0te9BaFxaPdLGh0odT0EcuYes
Output for 5.6.11
$2y$10$jr/FTBVUEWQ.xKY4ag9.COX4xYfT9.iMy5G20B6UDzAFLnzzmK1e2Yes
Output for 5.6.10
$2y$10$jrrSrIfZx.vD7GDNopMC6.zzKjeVgfSS9f7xy2BQESmWbSm9ipnKKYes
Output for 5.6.9
$2y$10$YX/taJrbVHqmesCyiG9cY.GMkSfGW2ZDZPUZ95XCB5R2rzqQSvPjSYes
Output for 5.6.8
$2y$10$WtfiKcWX55FQOhXJGcoNM.j77r2Cz5qD55cxCUye4nHYW4.zVvmm2Yes
Output for 5.6.7
$2y$10$PEKU5Cotmg7S4ueFI22KYevB47wNT.pX74G37STPXOnfDqrl46GYOYes
Output for 5.6.6
$2y$10$yigZLoffK840PfjRBTPzRO1ijWxHL9Zw.6HnVyxmYUZ5pkdBB13CeYes
Output for 5.6.5
$2y$10$RAStJ5GKRmypH8CDr9lmreZruiuYhevm9xZ4wY.ivX1PeVztyhc3KYes
Output for 5.6.4
$2y$10$gIC2f.fLeSsozusKA6uL7.RPixjCzI.9kIxiB09ptL/PZ9e4TVJRKYes
Output for 5.6.3
$2y$10$JFlXNF8yRJpmKTpUEcuUAuBMIMaRrOMdGi4AwntWjDzZNDrvafl46Yes
Output for 5.6.2
$2y$10$dLx2pAncqi/EE49whQolB.4eGHNVXOlAtks8F2hNiuo8tE7lEhCgyYes
Output for 5.6.1
$2y$10$PhPmKkx9VbHzpx/Rnoa2W.FdJ5oNrahV8bM5QTTn.PIMreV4vekDiYes
Output for 5.6.0
$2y$10$/n4ZWNU3TbNkcH4J3njiz.yU7tUj46DhKrawhyBdkJmMpzcENaAfKYes
Output for 5.5.38
$2y$10$/xW3T.oe1H2gTboMx1SdreXdDQrsHOfZDYOHuH5t0lMzscYjZdRiyYes
Output for 5.5.37
$2y$10$lurGQd1JPIs2fVuM6f36zuJqBVKKY6Zbhp70/sMqOVdTQkpO/.K6mYes
Output for 5.5.36
$2y$10$eLXaTYMfOLFl6t44Z5aW8uADhsrV/b1QFnEm65zUe4Qxbz/rt0N.SYes
Output for 5.5.35
$2y$10$BCCGz4x2KyL0v7uyeFZrR.QczdO8MC0G42KrZvwS2cwe8K8nK1joCYes
Output for 5.5.34
$2y$10$s9x3wKISIRx79WAJklpDP.CIwchDi.fRC87ebL/gs4G14xm1g0Ng6Yes
Output for 5.5.33
$2y$10$kVsk9pVumh9GEJKCPM6anO1VQ.LNZKmvTz6c/u9ygdE84/W9eWEP6Yes
Output for 5.5.32
$2y$10$qc1Wu3VVV3W30ab7dPTU7egd3kp68ovC30/zEu2yTFVU7BRhKeqAOYes
Output for 5.5.31
$2y$10$TMcU01qTeflJUG6hHRYbmeLEjixZC75Lp.HcXtKtWr4qNFrt8FzxGYes
Output for 5.5.30
$2y$10$dUeAtrgjRVckO9RRYdQ7DuL6Vvl/TUdo8e/egZpdT6/Xcfx2/zjsaYes
Output for 5.5.29
$2y$10$SHeD9AAqhJQMlGroKcNgOOj8tkSr0q/8BXf2SzwlUD5/f2u4y1XeqYes
Output for 5.5.28
$2y$10$bpOZf6VUH96hW6p1RzBajeIZvfkalbJuyS6JU1c9xfXPIeXQts31uYes
Output for 5.5.27
$2y$10$Z/Vu5PC16J3kyPrmncCNNuak9QpI6BnmF/0RfRyQXUrHJX/LSQop.Yes
Output for 5.5.26
$2y$10$LwNUFg4.C4iKrGnhwsHGY.e0Hu4JEOXMybF4u4PulHkjdKnrMjuZyYes
Output for 5.5.25
$2y$10$/ra9UT7uOeJWO9qbmA8xRuPr7RCcAzaVzQa5OuLRYQFKFZWsju/vSYes
Output for 5.5.24
$2y$10$RM4Iam6vm5TJ1oi89fQWtO6Lan55qMEuVVVAfKw4U63i5q3o46LWyYes
Output for 5.5.23
$2y$10$bpOvfGPlPYy.tRcYbZq2quOSniAKSFwQiRTC/U/0f/vV63rztePpWYes
Output for 5.5.22
$2y$10$nvYM3lUYs5IysWeyjhcbn.YYYcxQP/XMb.S/l.mKUCl4oD3Gi8ceaYes
Output for 5.5.21
$2y$10$EoLbeYc6d.sLOG0bR/.A9uLNUlXUcVuEd6af3M0ukmLXSKXMpH69.Yes
Output for 5.5.20
$2y$10$Km0t9ebDKjEW1tUJqyRufeM4M3oNsgJbnbXjRMH9VG75cKn3VUtHmYes
Output for 5.5.19
$2y$10$FnYz8v0vRTtFtoiaDBeCb./hPwCr8Uk1T/Gt6ILG7cwwqFJu8E0heYes
Output for 5.5.18
$2y$10$cprGTWO/fMH2qwVlXhRMb.9H6WhmSNY.hWTNd4Z9G.vLMfwBk4a4CYes
Output for 5.5.16
$2y$10$aFLyowFT8q1MOHXccdpfQ.HCH7/.2iZ8tvMigvCl8Yu6hznabKq4mYes
Output for 5.5.15
$2y$10$FK7mleD//mYQwPfUFao2h.rpKgnBdgMboy3pADICF4dHGK5GNxa0uYes
Output for 5.5.14
$2y$10$7Dfut0cL3O6aTG4lnGJQMum7UzhZStbM34BY9iagwZeAwJfU3rFBuYes
Output for 5.5.13
$2y$10$fj7LXBBEuCbGlJkK3zGGJuGTMfKVGO3Gu.XzmaOHhqLqH2AO9nyfSYes
Output for 5.5.12
$2y$10$L5y/VRx2StgvaLZhiONFVOxXH9bUB8jDkllF01wlqkLHX/XPjUN/OYes
Output for 5.5.11
$2y$10$yDvdh9XRen3hyTeDYhN4x.AsJzh6UnlhCrfZ1Aw6gcYCG3DIFSTXKYes
Output for 5.5.10
$2y$10$/Fz7widWvtCBZJnUgjULLOlv1QAhpTgqoEsPL0vRqN1CNwZyKw2G2Yes
Output for 5.5.9
$2y$10$zkwKcqd5X2xnSgSu9yofW.okdWIojQsvQ3NQ04Vu/oynSBf571yE.Yes
Output for 5.5.8
$2y$10$8CGkR.1oof/bfPiCvpV4SOWNqvg9PhwMHxaBIEurYqmQ0ExWs9pt2Yes
Output for 5.5.7
$2y$10$RTHXKL03hopCS/QSmChoO.Yqwj8KogcfJbHWtHkhYH3jzJ.b.jDnuYes
Output for 5.5.6
$2y$10$eWkmek8ZJiUkF9BjL3Mog.fs5KJkQsC5z8Ev87mEYYn1dAF2DQmaCYes
Output for 5.5.5
$2y$10$waBaQ6TOCqLEEHG3.556wupYivDFLclzjhhf9Q6q9udzv3yBchDnOYes
Output for 5.5.4
$2y$10$/CE2gK/U5P.ytr6odnU4cOE3KOrGIkS0Bh717kFbalNAHhZqnnaGSYes
Output for 5.5.3
$2y$10$VDa2ZOkQCJ.R9rMuqntXH.w9AFL8agF9kVtCXJwh3GZPwq828yY4aYes
Output for 5.5.2
$2y$10$v4ChvnBoX7YFbZkcq4aILerbqz7TzX2CMLXM98FP.rkAh8cHcz1baYes
Output for 5.5.1
$2y$10$1cnhf6L4supU0bDPb5S6xusKcCHnEiS1p40GQw8grQG4PIwFk9Cl6Yes
Output for 5.5.0
$2y$10$4nSkPNgujDVrQJt.693Ve.B2gj.HW/yT64dW62W2OrkDsPV7eQK42Yes
Output for 5.0.0 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/O2nYJ on line 3
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: password_hash() in /in/O2nYJ on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: password_hash() in /in/O2nYJ on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: password_hash() in /in/O2nYJ on line 3