3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo password_hash('test', PASSWORD_DEFAULT, array('cost' => 12));
based on cKisd
Output for 7.1.0
$2y$12$aVY474Vx2x0hEmmbffxLweZgzlUQduVi2ZLp6exol8uZF3OotjgVa
Output for 7.0.14
$2y$12$jX6qDy7h3B.EpcBgsPLE2ONR1lU9G8ReKu81JI/nmJjtN.XN68GPi
Output for 7.0.6
$2y$12$ERN1Hqq.syXQWhNcD80iVuvc.iK2R9ovE5uY.LzTmZheH84OY1kx.
Output for 7.0.5
$2y$12$OJV4mzzOROibaz1YvMkzWeHdJ3SDUSS3khiZOoKtSrPMXYARHMB9a
Output for 7.0.4
$2y$12$z1stYi9X7nAgNDPU7RHfXurOgCa/gNSKKM.1mksVjYQhbZGEa7fci
Output for 7.0.3
$2y$12$ZV0tJrCvi3f8/M5SPpzDKO6IVPsMd7c4YEhdojKT6GTHbmNYHOxUC
Output for 7.0.2
$2y$12$5.tLW1BgujcNfdAq.r.pY.JRlcmIoZF7K7csXxybSyuoYjFU3GDWm
Output for 7.0.1
$2y$12$WCa96kTP9Z76rrTPxirEGuwspfk6tMf5SYW0EKUuWtRTTAo1GSChK
Output for 7.0.0
$2y$12$txRyuovZymCyveLMYCw0POOY5uzqOafLaO7Be.4YYSVbC69SR4U9m
Output for hhvm-3.12.0
$2y$12$FnlhXyBL8e5qbLBSLJJ5YudhYl6hRa4Hgp2OYsowKryyaUYZZy.Bi
Output for hhvm-3.10.0
$2y$12$MKr6zFBmPdh0CbPKsFtfP.k3XiY.5.U.59ybMNE557yBC5y6hJINy
Output for 5.6.28
$2y$12$wgG7OqP6cSB/dtlVwYc0rOzgTOGHu7o3EzYKW7SBU.9wIZhBxtxd.
Output for 5.6.21
$2y$12$EsK6MXpqy07bJ7VWn0.k7.eTyEBIjHXCHkHdaFpPsALSWMd7WBpc6
Output for 5.6.20
$2y$12$..MGZXdMUMdpCB18HSecm.9zo6DYP4QXaDcFP0pQPAEJE8X4q.kNa
Output for 5.6.19
$2y$12$o6vQouJVODRGddl6LPKkceyMtSQPj6ORjBPNVeFtiUd5Iz1KgK5aK
Output for 5.6.18
$2y$12$n7w1kYixq4dImkt30sqlt.Cuo/c1VAtGSs11jRW2up2dRdlpkxtlm
Output for 5.6.17
$2y$12$bEGxVuOLCj6yt/jjkMwRROIJvRD9nQ3maqgko3.XluRoMoPK4X3ye
Output for 5.6.16
$2y$12$Y7Kxqt8Zbj6u8N.4gt.mZuvvXTkIWTYY2x4CjWpdGJFP3KUDmZLbS
Output for 5.6.15
$2y$12$LQkYNmNAgejA1VVTJw8QH.35ubuldZ0aUuLEE1hcn.aLepnjnuTB6
Output for 5.6.14
$2y$12$PBrwe2O2xfAXWpDKCTA8juk2mvxXJr.VeWDkU7uqHLqDUH/yyL3LW
Output for 5.6.13
$2y$12$e3KaF3Br9.Vu9MRZiQyZ3.liL5uJ7sPbjlrLR8sLXGWAfRqxhBzl6
Output for 5.6.12
$2y$12$yrm5ZAcpajoRmp4.eQU3NuGG/wb/DNIKnOweZ4sQaF4IbHAAND6tu
Output for 5.6.11
$2y$12$YukRmuxDK2zb1AKdsnurm.DKDMrbnWf45Mxcs0XSALmoI/JSyi196
Output for 5.6.10
$2y$12$w/0gcZRjYet1UWPUuy0tYezeEAYVFDGINv4n2TaTOiwKYs1REMuaq
Output for 5.6.9
$2y$12$48AAKXf72Mt3TUl19zC1LerF3.ISKWsU6DVwPnPwMFhBTqlM7ufNO
Output for 5.6.8
$2y$12$nGYYfcPSFtW7ilTaAmm.D.4Q7KPfsM2ZNXN90wt9dO0lFTBcKiOn.
Output for 5.6.7
$2y$12$LC1mcNqT5ZOe4LtpSrv2/e1uGuAgnM3yeiT5LeC4REfeFHDPHfIMi
Output for 5.5.35
$2y$12$nRqUqCi775WFYTvoaVdPeOb9uBpP1nljI.QXiuHIaq3bOmzwZEGXa
Output for 5.5.34
$2y$12$Lyc1nF66tnNC/Hp63CgJeeX2dnqa/4NC2VOYMH5DsjpEGr8vRnlQu
Output for 5.5.33
$2y$12$BS.99LwVF2fy5IYUhHO70unli6Q8QOhakJXoxDfbTvxSEncLENhCC
Output for 5.5.32
$2y$12$.jgEqm9.UOhfKmDL.9nPGO5CkBmzr2yihQbWenyZ9UDXqJTOP0B2G
Output for 5.5.31
$2y$12$8AKCdAX.jYwIJIFKq/IFdeOYuFufkppsDQcfk9YKUmkTBU47KX4Vm
Output for 5.5.30
$2y$12$jTPCd/1gQqJwEO18BopuTOLKtfEweNA70JkSAmbLbIceQuCVHTqx.
Output for 5.5.29
$2y$12$cEYcSZK7fZ/TKtQn1wmSYuEVe1z92BCGNFHYZcHw7Io0Mz1nSksh.
Output for 5.5.28
$2y$12$TcSwl4Ja4CrKBqDM/w9oguBTHZyxBsKOMVpRT14hfPOlQcPnOwA5O
Output for 5.5.27
$2y$12$oCRh.y2ddvXlYGeBSNsjyuW0rHH4H97Hq7EF12VW2ZdAiC5WCz1sW
Output for 5.5.26
$2y$12$v08.KZCZZzn9aDnLOj1Fh.8S2WadEacjY/7UYLoirGt02gjtY6.DG
Output for 5.5.25
$2y$12$jkiQTZDtOqFuklMmxJhGcubZeUcUuDU4ZY.FDn8QS18rEmhqevW.u
Output for 5.5.24
$2y$12$UmoAfb4hCZA8kWHsaQM.i.NsMArLG4Xq8xhbf1O5OgS72dcFmzmQq
Output for 5.0.0 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/62Vdu 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/62Vdu 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/62Vdu 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/62Vdu on line 2