3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $options = [ 'cost' => 12, ]; echo password_hash("rasmuslerdorf", PASSWORD_BCRYPT, $options)."\n";
Output for 7.2.0
$2y$12$Y2FrTmib8/RenHxW22hYfepMu.WpTfkrRiUBYsahHRCMfRxKGBKIi
Output for 7.1.7
$2y$12$VX12UA8b.3Ew6JkKycvtzOZ4asfVzL8idH0iMzzSpT8z2vzyf12nK
Output for 7.1.6
$2y$12$dHGSytMinAQiQiKG4veVIOLfiWnW.BY3bXwGFv5oRQHYllyXlPtsK
Output for 7.1.5
$2y$12$UsIXIpnBpwjc4.S83CGbt.LDh9Nz.AnlnFDG6zFoAtkSa3y2cyByi
Output for 7.1.4
$2y$12$NP9VUlrhHEMd16svzTUSAehQnrKwN0f6.VjwwqWkNBFNF/ylpGTve
Output for 7.1.3
$2y$12$cqu5b.D/61vFOAQ4xkecU.Tw2xkXlCGjTWvgp9nb7nvZ0ge/V0pmC
Output for 7.1.2
$2y$12$Z5nq4KevCNwJuqwN9fRx5ufP.0OKM9uaANZtANDtwW7U8tn8sz5f2
Output for 7.1.1
$2y$12$Q5mX3StrJa/53xpwOxZ49.VbcG6w1PR22FfYL9LtCBBq8Yqyz.SYi
Output for 7.1.0
$2y$12$SYxWNVwABK19LPwkVnalnuwsp1UA9arYNWgIRMu3ytl277dT/f.8u
Output for 7.0.20
$2y$12$r93h3CgQRUC1iNxFRu2q9OhdTbgnnf0xUR0McHPNGYm1yFM57rWy2
Output for 7.0.19
$2y$12$4297RibsayOBSI9bGNaZbOSVXBieANlib8xhQlNvL/1FuPX.QOk26
Output for 7.0.18
$2y$12$FkCfzA6pZ4mRLwbgqPuZzOcvMP6Pd59AGvsu2Airj5vYZA.3SXrwC
Output for 7.0.17
$2y$12$J6kmIQqM1AtsHy61y5/s/uR6Zy99pxpouXqfyc1KbjmODNFw2jTua
Output for 7.0.16
$2y$12$dJtpDu5Hd4ywRyOR75QMVOFT9s7.x4iJJ6oGUOal8D/KPtH6LUjhW
Output for 7.0.15
$2y$12$2l0GiSlcRrtSCDfZkiX4duh2HEo5.JFmbjXpimdtio3IKKxNhq4zK
Output for 7.0.14
$2y$12$8OhPAVpSyBWzGAo6WB1q0OYrYAV.m7Z8dQiH30VsCpc47/gn7oYjG
Output for 7.0.13
$2y$12$egel4Op1y56uNW2Rg69o5O9N68Ij0wLZIHeOsS4sfujeAqRdrJOQ2
Output for 7.0.12
$2y$12$ic/dR6G4Z2T0lpQT9ZAe3OD2pzv7a2pFu/1J09dHRY7EZ9eC/WDTO
Output for 7.0.11
$2y$12$LORlCnrGnHbBKfSO.GssOuAUz9MVD.euMng./0mzOG/tEW.QkR2.i
Output for 7.0.10
$2y$12$ABQlxUK7Eyq/vm/lG9xeD.U8x3z7.GrP6MQDV7JOOI2MZnBY0J0n2
Output for 7.0.9
$2y$12$fbeTDmF/t17tsaz/mm9l2uU8HBxrOJPtqYEdJl5221LLmbONMSYAe
Output for 7.0.8
$2y$12$fWM.ssYjHQNgKdW0htG/eu1dFpVOLcVvKNrN22oduVyzhyMtvOaAW
Output for 7.0.7
$2y$12$MIpc.sbcR/2vi7G3ryWmhu/nEFJarKkcvCmcocF3czTeTwKctPCIC
Output for 7.0.6
$2y$12$8ZA.A15xdrDCaKqxsCexS.e678emDGWtP/S./cfg.1lz/g1exgP3O
Output for 7.0.5
$2y$12$jd4SmLD4BIUXwVCNe9rZyOHRHqqyxI.aUPnfbKCcMcx4igDBrKBU2
Output for 7.0.4
$2y$12$b9EFoP6BilFgkYw/hVk3J...hffZtqbvm9GSBjXoM1R1TZuP77vQu
Output for 7.0.3
$2y$12$.5HNNVQUfwwwpqmaBqts7.8T0x0A4koZcFdWe1xQOnjR/EoE/TnJS
Output for 7.0.2
$2y$12$JBz6ClIawz1EMqcT51h.9O2l06PKh25iI.WoN2KjOD1IxwqQfCQuC
Output for 7.0.1
$2y$12$B.x9zKc/7dV37/12XXFSZu6j7W3Txz799./UCkAa5TNxSYfcXUNGG
Output for 7.0.0
$2y$12$iybw3PsmS4/LMIrOQyS8dOy7SYycfLdEJ2jFzkEXWB1ddGtgx04na
Output for hhvm-3.17.3
$2y$12$FwAMJX38je9lnGtLJkyH2.smnf//1l5yzDIODE882v8/adaq1UXpC
Output for hhvm-3.15.4
$2y$12$twoNTfH0mnPOKn3Ju6HbEuNh4Y3VxzyMqPz1T5Ezz7jkKbT.V/qiu
Output for hhvm-3.13.2

Process exited with code 137.
Output for hhvm-3.12.14
$2y$12$665BlnWHP7NmCr3Gamp5aeN3O3hGrbZAvi4smsNhSPF1gaslpti8K
Output for hhvm-3.11.1
$2y$12$oP20NiwjvJDHMZN8wOXA3eAPmFztKDGBACE5vXE3i7tPSXuq1Gz5y
Output for hhvm-3.10.1
$2y$12$IQoswcEGUN3HZyQF73pKQOV/qQ.TLTUPBX01YmRyVfGdQDAnPV9mq
Output for 5.6.30
$2y$12$gNsvfD9hHw0G1mUNhc0UO.ttuovYHAIEr9T6pefZoNmdJlgvK.DlW
Output for 5.6.29
$2y$12$q0AxsRuKV30DYKtuUCK3meGNtzNJNso9TrL4o3H7IcBndl6tX9iOi
Output for 5.6.28
$2y$12$mIc5yHmkUeBFfTtxM8yrWepbIvfANDufcPybEn.mimxQHNHJF0Et6
Output for 5.6.27
$2y$12$tfpuaUzG4Vmy59iGLp1t5ec9u7uS9MqcfOXw6S.OlHDubUnX6rmdq
Output for 5.6.26
$2y$12$42THvUMqMht9RS2rpIqs4.T0bq26Da0wmMbj3wSvXyrPvF556/KMu
Output for 5.6.25
$2y$12$cDJ.jZpionSheXBBZiQbJO4mT86d9YrC7Wc0QkVpv/GPJ/GNuZM8S
Output for 5.6.24
$2y$12$1BWNdjNcubm9PT8LdkfUXutQnFO.EmFY/LnYtOST0COKSgBtggimO
Output for 5.6.23
$2y$12$PbvoRe/i7jsi9.pOUmQANOwJV.Nk50C5Glf7mSCuSpf8DwNLk8c7a
Output for 5.6.22
$2y$12$ER1zRJl2NkoWspryyfmM7uEJD.DKAY0fNLp9b5RN4qvJ.yYfktJZq
Output for 5.6.21
$2y$12$Hsp1yTLysowAdOH20YM40uBVYQOIk5Pmnn.dm4k.JjoqhJp.P4yTi
Output for 5.6.20
$2y$12$PhJlyC2jA6V5y0Ghh1Gdguj9W8J2JrKA86VbQD939EQIIpQGIuJPW
Output for 5.6.19
$2y$12$a8zFmYgvVg90bOKa9WdTE.b5vQ.RAP4YEwXc2iqVrGZF6ZHMf78vm
Output for 5.6.18
$2y$12$gTe1.mNifYfV40tT64DvLeUWtsIJY3K4P4s3g2.liZUy9Yw6202DS
Output for 5.6.17
$2y$12$F0zYT3YSu03JERxm4XOL3Op.JBA4bezB3oGEO4KrVEVfTGFYy4v8C
Output for 5.6.16
$2y$12$sTsQrG8T5bmrlvT/H/JDbeHFt7IxMZ0FNKMjw5ORenBRnmcvVdKS2
Output for 5.6.15
$2y$12$cpW3iAuKJQKpD7hZSop0weYoMyHlNyOhQSJ0OhFvARjNFnp6I5BZu
Output for 5.6.14
$2y$12$KZPSah/6XNZQpRdy/X46L.UovQcEdumO63LN70jBjnHFx18l7UaIe
Output for 5.6.13
$2y$12$esCVYuKlVHrWekg1CAu.iekBE5a8U/fe8gGahZtKLZ3LDPMh.uP8y
Output for 5.6.12
$2y$12$DQp/9sERCinIpE3OizpRNuWvZZUg5/aiqAN59QH7iFEcFGGrAxj2S
Output for 5.6.11
$2y$12$lSm9xWDpKHHr1OdrYxzveu0TQ9FGTXklW.ieWquJT4pJ.Zr0AAFky
Output for 5.6.10
$2y$12$ljc0v4g.QPOZgmIls1nD3u.ggznpx0UiXcaIJM3gBjXO00NCR6Sr2
Output for 5.6.9
$2y$12$r6Zk1PFr/H2qo//8.eyZXO.Z84up5QZoVtUgTaG3Y9v0Zbruv3EIe
Output for 5.6.8
$2y$12$4qF23IMjXApSdIo7HGCNZOCe2C/E1z7Z4tU4won1tcUNQ4M6u2O/i
Output for 5.6.7
$2y$12$ur5vrU.03lhzOOYu1S4cs.hh1L/UxsBAr9UeZDx.rlEo1H3jTaplC
Output for 5.6.6
$2y$12$it9aDH72MiBkjIuSyJvWaOGvA4fx4jrhQ8F.UmgzH24pZFZXxpklG
Output for 5.6.5
$2y$12$XZpQCgU8gxCnuNO1lQkdKeueoQ61JXPxkWYYJPyPGcjRwGZHSiN0K
Output for 5.6.4
$2y$12$74o0V/JWsq.TETyhp75S9.B2VnHgBdkTYpE51ofWFbZqEEsn4VfZ.
Output for 5.6.3
$2y$12$xOjNr6kVf11LjqvTRJ6pYeFpDMkWUSTOpb/1pVvu91gQaHnFr8scq
Output for 5.6.2
$2y$12$qlLBQLOm3ran2dZZ10UzOOPswHyGiD.BuyiyRArhqglMedAXF9wbK
Output for 5.6.1
$2y$12$ixiPA83lpuYqXeJZZ6nnvO1yPlNIh0RWC3cj4dFQiq8jHerLvsn2G
Output for 5.6.0
$2y$12$lIn.b7NNmdWwuP9amcMGmOgrLy4wmPOUZoE3NMIR5DvNr1x8av1Oe
Output for 5.5.38
$2y$12$fTaAWuLi1Aw5elDXRQRofe.PAO358/3bkRq8mJOVTcX3/0RKeFJVi
Output for 5.5.37
$2y$12$Fax5Sj1yawKET9U8eL9vs.r5QLLWeKMfM/WgpFUlP7OuSRfccuTw6
Output for 5.5.36
$2y$12$ly5Hj1pgfC9mM64ajRBh9ONsZjpzReVdmtow9zuHon.mSK/Flpj3a
Output for 5.5.35
$2y$12$zJo5rCBJkPj5/knnM1qqNOSQTJoBK40KDJycI.FCSZOxkbaf1sJsq
Output for 5.5.34
$2y$12$x5ceguDvgMpJ6q3xOPpn2eHE7DW0sxOFwR9FZQmAzwxZ95ooXaxya
Output for 5.5.33
$2y$12$dQuCChOpqcVcXc3zmhphxOPqHXElTGt6c8M.ItstFPfS9kVKTYxy2
Output for 5.5.32
$2y$12$qK9VUuzgaDoBkBWOKcQGRuSZIefeVbXjydBZwuoYqt2ZSwKzqMO/G
Output for 5.5.31
$2y$12$dsWHlhmy.dZwL7yhPLgTaO6C/3CJBcCVRhDsm8D8AG2xGoMtJbybu
Output for 5.5.30
$2y$12$raAszzpylJiLJvqRfMf6GOMalNF.swyIs5bP4rcRUIEdcH1EsWcsO
Output for 5.5.29
$2y$12$nZqKa.v4S2wnBYEIZHoD/uEfv6MUDqIkEpE7640hP.jNYFZE14KH2
Output for 5.5.28
$2y$12$y.FZKT3NVMVb87c8XAOId.3KUAOnz.1ZHJPBFCBKzW5x.qH5ul5J.
Output for 5.5.27
$2y$12$sxfxe660W0kcbNxhZ553XuoG179q0t.7egRtD2j50JZBMDrY41G5q
Output for 5.5.26
$2y$12$.AZ5DmWKp8ECgL2gWsG/pOOvufGpYAobo0.UpAl/ZS.XVMcPly8tm
Output for 5.5.25
$2y$12$/ckwfL7kHa5UECHiO2Y30Oa4CWeOPBGD4JU8kIUObexyFnojz89WW
Output for 5.5.24
$2y$12$MyikzI88GxCDh9b/L7QpqubzBTJs0aB.krjp0M/hKSb13hnpo/aD6
Output for 5.5.23
$2y$12$LhOhIYxLa3vnpecKxfaU0OQDfKnlAkvZ4xjCNFRLmqTByCSPbCOsy
Output for 5.5.22
$2y$12$j8Mg8YKjMPZiizLmdZL1kOdFmYTeABiZygOZL44y/zaLXCkFXg5jO
Output for 5.5.21
$2y$12$SBiefPMEFE7C7IobwPn/LuP632kOSBLKriCckjNRDkdZ8FWBOm5la
Output for 5.5.20
$2y$12$9b0l3P/rQ89crfenjIZdjObyxi1YrsenMltaqVyM3JzT/XFxT6WFi
Output for 5.5.19
$2y$12$MNCLyuyhiXvak/IX605xbuirhf1HjSiv.2Z.C/nw.8c9CJe91flPu
Output for 5.5.18
$2y$12$pBOxAN7.Sz/WFMRC33wA1OOAol1qQeyGhzXfUt.9UH6n4uS.umm76
Output for 5.5.16
$2y$12$K28XqdTPBqSYqxHxW5SxLeJ8hPn8hpUjGGi1EXku0r8MYcGd9GbqS
Output for 5.5.15
$2y$12$lQLsI02UI3bO8N9LZGZSh.UrSJFPZ4C.SDO50.mEb5jQqlFQ4nY.a
Output for 5.5.14
$2y$12$sf7HYBE0SBwdZcIJ3ZhOy.Z0MflxNwdFCJx239qufdQq2ssRtw0Uy
Output for 5.5.13
$2y$12$CVnsPjQiwAVIYzq/2hKFrO0KLZZhtAmvyJNf717kt8xZVAFk95EvC
Output for 5.5.12
$2y$12$ega3Aaxnipx7mJ7vEYLJ4uP0Pe5HIUfjJ49gYJNhWUIVgFWpoJSZS
Output for 5.5.11
$2y$12$xq/DSVY9f4bI4nJAKAsxYOMY/pfv5UjSXsCiY2FmF9fzVbqgI/zxe
Output for 5.5.10
$2y$12$HoO1Zr5cUQsrcWesO6513u3hBzeY2wx0iTHKyVYDf8eE2Icl9pkUm
Output for 5.5.9
$2y$12$8u5hnZOCtDADGKPYbbCL0eW2s3tnG221E1oIKffTlrTITb4P61beC
Output for 5.5.8
$2y$12$HBf3V323QPkr4ZoOoZH3KuGly5C2kTVMwGleJA/xGHGZgPDThZ0q.
Output for 5.5.7
$2y$12$UBFIW/ZtTwKVHa0d5MYym.YzISi/3uVptgFrlwGOaQ83kf4G4sRL2
Output for 5.5.6
$2y$12$nPnspEMQt1pCYrF3T6MSGeCVW.dhsCiqrmfq9FMQj4lEW9XSYGmD2
Output for 5.5.5
$2y$12$fmviTWAW9MiAgev.A6U5r./9bdWBL/vO15n9W7iR7E8Y8Z2i414km
Output for 5.5.4
$2y$12$X6U/Af.3q.iBJCGS1AjLsuYyOXnfU7k4LZkO.Ejcx7b354PjVsfMm
Output for 5.5.3
$2y$12$BpilNvWG5JBK1zKg7UTcIuD8vrw6DWRRLGUhopQygjbWsdsGLeJsC
Output for 5.5.2
$2y$12$E.lkldPZ7A9XoouoKhYqdeeb3asZcbV2u3464OJm5nmnN5si6m3A2
Output for 5.5.1
$2y$12$5FVUYgHoitav9b0Uaacy7eSfhMiL6FeWWokK.LqbAGc/DspYg/RRq
Output for 5.5.0
$2y$12$on6idXlSRkKGPOIVnmW2.OFDtxDkDcG3prZIR5jgG86Xzyl4jjeXC
Output for 5.4.0 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/vWBBs on line 5
Process exited with code 255.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/vWBBs on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected '[' in /in/vWBBs on line 2
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/vWBBs on line 2
Process exited with code 255.