3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $foo = password_hash('foobar', PASSWORD_BCRYPT); echo $foo;
based on vQ4K1
Output for 7.2.0
$2y$10$va8d7tXlkA1YH.nh9o5/De8jv1HdfKJvGu92VeNogznNWqrFGvxVe
Output for 7.1.10
$2y$10$m8iMCdYrqhkAYk.qIjIJ/exigdFt8PZ8jiZv6VH8fujLKUpldFy5C
Output for 7.1.7
$2y$10$FLa2JplXNyd9HFx4QyAv/O2u/iaXGjXpFnPoW61YUY3jzPYia9DbS
Output for 7.1.6
$2y$10$1oWjfnsSI66jKV2r.ohivOEPtIFdwKnrpM82o46ypk/fl4f4rxbDy
Output for 7.1.5
$2y$10$lx5FAiZZ.VyNA0A2TgyL4ey0LIE6zH5iOSSajB06aARk6LivyO3d.
Output for 7.1.0
$2y$10$q5lYCiGDXHBf5cEKhdS8dOfN6cVUF9isdri4xSuWJdcQMigrkp4vG
Output for 7.0.20
$2y$10$8L6RLnF93rBg.kLhknCHKOLTc907x3afBNGSfBOelp3YDH6Z6Xlqe
Output for 7.0.6
$2y$10$sv4RCEApNCmL6nEGXhLl9eYJl/nA3GMszPnoL.t65MNurZEmxUMEq
Output for 7.0.5
$2y$10$mUHaHgapKL6bNcMSSylrwOF/Ds4sjNQ8OwVVarHtfZylRoPfximcy
Output for 7.0.4
$2y$10$51tydGxFfr5ctjK/c4Kd1.lC5iZKu1EvvmurtWVAu7LAuAMs33qXC
Output for 7.0.3
$2y$10$/D8R5VexfQDN.cZQ4dwxx.3tSoP.WYGUpPS/D.m3o4cMh50dnwet2
Output for 7.0.2
$2y$10$K7/43caK5yVcx9Ptg28p4uep.xoAS0zqPvHJI8QCc3rrM2zhYcgkG
Output for 7.0.1
$2y$10$o.m5PCfE0Im/xmkQyG8iku5.8p51U27eYNawKZRszBaBO1N0Du2Oa
Output for 7.0.0
$2y$10$v5UJstSO.8r3FxE6eWnT2.4Is9lhxy8Zv3KH9IK7bWvFV5lvh9fwe
Output for 5.6.28
$2y$10$sCVFh99bymb.K4NXjgu0WepqD7ORQRPXHLakW7mQRBw5XcXqjFCMG
Output for 5.6.21
$2y$10$3DjWGmF6Uu52aGIOgUYr1OIk4PwtJ9P30v2QF/bngWffq6EuTXIGy
Output for 5.6.20
$2y$10$O5MP/xeUmSpJZRRUk0FBa.HJTkjDU922mVlD8VfmozXLli6O.ivzu
Output for 5.6.19
$2y$10$EAxKYBaPMC7pz0Go18vlm.YTk5Ztkn20..RWpaF91Yw.nIElBZA22
Output for 5.6.18
$2y$10$gf50Fbvt3T4k8XjlKn7ihux72VehPeT7vYH170gDnkpAxuYzph8PK
Output for 5.6.17
$2y$10$B.RcyYyrBemQ/F53BDxoq.F8e.L5XHNV9V.K721OPXaEXVJPfj/6u
Output for 5.6.16
$2y$10$fz24G.XahfVZ0Ds6Wn1z9O2zP9tVIBpujqaMr8YnedQxvWUVCMivy
Output for 5.6.15
$2y$10$1JJMDXrY2SYIdHgT72r2pOhmOHriV0.c5J.Vj9tScZyLVWI1rmc2C
Output for 5.6.14
$2y$10$B7KeDkkt0mjNXESIFxrNdui7zlRMTEJubgNRA54salw/sjnJsdTPq
Output for 5.6.13
$2y$10$/jpet6rOalzdyak0e88cj.S0kWUMaF0kqUTUn6QUebBRDeC1QmVgW
Output for 5.6.12
$2y$10$OcM0eESjkT4azApws7O4G.yPaxhg1LWURP3Es5ojRKmdNkLbhzvLS
Output for 5.6.11
$2y$10$SG9KVPU67dG8NcalYVvh1OlGbBhx/N01ZO9xM8z3xbJtW8jg0JSrO
Output for 5.6.10
$2y$10$PUMxzdOYO68uM2CRHPMVXe3gnB8xWCXFmTqZ/25zUXw5YNLcwVBBm
Output for 5.6.9
$2y$10$U8NdokQRy4HuWg/fP3OgHuw6Oh.oE9XGLS4n8O4P8zHN4RH6ldKmC
Output for 5.6.8
$2y$10$NJWnhWygdZ7bv0Kv1WlayevK0AXCwvelF3K3zK7YvUN8/ODthgnDq
Output for 5.5.35
$2y$10$K3uv0dLjsifwKGSVJngOUe/bHbszO1EN3lWYOrvkHC69ssoKOXHnO
Output for 5.5.34
$2y$10$K.ijyyuT6tce8tX7rDC4R.1LRkSUyD1JGqZ99bZThBtm/Wnu8eoNW
Output for 5.5.33
$2y$10$QpHdyegEzCBFkuh3ah1DWu8RITZZwnMAMhIi4KZOM1pNuhW3AfnYm
Output for 5.5.32
$2y$10$3YPgdTotfztXwAiezRZucOg/w17QjMqDOKEcqR5cLIBWKf27Fadz.
Output for 5.5.31
$2y$10$NKOm8yB/PppVESqUzbsrE.9O2vxnPeaQzyXV5yuYHConOiCoS/4SC
Output for 5.5.30
$2y$10$9lqlLR9M8TJpTPa8QUV9Ge8auX2tj56znd2.mBs.tne1RZPfFTXJu
Output for 5.5.29
$2y$10$TKyOq6mshHfyIo6l21QdNuGiA25fK5vtQB9GPb/qae3iUaYz/A9ma
Output for 5.5.28
$2y$10$GysvP7Zs1vPu.u2DD2VwZuZ6YIreAG7UD3faWcFGTmG3mIqVE34/6
Output for 5.5.27
$2y$10$uxL447ZJV/8LKGmSigdkCOWnGSRNydsM6WOs4ukfToVz9oOwY0Vdu
Output for 5.5.26
$2y$10$gku28dfoQaqtS.nM8bf6YuluxDXCWAH2/tlrcuO3ujNm.F5WM921q
Output for 5.5.25
$2y$10$GYyR4dtAej5LddaKqNSEoeMGD4dmNUVHoQcon6ZsfgV6M7BuJlTpm
Output for 5.5.24
$2y$10$XP/OkikmLkjLjUHpnWM07eG1YHDAwRIQDni9ei7bGfYHWLs0W2vHu
Output for 5.3.22 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/lBLDk on line 3
Process exited with code 255.