3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $value = 'mypassword'; echo password_hash($value, PASSWORD_BCRYPT, array('cost' => 4));
Output for 7.1.0
$2y$04$3Xgo09zWvYmDmCIFF6WtYuyvS6tSFMykX6z20V9Iky/GrWkK41WEy
Output for 7.0.14
$2y$04$uuWLi7RW.NiXBzp7aMApFugj0n1nsI.Pv.388TvD65m.PwlyLb9Bm
Output for 7.0.6
$2y$04$tGE36RzS8mdOUDPwQyZEBek2XcbXY1C5dCqGGO0lyHeJ3JwuOMcdC
Output for 7.0.5
$2y$04$uvwrFLf9zZxaWztZUfp/yeNnnOos7A9mTAUWVHukftOj/mu3ee5bC
Output for 7.0.4
$2y$04$Xuk7VH81sPrYbnhEjqgu.ulQK.dPciZ1EyPhpoTS3.CzZVBOdT9eO
Output for 7.0.3
$2y$04$qBJZKXOqpu2CNzvKPUCeLujekTLX4U.y.KYvDVFQXP28JNUnyerdi
Output for 7.0.2
$2y$04$6KVnMDjWeQnVx8VUpIF4o.Js4gEq/nqjq5DQ86e5tcylm7Ht6fRRq
Output for 7.0.1
$2y$04$Ysa7DJyyTe.G0cQjNvLLnOFIxnLY2.7NuqO8So2ULXBK.AKepQVsO
Output for 7.0.0
$2y$04$aqLbdsV8kJKqO57oILMDpOQvIFqQcI855uKTa070h3nSQGBFMhF9y
Output for 5.6.28
$2y$04$PS1jy6chNprGjtM6AwxrL.dNle9Bi0rjPucbEiGjhrzce2fyho2di
Output for 5.6.21
$2y$04$.DJra8gy4Y8pGNZl7T/zgu2iSecHAmrtNiOHEM/gn3IB1KcYM61/i
Output for 5.6.20
$2y$04$g9fPqsZ.IRF3J74LIXYBi.7iQCSA3bKR0qpe/A2bU5YkjGTcG.jS6
Output for 5.6.19
$2y$04$6jcE6GE5ZANpyALauJkI.ea3puOJzCU6qa6hyO.U4wubIGcXzgXlK
Output for 5.6.18
$2y$04$HJTcRFaR2wF8CJBNbtQC5OojL6B0NLlLE3kVPF.pLOvgIho9htJEq
Output for 5.6.17
$2y$04$B1lYqYWeooQKeqVcqvEv0.4dmxg./z0tHsvNu.C5ArCXQOpeke0xa
Output for 5.6.16
$2y$04$A4o7ISiVuimD6mqMBjPkd.oxL25X.hGqtJx1bhw3.tl0PLjQR1PWq
Output for 5.6.15
$2y$04$O.DbbXnBb0d0Q3YHcPQPEOdVnT5lv4IqaWLGlq0CwhK51J5/7Kn4O
Output for 5.6.14
$2y$04$oIcSd42/fXBPFgiO5/Oi3uX2tL0PfYPnwT5TEVtrSi5sQCfSoWEE6
Output for 5.6.13
$2y$04$B93mNW5kG/I8pr8j2uMeg.b/vlWRFeatDbcBi7JEMv.rbuDTgsu2y
Output for 5.6.12
$2y$04$/4CW8CJeD8HY5pQcOl5fXu7Cv80gh1fQG.aHf3FhdF8wAuD/i5lp6
Output for 5.6.11
$2y$04$h7vtbJ4GtdyxNFMdfsPf3O/AJtTKGEmHcnaRVMt26DE8LL5kAB3VK
Output for 5.6.10
$2y$04$3MyjhDAZd6Wef//X6qqEnOtKqcT8cKyP36SgDU/KxD458VxgwPNbG
Output for 5.6.9
$2y$04$/kM4Y.VLtcjZi21lat62QuuRaAJQ9BrpQA.NgIay8QBWlcuOi0BYO
Output for 5.6.8
$2y$04$LKPWyaLJl0xiMfBu4DyRyeGGXnqSxsETm4kURjy7pZNhpaD6wfKle
Output for 5.5.35
$2y$04$Bs3t7RTEt4XzyZ4u8hIuCus828SvcFbGqLHkVim74CBUh657CwKE2
Output for 5.5.34
$2y$04$KGyGcp5XHtwCqQZZCFnXS.Gqek3YOBtnm/o0CBiM41y6gtEM4aLVO
Output for 5.5.33
$2y$04$RmnoO.PA5ycYRWKGHKH//e2vfOZo.q4nC4CUJ0YOJ96nfZqVmgWue
Output for 5.5.32
$2y$04$wYoIlqeEc4UnVRWWG1IpVOhgS3ciuEAtu.GnE7KMkldO17UxoYgXu
Output for 5.5.31
$2y$04$hL2AbHu4Ap43bjRtE1Sx7OMdTgQkjO.9UJJqM4EIjjtA/8Py4x9.S
Output for 5.5.30
$2y$04$V4/JIZeD1Br5NmJno9u.WOTJRYZflUrAD6ZL448YERya4FPQ2pfrm
Output for 5.5.29
$2y$04$NnVgpb1DBIM4c/ne5sVxZOQlSFsXkJO5cmqbWcL1ZhWPP1A8/yBM2
Output for 5.5.28
$2y$04$/xsXCi7mzdT1Na3dUoGQxesdasEinSrcpd4QVJrDuOA/8rQnBpsym
Output for 5.5.27
$2y$04$q.wlfjr1Nm..CfV/u.3HceXcxu1nf6boqVmQVLznZL57hlFxVkh7a
Output for 5.5.26
$2y$04$mk4PFNDbrY0LajbX//U4C.EbYX8u6Kr1sHX4TvC4SfsXbEdiMsY9q
Output for 5.5.25
$2y$04$mn0cGP.Q8SRdB3eeWm/9teIFON6yU7V/5X9mr.ogYBDQptEnzu0mC
Output for 5.5.24
$2y$04$t/hzt7wUYVnr9asn4UZPtu4gMvuLbtlMEoP8vGJ5aP8mO9QbVJi8e
Output for 5.0.0 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/Ncjca on line 4
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: password_hash() in /in/Ncjca on line 4
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: password_hash() in /in/Ncjca on line 4
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: password_hash() in /in/Ncjca on line 4