3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo password_hash('12345', PASSWORD_BCRYPT, array('cost' => 12));
based on MAuka
Output for 7.1.0
$2y$12$2nC2fEoXKLZxU6nMbWeak.jfjqdk/RE8iLe1zQhuhEinZOO83veHS
Output for 7.0.14
$2y$12$Fr5tcNILxIP8KxUaE/k4XuhJhwPy6u8497ymjPhQe5.p8tgf0ed0K
Output for 7.0.6
$2y$12$ULFijLU6ykos5akG4cHU8ug/ITVrRSSFqr.b.7IIltIU6s7rkDl56
Output for 7.0.5
$2y$12$YeKqCoPPIXSZ4mskp1s60..0TqFaWOG3bYumBCmxdL/JSkXAEBIb.
Output for 7.0.4
$2y$12$pxcuCFmdFzrw64sm.GXidu6i5/9xvGZI4BM58wArXj4A0UU4DhMUq
Output for 7.0.3
$2y$12$yIoB3XOtkt.jFbA/2ld9ee0ZidWvSk83tW4.iZ7BNThjv2YHI5mDO
Output for 7.0.2
$2y$12$oOTtALdB0jc050AS4noGq.eL7VG1MYSfeWyphxNOOmU64V94DSV5K
Output for 7.0.1
$2y$12$wrdji/E0EoLpsdsfgDClouyyYdv4r76JShCF/m5Zf7xGZtMn29ih.
Output for 7.0.0
$2y$12$82AdwmLObSkW/Wg8J8eB4uCnjiS7X3AHDxswBUuNDrpGaw8IYk8T6
Output for hhvm-3.12.0
$2y$12$pRQCT9seS.38ZYGKK5vcNehPiQaVglKE0ClRzeOmp0evZxYIFQCL2
Output for hhvm-3.10.0
$2y$12$V93hnt.qudHTsYvhjp/cdulv5PS26luP/ekan9VnJB8MN9SdW2DFC
Output for 5.6.28
$2y$12$MKcaaFFeS/o.GF/88jcMoOs5g1M/JiuvCa7kB4gEPGn7jbgAOQRvO
Output for 5.6.21
$2y$12$53kKu5G3jOthSMLBIEasIuf0AY/CZc6.owh7nVGpzJFoJNquPZQIa
Output for 5.6.20
$2y$12$L6iQ9IR5R0loU0e5yyP2pOfXp8uRUk/qVmV7J0dqAEfCH8nDc75ZG
Output for 5.6.19
$2y$12$UnBlLeXk1VqhnaSRsoScLuMPVOxiqHGmYzZLcN.CA24IsEY/hWZfa
Output for 5.6.18
$2y$12$Hd2uxb/JiW/21vH7dQokQuJQkUFG2FbScfid.kNDilvUV/0hJ643a
Output for 5.6.17
$2y$12$xYJQmAoTCUR2fxTEskNPvufGauptkzaOLK0Ezr6v5DGUOWQ1.kpN2
Output for 5.6.16
$2y$12$.bUWTdZei5Zp48zQPv5YaOWRafjk.zOfkZBe3Q1n/pVUfJjfYXiO.
Output for 5.6.15
$2y$12$cLpnKWmjpeHsOn5rSavDpe/JiDAWqgIu7lfdXl9QzKc7.QEanouci
Output for 5.6.14
$2y$12$Yw/JlrDXrFt9CvmPEtfsQOl.CDUbqaDq00BLID9iMgMpnCcqvPQdG
Output for 5.6.13
$2y$12$BPC1LzLnYg3fEfDaWttjwOJN1J4sDKpvvxIk72FEJVqoM/iT4hsvK
Output for 5.6.12
$2y$12$aa.d2ofZDChEmglm9PjJ.O2qkjjt1Kmi2iCdmbrhhsQU37vH25l.m
Output for 5.6.11
$2y$12$lKd9hc14A.iuiMayz7N5UujdUX3Jr1BbkYCi66vYNqZwzE8H5itGW
Output for 5.6.10
$2y$12$glttud6nhvxjiR5.m5ZUBOcM8CuddrXugG1hZxqvWUdLElzF6PThi
Output for 5.6.9
$2y$12$jR.lAXqWvueQJybPnsx57OCQA1L1WUxd487F4t0xbNp3I0.YPWsVS
Output for 5.6.8
$2y$12$Nk.u4ea.GwudLwUZSqFIgObUZ7SNPTxmXWQSChyYXBr.KJj9yVZ/2
Output for 5.5.35
$2y$12$dzfq89gjnHfYSch3ZwN5Y.U1D9WVl0bNU09t3w9lVke49VD2B11D6
Output for 5.5.34
$2y$12$MWUDFJzCzrzMqUEKvYaJzew0nas8E2jvWhksuyIewVQU2QrjvdEE6
Output for 5.5.33
$2y$12$HDnI6BKKlITmIrduv6iR7uWM77f4fNeRmvhImn0nmkxZasUzFfLZO
Output for 5.5.32
$2y$12$E5JKs9iAcN0vNXi5EUuagOmZslD50qRts/b6otGXWC1QnKOhyo3TS
Output for 5.5.31
$2y$12$eyqXKdYs7T6DY99t.I3fV.tfyBAoPc4OmCz23reLJejKsb.x3VEPS
Output for 5.5.30
$2y$12$OWWqbYmJvvkls6QSdkHWxuAtWrEKYqc8Ap/9NnpDfXPMqhfj4NifG
Output for 5.5.29
$2y$12$uFBXJZxGQmmBYOcDBQSGV.8gcBg0hLjXRMS6vi01nHzq1f00jmpGC
Output for 5.5.28
$2y$12$h5ajKuWOJ5A0C1.wPN1e.Od7zFsqSn4tyN/oYU0Cb1XBuuGzcniG2
Output for 5.5.27
$2y$12$Gn5Ut0JZwtgi0urFNMwPqe9RTX/5HG2fs0.GKrjgRfYpnI1N9Gzw2
Output for 5.5.26
$2y$12$yNsatApRpT0gJGTf47DSYuza0pnGtbwqRvbo5gJc/qBFGCEWJkova
Output for 5.5.25
$2y$12$JVz5GBfwKs8DsqHGB85ipudN5vI5rwLBnXL0LHJn1UWNppKjw62nK
Output for 5.5.24
$2y$12$yV5w3lDGulenEaboeHREwOMoFcx904fps5wj.8TS4IklZLGHgJjAG
Output for 5.0.0 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/q4qKt 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/q4qKt 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/q4qKt 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/q4qKt on line 2