3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo password_hash('test123', PASSWORD_BCRYPT, array('cost' => 10));
Output for 7.3.0rc4
$2y$10$GfcYXF6e/2.4LFm8UFD4O.6nw/0TVpdKcwOTqi07TrwnpTY.J1Nuy
Output for 7.3.0rc3
$2y$10$Ylw0AdtIv9IF1A0uXx67/uMgmCft0tK28/FEQ16m6TLu9Sk5JgdeC
Output for 7.3.0beta1
$2y$10$JVVnFkvH5j0fGyU83ivonuCe6fQ2I4WsSss8litA9FaQRSIu1TIYW
Output for 7.3.0alpha1
$2y$10$FqYKUWlk9ZoRg95yAFLsneyn2n8.Rq431CEfuzRUp/lciZykjpZ.u
Output for 7.2.6
$2y$10$P5/CWVffo7MqEtiJK8ozYuPM0piDXEzsRC2XcsxSaAE02WW3IUvXq
Output for 7.2.0
$2y$10$70RmAu0Qp.qpj/Pibt0Sj.fZYFjR8by9iLAFjmyl.o5NtpmgQPOtC
Output for 7.1.20
$2y$10$VouN.eYR9tAumthHAehX4.ruOqwaVwg2v9qmoM88DE8xiAEmwbnq.
Output for 7.1.10
$2y$10$nPNY.JFVr5hFXltOD8b83.rVSatu4apAXyUen7kfX1mzr9tNYghLK
Output for 7.1.7
$2y$10$97Masc1cPY8.XHZ5CN8riuIVnQR1btikNHAFxllXBchpMBrj6CKh6
Output for 7.1.6
$2y$10$Zm9pW0U4pXxJNk0JHPc5vu.dEwz4e.kw9VOYFwfxYD5Ro17GPwDwi
Output for 7.1.5
$2y$10$fzGGrMgEcoENd1nldgKuLeljCwmxY98ivqCnX36IThWRVip274ocW
Output for 7.1.0
$2y$10$W.yCfg9t7yD5EwgbFR2Lnu9ji0hyPqFjU8tzRc7NmTxcPMGRjKxK2
Output for 7.0.20
$2y$10$.tUFOiK.6Sbapk6.WB0uM.sGSRIc2hvXvOhaTzqw5v76wMeMpmJnO
Output for 7.0.14
$2y$10$bPA/cqWVdFujcvf34E6pDucCjpOs8TNm6XL56wfP.HLqYzfttTz3a
Output for 7.0.6
$2y$10$2uu9xGmIMtzXBHkEHVrEYOUvtZySVT5ExqEtgW6o4b.ZRDQY3GcZ.
Output for 7.0.5
$2y$10$6d4b2kyV5jzMJxUIneBrmezlv7sfUvqco996dzHjIvtza4q8zb6RG
Output for 7.0.4
$2y$10$dxi4yzb8f2JinMj6UvOZEe2sCnNwIgAQ8Ku4w93x236PJ5OeyVMjO
Output for 7.0.3
$2y$10$w.bUpf/uBNk9CbN7QoGlS.BHAN0RSeQU6deWB5J0A1BoxjqF9Oi/W
Output for 7.0.2
$2y$10$sPPEdQ57pZ2CchU4.lXG2.RyAQ0WMnGxDXX4bbEol8mpxbhZESftC
Output for 7.0.1
$2y$10$SegMMpU7A4Wm2lrs4MFrA.C9n.8bK3FYWSQJruos1xZMmkuwkuCVW
Output for 7.0.0
$2y$10$0Wqhx6m.Sx2ek1VpFJdcWeOiF6yEPTtusGapuCBgCQxgzYVvxdxu6
Output for 5.6.28
$2y$10$HMRrrw1mYYcMnQYmZqsvR.26iQ13qJXJKAgoPJEv3dvw4322HWyd2
Output for 5.6.21
$2y$10$LEizA/kZ8m5HKq3Jze6Nn.K2iTuJ8cddUW1BuO1YZ8bZTnPEF1WZW
Output for 5.6.20
$2y$10$cWPsx.ah00ekZvK2LNtMlu3/5RCa7KNYoFCPVZlMBXQ8G8o6RPh5i
Output for 5.6.19
$2y$10$faAaLVUfRvBHCKO2nCI0m.4Ieh1AQkvllWoTkd9KGOpzXgPAeHYPi
Output for 5.6.18
$2y$10$0rxa/0zP5Q/aCDG.GbwBp.IzhAboStOfCli9oMiT0L9FexMWFBGQa
Output for 5.6.17
$2y$10$NUDj7WT20S3zvs79ohQSFuoYYBN7jRFKeqfjC5pCFwfwq06m/PxpK
Output for 5.6.16
$2y$10$YD/Gwp87GOel0f4urkvn1.CQL9/pK00EKBr7t4rHwX32TxwKpd14q
Output for 5.6.15
$2y$10$kuan66TqJQWHpthSx0wrSeqoFfQzjW00gtqWcSkWccQjIvdcif0Zu
Output for 5.6.14
$2y$10$ucFofPjjtkPI7AWo3o8Aw.n6VjyOgKsXhvRxOLBmVcxWTu1g8peEO
Output for 5.6.13
$2y$10$j85Kmp0f0wYHq9awV8ugdOum4KtXv4371aDmI58S6vEUsoo16Ck.u
Output for 5.6.12
$2y$10$PyGYwTaLuvF.2VOVdLvknOBufhoenff9Xl4FdOP2YCBVYLcKdTaSa
Output for 5.6.11
$2y$10$JA0EiLhFgODN0OU30udXmeEPcnt7hHoJWyvFsZsOZZIIg7tTk3flq
Output for 5.6.10
$2y$10$DAHDildAqjWephQkSRIFj.AYGLnBudVfhoaRdX4isXAXnGz.cJRzi
Output for 5.6.9
$2y$10$09OVzvXPf33i41Wxwe5bz.s4x/qsX2hdgP3yTCqvHiCwOhXJBElGm
Output for 5.6.8
$2y$10$J1Vrmn2hLjDBfut/aTdOu.FCnv2J/Jet/AsWv0P0c3/Z7xTLTOHOa
Output for 5.6.7
$2y$10$BJT8t7CIBMb5r4eQh2pBUu8jjdTIRdJ4ZwclJJg26LDV0vCGjLGw2
Output for 5.5.35
$2y$10$4SE/FyCgSzxOSFqofcIgKuIF6nbDPriPNz4MeNqRf4PV86BP.6kVy
Output for 5.5.34
$2y$10$8hUtD85klryFtERcBibQNez0./p6e.kKjSVYZSXyUO9mquWK0X1sy
Output for 5.5.33
$2y$10$IkiRCmY0kRPXNx2MfsMXw.FBuBa2Qu4I9LlxggUwGlmAuSNc1tm8e
Output for 5.5.32
$2y$10$g69rdYOtEdcIkzFQRA.2RufOzVOjaIchE.Oxs5h4cVUBwiYjgLeky
Output for 5.5.31
$2y$10$Icmj.KVRLWr645HcGi39g.Pydb0GRQ2ocYi3G8sXGZT.VX.Eb1KT6
Output for 5.5.30
$2y$10$fNpDikXKccXVteZ9.oTDROLc/t6fQR9X7G0DOge./tVW11at.5CHu
Output for 5.5.29
$2y$10$LQlI61mbaofra7UVQH3wceQIKOP9QA6oHQQKvYajB0qeODBcKet7y
Output for 5.5.28
$2y$10$R0T1XVNB.j43MgTtGhoQjuFBPB5Jdwbx6PNTZsBTMivoeK3QAHz0K
Output for 5.5.27
$2y$10$dNsWhnfVuSB3uBe9uqd3GedjcIJVZwVvDz8yJES74PBbOxsxuykb2
Output for 5.5.26
$2y$10$oQ0gox74c1GiCPRARCejneMCIbW0XgoC1zVZbJlvF5T2E3VOGxz5S
Output for 5.5.25
$2y$10$OT6JF83RxoBs8LsMakT1d.ueIONLBtXpvfgA380t6XohCDDmdm8mq
Output for 5.5.24
$2y$10$evWE4Scd9.QPybpa.dZuJuKalbWVC4GGxmtJRi410m.g3DS0Nxc6C
Output for 5.0.0 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/60L6k on line 2
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: password_hash() in /in/60L6k on line 2
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: password_hash() in /in/60L6k on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: password_hash() in /in/60L6k on line 2