3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(password_hash("admin", PASSWORD_DEFAULT)); var_dump(password_verify("$2y$10$HQfBMgdHdi7OY1qrk94OpOM.Y4faT.76VD1O6ehf2TyRzwncV1ppG", "admin"));
based on iXetO
Output for 7.2.0
string(60) "$2y$10$Hz4pt3uT8vhj7a.IpmNW3O4brIzKZWeikrqhBmiC6JBJm.mPyCcXG" Notice: Undefined variable: HQfBMgdHdi7OY1qrk94OpOM in /in/CXR7l on line 4 bool(false)
Output for 7.1.10
string(60) "$2y$10$0XGZG5cVGDEcwa1/pXzDcuCzYOnNNxe88xPWpNrE6jCIcAuPPg6PS" Notice: Undefined variable: HQfBMgdHdi7OY1qrk94OpOM in /in/CXR7l on line 4 bool(false)
Output for 7.1.7
string(60) "$2y$10$cMtHWsz0jnDhOULWGgQlne/CMNYZqST7Lf5a9h/rBKFJWThI0kPCC" Notice: Undefined variable: HQfBMgdHdi7OY1qrk94OpOM in /in/CXR7l on line 4 bool(false)
Output for 7.1.6
string(60) "$2y$10$iXXEGtTXNEmpaUZLadtZ/OAhLJ.21mTZO/WzzZFgUc6yKycq.VAIK" Notice: Undefined variable: HQfBMgdHdi7OY1qrk94OpOM in /in/CXR7l on line 4 bool(false)
Output for 7.1.5
string(60) "$2y$10$wsk4iXs0ZGT3rbXzMOCQO.misfFCoJiDzaVfVetUO8pT6ci1Tr89O" Notice: Undefined variable: HQfBMgdHdi7OY1qrk94OpOM in /in/CXR7l on line 4 bool(false)
Output for 7.1.0
string(60) "$2y$10$nmFM68rjE9Vffue15VoJDutQt2jOfuhxQNh1DMe2jsWVl2OCyv77W" Notice: Undefined variable: HQfBMgdHdi7OY1qrk94OpOM in /in/CXR7l on line 4 bool(false)
Output for 7.0.20
string(60) "$2y$10$oiwSWReG0qtH2mkjm1gty.1OQCVrOb.f1vi2r7MMomcm6cqmBIvxO" Notice: Undefined variable: HQfBMgdHdi7OY1qrk94OpOM in /in/CXR7l on line 4 bool(false)
Output for 7.0.6
string(60) "$2y$10$KXp42MSM7VpP5OMHohLnSO1T89MmvaSaK9uhF6NorwvoXcGm2TdtC" Notice: Undefined variable: HQfBMgdHdi7OY1qrk94OpOM in /in/CXR7l on line 4 bool(false)
Output for 7.0.5
string(60) "$2y$10$jpCtgTzhrxh9IQZwrMbDceYJv10i00IJZ.EpiWdJF8bWef5CgHok2" Notice: Undefined variable: HQfBMgdHdi7OY1qrk94OpOM in /in/CXR7l on line 4 bool(false)
Output for 7.0.4
string(60) "$2y$10$OjGTB/ICrNOnP/OSxXkEVuNsCP5e7MifqzVMviSxcivZFYm8755tq" Notice: Undefined variable: HQfBMgdHdi7OY1qrk94OpOM in /in/CXR7l on line 4 bool(false)
Output for 7.0.3
string(60) "$2y$10$QG8x/eWQDb6IOcBvzyaJOuqqINAOsk.OxH6Dju2V0AkxqswOYKG4u" Notice: Undefined variable: HQfBMgdHdi7OY1qrk94OpOM in /in/CXR7l on line 4 bool(false)
Output for 7.0.2
string(60) "$2y$10$gFmum27Vj5bZVsim7f01IuNam/g5Cp34nRbEW8b5HZUBBkSINk.le" Notice: Undefined variable: HQfBMgdHdi7OY1qrk94OpOM in /in/CXR7l on line 4 bool(false)
Output for 7.0.1
string(60) "$2y$10$lPPB3z7P/ZO4pTxobPTfYOiUcF4HvSG.1Wvs7V8DY7PhCVTO9xe0O" Notice: Undefined variable: HQfBMgdHdi7OY1qrk94OpOM in /in/CXR7l on line 4 bool(false)
Output for 7.0.0
string(60) "$2y$10$czHlyJk0F7uvddgeseTJ1O6GWoXbxbaeCj4srJZqSgE4.VViwh9Aq" Notice: Undefined variable: HQfBMgdHdi7OY1qrk94OpOM in /in/CXR7l on line 4 bool(false)
Output for 5.6.28
string(60) "$2y$10$1QarLhd6kzFyCtFEPu8Bm.u4knKocI0QGVhDWEPKKhSn9/l.dYc5O" Notice: Undefined variable: HQfBMgdHdi7OY1qrk94OpOM in /in/CXR7l on line 4 bool(false)
Output for 5.6.21
string(60) "$2y$10$AwdYf3O7LUQ.xYuj1MRRGOAmHRUpO2H5inIcIJUG1BTtZKnEcQC7C" Notice: Undefined variable: HQfBMgdHdi7OY1qrk94OpOM in /in/CXR7l on line 4 bool(false)
Output for 5.6.20
string(60) "$2y$10$gxZFQtvj8isWN9FFUNKxdeZfPnpOqR0GdDp1CYxtW7oZ00xlHrV5S" Notice: Undefined variable: HQfBMgdHdi7OY1qrk94OpOM in /in/CXR7l on line 4 bool(false)
Output for 5.6.19
string(60) "$2y$10$TzEXEjyuK9pWQJphLOnQNecMky9pVziyjgSYldlFOQdNzdvw3Gikq" Notice: Undefined variable: HQfBMgdHdi7OY1qrk94OpOM in /in/CXR7l on line 4 bool(false)
Output for 5.6.18
string(60) "$2y$10$/k8J3OPSY5SKJjX3P5aw4.AYf2zDZuu33NkH3ooOSPfeR.lTBw7x." Notice: Undefined variable: HQfBMgdHdi7OY1qrk94OpOM in /in/CXR7l on line 4 bool(false)
Output for 5.6.17
string(60) "$2y$10$e8s68ZKhAp.x6lYr89ml0uxD77SmFNdXQEUi/QuHQJ.37ozjuWdIm" Notice: Undefined variable: HQfBMgdHdi7OY1qrk94OpOM in /in/CXR7l on line 4 bool(false)
Output for 5.6.16
string(60) "$2y$10$.4yVM1wf1FL1B.d6/inQ6OEbuUy4FM7o98OU5QaXPHSIGFvRPcuuK" Notice: Undefined variable: HQfBMgdHdi7OY1qrk94OpOM in /in/CXR7l on line 4 bool(false)
Output for 5.6.15
string(60) "$2y$10$phh10WDdPdbMrCtm/w5ste9Li1BmM.6m3Q/vmzMUs6S1AEQyT73Me" Notice: Undefined variable: HQfBMgdHdi7OY1qrk94OpOM in /in/CXR7l on line 4 bool(false)
Output for 5.6.14
string(60) "$2y$10$T4VsVc3hnpSY7Lq2dLQ0d.8lmc0YOLFmyrO7Ci8YVh1AHyZisdO4y" Notice: Undefined variable: HQfBMgdHdi7OY1qrk94OpOM in /in/CXR7l on line 4 bool(false)
Output for 5.6.13
string(60) "$2y$10$Tf1UCJxJ4Hd90EZdGr7WoOcBaQOQQrsCMMCR4IZ6lvUwJowC7hIyi" Notice: Undefined variable: HQfBMgdHdi7OY1qrk94OpOM in /in/CXR7l on line 4 bool(false)
Output for 5.6.12
string(60) "$2y$10$1H4mEhP9g3phk/K94wq0PO7eU09Qih.ExVn9DqeVY12NCLAbhlQmW" Notice: Undefined variable: HQfBMgdHdi7OY1qrk94OpOM in /in/CXR7l on line 4 bool(false)
Output for 5.6.11
string(60) "$2y$10$95ud3fWD/3KWyCaGRyamcuZl2V/GtkWemNAfNwjuhlGJy3NfOtr6O" Notice: Undefined variable: HQfBMgdHdi7OY1qrk94OpOM in /in/CXR7l on line 4 bool(false)
Output for 5.6.10
string(60) "$2y$10$wSBesxyWSoxtw80aV9F92.hfH0QSOpx0Qlz1f9Tn3PNi7JA/AQCRq" Notice: Undefined variable: HQfBMgdHdi7OY1qrk94OpOM in /in/CXR7l on line 4 bool(false)
Output for 5.6.9
string(60) "$2y$10$D6BhaH4HVCpDhwmK7dzk6.iGC6ION3TAslSdF5enhRMPKyBqj3RkO" Notice: Undefined variable: HQfBMgdHdi7OY1qrk94OpOM in /in/CXR7l on line 4 bool(false)
Output for 5.6.8
string(60) "$2y$10$HSJ2Gug9qyVm6T8egqdts.VUPGKsBopJMQlaMVjqMYnAykuPmdq3u" Notice: Undefined variable: HQfBMgdHdi7OY1qrk94OpOM in /in/CXR7l on line 4 bool(false)
Output for 5.5.35
string(60) "$2y$10$XYhsHAnUaEtesYO8pcXY4e2LH6LyupxWDM9x9AjYy5i9Qj0GEDnUC" Notice: Undefined variable: HQfBMgdHdi7OY1qrk94OpOM in /in/CXR7l on line 4 bool(false)
Output for 5.5.34
string(60) "$2y$10$ALUaxRtJ3GFeKPNs7OWw3u3Ep9yeIowXhRD9XF3SYwtHUvb6EpoAy" Notice: Undefined variable: HQfBMgdHdi7OY1qrk94OpOM in /in/CXR7l on line 4 bool(false)
Output for 5.5.33
string(60) "$2y$10$QcmOQWE79r5ohZxVo7iu0ulzGt9dLbv7UFXaroBMY1PFqcwf6SgZe" Notice: Undefined variable: HQfBMgdHdi7OY1qrk94OpOM in /in/CXR7l on line 4 bool(false)
Output for 5.5.32
string(60) "$2y$10$T7277sYugRKevCBsN.vjOOheAAdVntaU0rDpaGGRUYqdraw3b1IO6" Notice: Undefined variable: HQfBMgdHdi7OY1qrk94OpOM in /in/CXR7l on line 4 bool(false)
Output for 5.5.31
string(60) "$2y$10$Q6iW54HvhUh//Bh99g0zEu8Ougy3hIsxXcPliGe0KkbnQxhsyj4UO" Notice: Undefined variable: HQfBMgdHdi7OY1qrk94OpOM in /in/CXR7l on line 4 bool(false)
Output for 5.5.30
string(60) "$2y$10$9h4N5mRxZq5JxgRiXprFHOCA8yC6zGtIJjxNry2baniicCpel2HM2" Notice: Undefined variable: HQfBMgdHdi7OY1qrk94OpOM in /in/CXR7l on line 4 bool(false)
Output for 5.5.29
string(60) "$2y$10$aF61LHRKMSZX5xdHRvtWzew4.Vfm/nq.ju9eAFK40tAKrXsrRwyoO" Notice: Undefined variable: HQfBMgdHdi7OY1qrk94OpOM in /in/CXR7l on line 4 bool(false)
Output for 5.5.28
string(60) "$2y$10$a5wgHVN6irnBAiqJ4YwUV.Z.yRS2Is37pi2O1G93or/u/4eE9U6Lm" Notice: Undefined variable: HQfBMgdHdi7OY1qrk94OpOM in /in/CXR7l on line 4 bool(false)
Output for 5.5.27
string(60) "$2y$10$TQZzB0fB8CbtBnbOnNx1/OJxW2JbZ3yIdzwL00gLyx.0NM3RSJRHW" Notice: Undefined variable: HQfBMgdHdi7OY1qrk94OpOM in /in/CXR7l on line 4 bool(false)
Output for 5.5.26
string(60) "$2y$10$JBZlD1q3x9kCqXGHGKThDuKejqd3TRMuovwW1hHG9imZ9x78lL95m" Notice: Undefined variable: HQfBMgdHdi7OY1qrk94OpOM in /in/CXR7l on line 4 bool(false)
Output for 5.5.25
string(60) "$2y$10$/l8RWQdXQwFFHnCTPE6Gluq/YwwPYcimlBFxcKObGfaYaRFex5eZK" Notice: Undefined variable: HQfBMgdHdi7OY1qrk94OpOM in /in/CXR7l on line 4 bool(false)
Output for 5.5.24
string(60) "$2y$10$vOlH2oV3O3ZnJdzKZs7oxuyg7SMzjG30DM/N81HGV0D04IrUu0GcG" Notice: Undefined variable: HQfBMgdHdi7OY1qrk94OpOM in /in/CXR7l on line 4 bool(false)
Output for 5.3.21 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/CXR7l on line 3
Process exited with code 255.