3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(password_verify('test', '$2y$10$pWlfc.bdCtnOVTrxTxX5s.r6lo0H.n1am/v9g5CX4M9DFHFLaj3E2')); $hash = password_hash('test', PASSWORD_DEFAULT); print $hash; print "\\n"; var_dump(password_verify('test', $hash));
Output for 7.1.0
bool(false) $2y$10$0gt/uOS9fKsTgkvaTBTTBu3rBGfTfrr2ezGhJN3oZrcJW2IxeOZpe\nbool(true)
Output for 7.0.14
bool(false) $2y$10$.aFY3SKbbOiqbKLXRKI2QeUEd3t1JwqGfGDP664A/elKBcp1SyHMu\nbool(true)
Output for 7.0.6
bool(false) $2y$10$rBXjHna5/yWBU5d.gfcF7edhh9ulItJLOw41G6CHTpeYEUC03iWqy\nbool(true)
Output for 7.0.5
bool(false) $2y$10$hxS.7dtJ8YgSQuqBzbsqTeByl5VcsrzFbrrl3jxIJT8FF1GDM1Hte\nbool(true)
Output for 7.0.4
bool(false) $2y$10$UWsbnmGRLfeMIa5fKEtwZuU6aHIAB3NyH6DgPFkkY4ePFLbDXryRi\nbool(true)
Output for 7.0.3
bool(false) $2y$10$b/V44tdOS5KKfowF6cnA4.MBbU3Xbc/pExiDTU4pyEbVK4UW5k286\nbool(true)
Output for 7.0.2
bool(false) $2y$10$.Udvp4bKLXsi0Mcu8GQ.nuedPJcvyLqskf2F.t6EIJPoRJvU1nV5y\nbool(true)
Output for 7.0.1
bool(false) $2y$10$9VcVQGXFPYcIIHj/H3r/EOmt5o0wMoSz8K.D7iATxfsewVa5au7T.\nbool(true)
Output for 7.0.0
bool(false) $2y$10$4GMQTzWJvlM2EH9aDZKHKujz93iPjUw6DNn8spYLzxAOs/tN3dS3O\nbool(true)
Output for hhvm-3.12.0
bool(false) $2y$10$o/41wMxYPYl7cJ1ICJ6h2eJfwHXdDCMpLsutSakBzUL.Kt85.mR.S\nbool(true)
Output for hhvm-3.10.0
bool(false) $2y$10$7GFSKaEyvIdVEWY4bFn78OFpxEOiRIq.RsMvoXyUMoc1IiLuxiDMy\nbool(true)
Output for 5.6.28
bool(false) $2y$10$nlEcRV82tGYgsGzv0YNgC.FdFW9gnLqiVaLlRkNIFb4riCB/gEHF.\nbool(true)
Output for 5.6.21
bool(false) $2y$10$6zgQud14/X1dwTy2xAw0WehvBnfUhoTODi9klZSQhFl5aX3tKzTzq\nbool(true)
Output for 5.6.20
bool(false) $2y$10$3xz8wlGBwz3qq1EdHmVUF.IlIUzrDXNuT86BVv4rqXBgK1vNxkNgK\nbool(true)
Output for 5.6.19
bool(false) $2y$10$qW3bIRvrvyvBRZGWWjjWHOz5kx7cer8WTkp4A3SYlsikPvRNivas2\nbool(true)
Output for 5.6.18
bool(false) $2y$10$qqdBkL1m3vAWAvY6jBOWoOvaToVl93w5mg9TguDjb/zlfKlwNKg1K\nbool(true)
Output for 5.6.17
bool(false) $2y$10$d2gKCiB4dJ7367GKyFxEYu4wTHOGQxggQwHv9zDs6xvB1Y01RL6/y\nbool(true)
Output for 5.6.16
bool(false) $2y$10$CwWWMDVbmX0jUA1s7b.6u.ZWzccxBddbtJMYkhnWy8OS0XEJANeRu\nbool(true)
Output for 5.6.15
bool(false) $2y$10$aDLroOWQ0DCXKoGMOxFucOHwREObjgL.4hknMGaQ.Tz1T0SzRsS3C\nbool(true)
Output for 5.6.14
bool(false) $2y$10$ZrQ6RR0TKmo0HpT2cbKzO.WuvBNTdzAcEyOYAcv86oY0WmOvtCEHy\nbool(true)
Output for 5.6.13
bool(false) $2y$10$4z.cq5cYjDUUqzcIwrMoJeMRFyLzyTOfatpX/PXSeY3m//5QweiZ2\nbool(true)
Output for 5.6.12
bool(false) $2y$10$/g2h0uQFuVG/45NFGiDUyOZdxyt5zwDIOOky/6m4a7ZQ5rywvV.eW\nbool(true)
Output for 5.6.11
bool(false) $2y$10$I5NsKUDGCE6o7m6W6AlXD.1ts/yMZJPIqov9DmRIjT84/Pxa1Elue\nbool(true)
Output for 5.6.10
bool(false) $2y$10$mFPHtQ8LZXpKKGlYM3sfqe4PdjEO9KueI/9nv8PQVonhbe1QKL/kC\nbool(true)
Output for 5.6.9
bool(false) $2y$10$M.ORyokrgPjSjviQsnpqc.LzPr/dfUEMnInUbITZsqrcsH1BvW0.a\nbool(true)
Output for 5.6.8
bool(false) $2y$10$2h50U8E1lyKZXPUd8yqy.Ow459.0oZyFa1Iw82Gspzg.geZ5KfOdK\nbool(true)
Output for 5.5.35
bool(false) $2y$10$s.JeFq6PcONl8/qWYXvCDOZz7e2fe3BczVIAkhkFLer0dSa5zDdfq\nbool(true)
Output for 5.5.34
bool(false) $2y$10$yWu/ebQXIpziLI/LjvmAjO3gJtV83XbssRBo2iCTgj86SVtAMaEqS\nbool(true)
Output for 5.5.33
bool(false) $2y$10$YEKJGZ6C7KXRAojdzpsI5ezLNfvEsENiTRC2SfttRFTbRkOstbEMa\nbool(true)
Output for 5.5.32
bool(false) $2y$10$S7K2NhJP6nna1j2W0B4Zqe6Sdhtb/A2ZOugGiK7oZjKbP.uyaLmAS\nbool(true)
Output for 5.5.31
bool(false) $2y$10$7fyL/5A1/rpXdFOdJS8cR.62uR8z5acSWdLHSHeveH/b52kkx5rqm\nbool(true)
Output for 5.5.30
bool(false) $2y$10$s5zO7CZCkZPt0dsIphDVl.JWEYudIN4x4VOkjzIuSM8GyIy/uPGZG\nbool(true)
Output for 5.5.29
bool(false) $2y$10$getk0t2QHMTR6som1fgR2.eJg7QafgWlWprwbdtKLVUkhqapTcbS6\nbool(true)
Output for 5.5.28
bool(false) $2y$10$WFrb.C9DV5CNKBz5gEvwgOmZEVbNQeAdRjj1hhPFpJAGqjUhANCJ.\nbool(true)
Output for 5.5.27
bool(false) $2y$10$mspWUSy9yHjc/fXFPkMvw.sVpVZ5.KWw5fGD9jEawZpyGBjKxKTxW\nbool(true)
Output for 5.5.26
bool(false) $2y$10$dhSubyerk/AeAdRyWuvqfeIU1IlVJhkH6.6zr/cbQhpJJCmnPHS2O\nbool(true)
Output for 5.5.25
bool(false) $2y$10$ObEEM71.q..9mGj8n7eNx.cMnQH441.E3JNCZm8p8VOg4YtX6YOkC\nbool(true)
Output for 5.5.24
bool(false) $2y$10$Meo.Ifdv.nmF3GxnZSyjK.vdYCYF6GnDWky7fERKDjmoTry8gioSu\nbool(true)
Output for 5.0.0 - 5.4.45
Fatal error: Call to undefined function password_verify() in /in/rpbbJ on line 3
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: password_verify() in /in/rpbbJ on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: password_verify() in /in/rpbbJ on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: password_verify() in /in/rpbbJ on line 3