3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo password_hash("test", PASSWORD_DEFAULT, ['cost' => 4]);
based on DLa8a
Output for 7.2.0
$2y$04$fFbomHEB/3yh9M5sABCF6exeG4AFTPhuISagNH1Gy9hFUHG8V/9p2
Output for 7.1.10
$2y$04$9IFBye0Z/0Wg0OrCq34Bse4NDD7EXXL3BiLUFDZi4v8flN8TY99Li
Output for 7.1.7
$2y$04$V9C4K1lekn.Db4AL1eIVOu6mkUFwUCj8LleDEWRlVm8cKHwq0EM7O
Output for 7.1.6
$2y$04$cCx8yCLy8Xc769e14VCr4uB6BHrKnbPWlDtPYt4JJuYW2OsUVhIPm
Output for 7.1.5
$2y$04$KxwDTNZAotI0GertLIhdhe1mtPDbVmaOiHmhn6eMImyr.eAnYqD0K
Output for 7.1.0
$2y$04$2QTVM3wBha0aLKsjIRePnOlIF2ZWByUmyFNlq1nABWH01jNimJBdK
Output for 7.0.20
$2y$04$JGvgN0j5ovIwbYiZH.ltMOcg0rntIUsU4t8hbGQdHzeFdk20JfYFW
Output for 7.0.6
$2y$04$wl08oukHcaJfW0AT.eyXDeqdvl094X/jPW5tt.bRvEXwsdMgm2/yu
Output for 7.0.5
$2y$04$FiBU6HIDj3ethiZ1309eWeuuLw5Z0GBH.dS0vNERy5/hpCVDsgS.K
Output for 7.0.4
$2y$04$56Z8m9j8TRsjcQOXbuUdCe1.xJqjCP9PBSEzQ7fJrLFZqzHO9Vgnq
Output for 7.0.3
$2y$04$Q4nWJmIBpxA571lywQdOR.ZppYmu1osIhjQlt0iQVurLK1Nzm3.da
Output for 7.0.2
$2y$04$C.wqxrVLBWdbxw1I8Vdq7u8kX.lfvSFwI4kQVpHemeNy.sKIAnO4S
Output for 7.0.1
$2y$04$h80/gLj.5QUqkiBYPF/RE.jQPbCNneFozioPnTAd9dwR/7IlKg/pW
Output for 7.0.0
$2y$04$IrGuk4FjRIKGB75v7xVsHOe8uP2Ze.tZpqbDyHSXVfZ2QWKwkmNC2
Output for 5.6.28
$2y$04$STNnV3NLEYhBtxNK1DnRZuUInIKLiq4sEsfdnY9fM5LoNrfrmZ8W2
Output for 5.6.21
$2y$04$lhPhS.eGVfZKv8T.HV2uVeTLBR6e9AzF2DFMWRD3qEkGkMqQYc3ce
Output for 5.6.20
$2y$04$.KCHx3.zRBRyT7/lbCgV6eIM/KBPDFCFJ3WjAoPCSjqSBOticwfsy
Output for 5.6.19
$2y$04$3PTUhY5yYF0u7QhZj4NPle6hV1Y4T93BAg.spEKEAlOIYwlM6z4x6
Output for 5.6.18
$2y$04$lbS87O4GpRwdswSGnVnHe.EYAJFnGXdbEOMxVO1NT09GDw3W1ZREG
Output for 5.6.17
$2y$04$mPEAlljzAQUJC/doq55Lb.fAhZwhQQBxXEB4H018k1HKQG62o6gRi
Output for 5.6.16
$2y$04$lSMapTjeC8E0ojtOvQgCYeFeV9oPVwR.OdebSP80/k.LfmbYfUCjC
Output for 5.6.15
$2y$04$m..K6gf8a8jUGuDd00zjyencC1GNzBQjQJITTMrkNyWWWaGTLIEd6
Output for 5.6.14
$2y$04$sdL/Z/BNm6.7zzsVlZ5JZOZfoav3/pmeE9Z7YuLOxvb5OyZNY3Yve
Output for 5.6.13
$2y$04$QFbnM4Q7d2ZtIDCdvytEieOPArEsKQvJP331GxZF4uyPxfdEnT.ue
Output for 5.6.12
$2y$04$tSmg/5KgPRCHILzV94mSh.oAbVNeuFKiZUOV6ZFN4MAuBNF1zq41i
Output for 5.6.11
$2y$04$uhFVqrxFhCKPz5Po7vFzReHqWatPhrH2MEKdY1yd51617kpph2A9u
Output for 5.6.10
$2y$04$Zl7nw0NJT.woIFSLICiWvOwU4ArXVsy.Gv/lWsqVnq321MCFuNQq.
Output for 5.6.9
$2y$04$fDWHg73gFjbogBQfGtxs4O6C3WnB4oOAZcT8J7FdfDNq/CojN1xhW
Output for 5.6.8
$2y$04$E35Cz8KWjEJpKDt/8ZeLxuDrvfgmfNunoFJE0XQg78/L0Hu1QVhPC
Output for 5.5.35
$2y$04$8LeCotth5t2HMRoJGj6ZmO8gjzQrQpYn7WaVsEH6N6754SiSc4WSa
Output for 5.5.34
$2y$04$iVpWD8EhhNgdVorKZj7LyeZTt3Kqb.cY7NBTP92ipaTp3doG7QKKW
Output for 5.5.33
$2y$04$Y0RexOiULVoWR4StVYZ0ee/BZa1D4yTDjE9wzaRDx4oXIaXSFcssm
Output for 5.5.32
$2y$04$EGFGex.8f4MhcpvAjrUT2.9WDlILR3KbgI3zbECzFfBQH1Rviiuwa
Output for 5.5.31
$2y$04$D4fTO22W0w/ag9NNom6seObbZ0IhVxf4Ful23NSXihINoaqYIstUe
Output for 5.5.30
$2y$04$/OHzEkw3SK744Qd96fgrB.60yf6C4InpSWsjvuF9Z39xfmPvaVbUO
Output for 5.5.29
$2y$04$XCrEXrKqPDYcgOXLyOHXbe9IWrdtHJBnTAo5ALs/rES2hqgEWTWVi
Output for 5.5.28
$2y$04$G2y8U5zEORTym.JVCy7l4uhoXNbfgoQhdAguJUOaY8sTcEygHM4u.
Output for 5.5.27
$2y$04$KC6HbTTK.BUEfOyfNG642uefh6Lu1C1vv8g5sMwOWjIIqFwS80RuS
Output for 5.5.26
$2y$04$oaFc8rdA/jx4UyZOU8vnSuxs7mdM8BBo7m6O38tbovTSGH3Dh.r.q
Output for 5.5.25
$2y$04$WOqs6y3G2DBfCgLx930vW./3o5QQn0XYL0ChVPt1zQ3qtjnzombQ.
Output for 5.5.24
$2y$04$c20cgrEIMxd/1bpG.qBfsead6dD6UScb0JHc3d.LTY.nIJe.FvTeS
Output for 5.4.0 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/RveF6 on line 2
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/RveF6 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/RveF6 on line 2
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/RveF6 on line 2
Process exited with code 255.