3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo $a = password_hash('test', PASSWORD_BCRYPT), "\n",strlen($a);
Output for 7.1.0
$2y$10$tRuniSF0shlG4f0/rxYwZe5IFpE.9ZNHH6mmFRlj3po9CPFZduHoK 60
Output for 7.0.14
$2y$10$EGydIFbZXD5sTPOHdFw8O.byzmVU/I.yOWVnaS7r6zB3Sk8SzOcQy 60
Output for 7.0.10
$2y$10$k4yaAf/NYX/wfFgzJvrYZ.sAVva7lfS8n1M5uZI2PD3/rDqfd1p3. 60
Output for 7.0.9
$2y$10$jDSbJgy7m6k1sNBBmdy4cOrlAffVPPAm/45wKQbVlVPsVrJon98Tm 60
Output for 7.0.8
$2y$10$4PjF2VFj82o0AvBO9JnYD.PZxo4fsdmii5pAKw9Vwh1m76ltbhiau 60
Output for 7.0.7
$2y$10$uYRLRmtQKcn8weqLz.ydru3oDeAIHUPf5ufQcYtsV..flbRA/1Cc. 60
Output for 7.0.6
$2y$10$8Wbwqspl1DrFPJv8J6HS9.WEOnnIcczvtvthU4.GMnzQJIxD2/5ZW 60
Output for 7.0.5
$2y$10$Z2h/l9NLzrs.0XQLPlg7zuvXPH7c/s4tZ0LFNt7x0CvltL4.LRRMe 60
Output for 7.0.4
$2y$10$mK3yyfZPAJVHo1gPNWZ57O.BDB2audcRa6SESCMz6sxp9UPDFaDca 60
Output for 7.0.3
$2y$10$HVIfkNSeaJBqub8OsQla/ufMiXYqPiUx4S2B5BhN1xNz7Gdzz5WNW 60
Output for 7.0.2
$2y$10$QYM9EJKkP..4851.050EIeK0qlGFXAddf3yAN0KiTQfU5NVPLVUJG 60
Output for 7.0.1
$2y$10$H.wIAaTK.VYyeKq6pbjrtuwL2hHGpyT5BFngFTWrg8.XairsOWWkG 60
Output for 7.0.0
$2y$10$6cMrnsR1Fp.RmSbcBnPZju43P.X68ohJaVHAjclv7TduV0l4HZDrC 60
Output for hhvm-3.12.0
$2y$10$L6jrhbddYsTupitI1QDwQeazyTE5l7GbUbgSVXYhYBlG3dsb0AzFu 60
Output for hhvm-3.10.0
$2y$10$USIHTleENPKm.bi9vRxINO3OmefUQKt9gQYaqBCHpFWlmPU8sxlg6 60
Output for 5.6.28
$2y$10$a87q4sn4dXcc8NKpxFWd5exeELOkGy1YCn8/UM5K3WuINo1FBqyq2 60
Output for 5.6.25
$2y$10$amZoZQbFhDLu5SNebLPG3.nFZMs9ewUc.AbPIKK3J3CmI51twhs/q 60
Output for 5.6.24
$2y$10$7ccBsRoG9w/.Nk9FTVCfJ.4QVIgeV7P6fGqw0B1MOJjAen2czMWc6 60
Output for 5.6.23
$2y$10$NpA6fTILDUI9c780Lhxg2O1IdjGxzvKNuGhQNPdmrC2Pie1/fRdWa 60
Output for 5.6.22
$2y$10$owEP5exsz3AU.iHXbt7NLOAzZOrAEEhujn35VWa18h1zFKkTSoGQK 60
Output for 5.6.21
$2y$10$bnR5oE80E9p.8iZ4vLA71O9r8zbN3GEwMuPCWWjDD2l7GvgszbxMq 60
Output for 5.6.20
$2y$10$Suk8u19SQ4SdLc/BThX06O0BcLTsFLxaKRdTyquEMoQIIzS6Np/7y 60
Output for 5.6.19
$2y$10$h2Fgzd4CMVv1E.qGn.C4G.boSu5vsqZzALF.6qlYFrqk1himiyKE2 60
Output for 5.6.18
$2y$10$TB.4E8I2kHK8wni1LlEDIeUDvRKm2lNpQPBhi3Pcmw5M8eJ2xV3Qe 60
Output for 5.6.17
$2y$10$MkT/CRyySKN4uUiw6Dlq3O4iZsTQ4v6QeHW1VJaOzRkoeeRoM1sJe 60
Output for 5.6.16
$2y$10$Jar7KYVs.BFAfPajypXakOblL4u2VZJeCsK47gJFusGnpLBe2bv5S 60
Output for 5.6.15
$2y$10$S.rx.zrWnJUOKUlvODuHEezO/hY.DwN1YXcDBSba2/b671pZzaAb2 60
Output for 5.6.14
$2y$10$9yyoU.9aad2M4bGYoKElUOi1jzs1SlElsklMyECoNJ6lLafpaTxx6 60
Output for 5.6.13
$2y$10$QAXliHSgy0kaDBe21DQwKuqlCPkdtrHUIgZq9n3VFYaWn1YVqKRsq 60
Output for 5.6.12
$2y$10$NN4ddAUTV3y5w/BdScTHJeztTf6zMH/PmKZGlKSWc5BMMrkgkcPnq 60
Output for 5.6.11
$2y$10$C1eyJOXldinlYxADV3/iBeWbifE5NUDJz8NXg5UKmMcfrEWRMBqii 60
Output for 5.6.10
$2y$10$7rnqiWUivHUBUCNeMOx/7O8kLxLwamcNlj9etkJn0O3WNJRZjSRHO 60
Output for 5.6.9
$2y$10$542biCoZ.xwu5aDwrGCEfOQsIz0FGL/34OHjh682V.yTFRLxMJObC 60
Output for 5.6.8
$2y$10$jIrF.3TlRaKMdC6Y9tXi5eB4BOz6IVrZdM/pgexhJ/wE47mgEsujq 60
Output for 5.6.7
$2y$10$Wjy/lrXeTT/X8zJe3fFNU.Stqv3Nj9ynHlPoRhQEPo4Qd.kX8AI2O 60
Output for 5.6.6
$2y$10$YtBWo4mVKnb54HHkiHtvwO7T9aUWEvYBYyCFopen5z/VVQv/XYQ7K 60
Output for 5.6.5
$2y$10$Ay42cJhF2V1A.Sok1ek1iuPgxXY/m5153kj2bN3ScfoC26LfFxZ7u 60
Output for 5.6.4
$2y$10$hbYgzOrsbJmxSC1ETJ0mDuuBMDtob7PSvup.9lPbLaYeye8XRtX3G 60
Output for 5.6.3
$2y$10$LTelKRJ.3KXKlsbk/E/uXO.Zticg/JOr5UhDV3KOQoMwdZlZ9rR8W 60
Output for 5.6.2
$2y$10$4gtMMwSbQaiNJPEwwhibiugXx7TwJ1/KZDwHETDzkM3PPyaD2mMaO 60
Output for 5.6.1
$2y$10$Eiz.kL.meQZ4Ms8613Hst.Tp7WyOrZh/zN7mZKWB6998p/1k9HSKS 60
Output for 5.6.0
$2y$10$l0/axKcjn4UD5FtvDOXP4.YZYUhdLwhlahMRx9uywCIBM9F8dvAPy 60
Output for 5.5.38
$2y$10$0EpDqIWyzfpeQBK6OT1fmORK.h8dJ0DUq8F9zNQ9p485pMefEtdEC 60
Output for 5.5.37
$2y$10$.ucuA/BfQNmkTvrH1o4IWOS09h36YyFTa5RGsd0waU/F93.nW1Yvy 60
Output for 5.5.36
$2y$10$qsrSrsnrrVF7rUaGD/QQY.xlxrB3eplkrm.HIwnSXsO4fdT.PZCwG 60
Output for 5.5.35
$2y$10$xOu7KZpZVS6YavA6BTsY1.FGY1bgo8pQ8r9ggmpeQ.O6rZFc6Vyo6 60
Output for 5.5.34
$2y$10$ZF16jk3tWaEc9t55t4lEyuDvNzAQ0CFvF88q3P4S0V7siPO.TAgX2 60
Output for 5.5.33
$2y$10$NN6dpmxSAGDuiQCI/VqJ5.Z2greEYNGbyd73/Mh08A8GKIaRRg6z6 60
Output for 5.5.32
$2y$10$XOOCXF8w3WYG.ItX2IA67eEKAFgu0E8OAlaCuoMhz3ZDMG53uE80i 60
Output for 5.5.31
$2y$10$fBS2I6t7PhCp18X4p05Ha.PqXLBMP9moaiiBs//UjoPGTIH3xrYHC 60
Output for 5.5.30
$2y$10$u42JkiwqDPWIV/L4pFHQDONekJh.R.gy0tmPYv9QlFuWD56btA/5W 60
Output for 5.5.29
$2y$10$IsKoeJEftQtLIwuBiFdnA.zwJjoKlS8LdMtmsPdgO1hbzVyOYM64a 60
Output for 5.5.28
$2y$10$Vj6HzHV2lrlpjDdmFDPBcuua7QF8XSmAKlbk1uV3YJ1C9qFSJc1LC 60
Output for 5.5.27
$2y$10$pJbVnlBgGtylM7wmejeFC.R5xF9n.KvA2Me0h4ssjveD4W4lPCjRe 60
Output for 5.5.26
$2y$10$dHNg/KufiYfT8Zz4tX3s3u5LPgHYdBvcbUeZdQKZSat3Yos1zPFke 60
Output for 5.5.25
$2y$10$b5sJok1KuDFWMVWiLFm63upNR7PLUo/eeMI5IU3BSPyys6uWWBwqm 60
Output for 5.5.24
$2y$10$45Ji1ohp6g1CCumScIPUSupIs3KwdUzHOfjp0mIAFR1RcJEgh.O3m 60
Output for 5.5.23
$2y$10$dz7F.0eaFGG.IhqEt5J8mu5RiX5EezoKDsZ97geZEnpD.VQSoynm2 60
Output for 5.5.22
$2y$10$5ovnjc1zgeJ22qRibz5m..SlSjtelTLFkLRLV9OhaXdSEmQXj5ASm 60
Output for 5.5.21
$2y$10$eKrx53PEDz7LIqlsY1Pt8O6liey60HlRGw4NVl4W3lepnU5c21HZi 60
Output for 5.5.20
$2y$10$mgcFeGpTv60mzSqODWQNseeANL5RwdZuneFCY6SHb6CpjIzos/s1a 60
Output for 5.5.19
$2y$10$/oWdR/9ABoPOLygrgtomoeTVnEv.MjRdr1shAmtZWygYZQJZrF7Xa 60
Output for 5.5.18
$2y$10$5L.IfAN4bZijipp1tE3Jp.7fj7dnb3AZ8W/UKSsbrWKBCRSOG/fUu 60
Output for 5.5.16
$2y$10$bHvsDiRyAINP0DE57FyLy.AiRBelTabmtKA6nZ6NXfn69/Llr5eWq 60
Output for 5.5.15
$2y$10$r/o59o9mqsO.2FWhqpJgF.CbHqNT5Tpk4BUf/O5QuOOKTUrJMa/0a 60
Output for 5.5.14
$2y$10$7KoLRDjNdHELS3vqpXHzP.iz6WcKbrmYX59sAhrEX09C/omDiRPTS 60
Output for 5.5.13
$2y$10$PWS2zPb0qWZZKDHZ6lCAsu3.DIkct1dYZbL0C5Sx4zaUGKK/75E56 60
Output for 5.5.12
$2y$10$hZH1Wum9wcZN5hDPpPnMruxY.lSL4Hd656FpoMnM4m3ZN6Beog8we 60
Output for 5.5.11
$2y$10$PUnt4TL../glNQFLh.HkF.vqUcoNbi8FRlcCIgIhHzzr/S9f.GhQa 60
Output for 5.5.10
$2y$10$Hb21MP8xvqYarAYGBekKbuZALhb.C3MKepL/FBF3ixj1NYKJ9DPyG 60
Output for 5.5.9
$2y$10$BXdS.rkWe0U.pCfEoM5HAe/q/hxQEbPuT1ZCk4dZq5DQ48WNt7iWS 60
Output for 5.5.8
$2y$10$rnAuIr9fPGBj3IBl1FFGo.ftPNhFvYu4cZE4oy4xAN9msPYJ8YqGi 60
Output for 5.5.7
$2y$10$4RoQNRuAozAT.GSORbybKusw4byobyBjMkBeeATq7fG3iTQI3mEfG 60
Output for 5.5.6
$2y$10$Bu4cJwdJy.YmnVNaM7X5KeWmusBmsxD2cI8mTiq7d3LnhSLU4xdKu 60
Output for 5.5.5
$2y$10$ENcGTbqx6vmL3t1lX7vf6.pivSEwIm8n31CExATLQE4oNozOLaFHa 60
Output for 5.5.4
$2y$10$ztZ22k8oR53RPCsqlQteIehC12fkI12QbCVqoMmOPpcaXmt44iMqq 60
Output for 5.5.3
$2y$10$9B10fX8Piy4zt9QVYHqOj.oNibtPjvn7kifq3TOf0kXgVQtSajUkS 60
Output for 5.5.2
$2y$10$bFHvhbEaLTRLYF1IP6.Vmeh5SBwx7F2m.hftIyldsZ34/IsFlxhre 60
Output for 5.5.1
$2y$10$jT5J9NE7AhBJP.X81TssV.adpQsKpn98nOIQHt9WfpXLdmPkC2ASm 60
Output for 5.5.0
$2y$10$cxIhZvu/FETjBqSdAQRSIOix6uTmTN.x9WxSXu783dzDrDxYbuose 60
Output for 5.0.0 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/Z78UA 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/Z78UA 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/Z78UA 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/Z78UA on line 3