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 "</br>"; var_dump(password_verify('test', $hash));
Output for 7.1.0
bool(false) $2y$10$1D2asZt6jjGG5a1u/cHZ/eqoXAsJ.KxeDiiHHA5MC5aZFV7TWAJm2</br>bool(true)
Output for 7.0.14
bool(false) $2y$10$Yi4zoJhXQLV8ZkE.H9t7Du6JoJKa599go3JbWnWxJHCB5MFKkuKzK</br>bool(true)
Output for 7.0.6
bool(false) $2y$10$5LeOQ/J06V3u4icG5R8ZHup9No4hA1XMObIC5nxShkI.Jw2LI8qWK</br>bool(true)
Output for 7.0.5
bool(false) $2y$10$RMnxzQYGbhYmvG2Y7IqmZedE0iDQKXMZysovSq6JusoeEen7nsBai</br>bool(true)
Output for 7.0.4
bool(false) $2y$10$UlutL/08tBIQAAq2R6QvmuKDfV7qjgvmQXrSZLT1Ydfhxw8m33v.6</br>bool(true)
Output for 7.0.3
bool(false) $2y$10$hHjz8p7ZUq9qfzZTpbABfuPajEFWHzRZ6IvxT4b4f0s2kdXFgDjOm</br>bool(true)
Output for 7.0.2
bool(false) $2y$10$Va5.hEBsu.3xu1ZcNOIo3.S46m7JvXowTkTDlGBPv4dT7OrZ2xRJ6</br>bool(true)
Output for 7.0.1
bool(false) $2y$10$26oDoekXAArBDPqUm777n.NVzWIe8tFMW/ljrIRgLFnP1TA.ewJu2</br>bool(true)
Output for 7.0.0
bool(false) $2y$10$zdbHjAY6qiIb3OEC8qGdzOwc0n0RTx1hKPf1065QggFO1hrgnA78O</br>bool(true)
Output for hhvm-3.12.0
bool(false) $2y$10$5ZdeIrIR84MW972Xj7j2mu0vhFdAhHNRe0si4CiYU7cy8dXbbiGQG</br>bool(true)
Output for hhvm-3.10.0
bool(false) $2y$10$mLhUWHxO5ISfxpCE22TONekIQKwH7lhd9LYh5JSyRSkL3B6n66vM6</br>bool(true)
Output for 5.6.28
bool(false) $2y$10$Unw3SYoac6ixP761C8MP5uiguYWAk7JzUzngndVRLYAnRxtPh2j0O</br>bool(true)
Output for 5.6.21
bool(false) $2y$10$y8O0KZwP/Ur0dx8REh374.RcXL/fNuWfcIcxHrqBu/2etWLQDzABy</br>bool(true)
Output for 5.6.20
bool(false) $2y$10$jlcpY5KJ1wgnT/qnJ0YxUuqlV0C6u92LmrkF/3ONzSpMkQS3DFdzS</br>bool(true)
Output for 5.6.19
bool(false) $2y$10$C4ydmW.o5w8RMGtXDShYb.GX.ekdUGizmR2RVq2rWpBOBJqdbGGUO</br>bool(true)
Output for 5.6.18
bool(false) $2y$10$.q4daS18VhVzgi.5zwRtlefglQK7KLB/h2Re3HPY59hKio5DHtyo6</br>bool(true)
Output for 5.6.17
bool(false) $2y$10$qtkwXFQkAi8K8kGI11T7zu5MB50JQf7gKC5VuimRVh9jPLbAPUj3S</br>bool(true)
Output for 5.6.16
bool(false) $2y$10$HOfRgOuDgfE3KJlr9f29sObPm2yO/wVCL2aTKu8zJTPlD8lJWVC2O</br>bool(true)
Output for 5.6.15
bool(false) $2y$10$7bHZPBfq7XC4vCI6bgpMPOZ6w9WRrEPjwShZzEWHrv2GXVbNtI/Hy</br>bool(true)
Output for 5.6.14
bool(false) $2y$10$KhStwizye95B3wW3UthVReFxjC2qriAD71oxSPqP784ZYhh.4WT..</br>bool(true)
Output for 5.6.13
bool(false) $2y$10$g1hZB30HD4c9xCdBrXlffuiysuDQMPj8xlr8FTbs9DESHdtY2.bmy</br>bool(true)
Output for 5.6.12
bool(false) $2y$10$rLI/mLIEzSgbLN8dA3LhzOjN2KBlyDz75qCeMHfIDJgHzVBL/BKU2</br>bool(true)
Output for 5.6.11
bool(false) $2y$10$RHeAN349DPKFGXe6fIs62eHNgzMDgc5FWirgNILRLwNp4tmit4UvK</br>bool(true)
Output for 5.6.10
bool(false) $2y$10$SfVaqYVwrE8y3J14mQp65eGmQ/8sYmRw7a5LkCEWguYQXMb7B4kEK</br>bool(true)
Output for 5.6.9
bool(false) $2y$10$GCu5jjClVNnNJVwaFjH/guJQLbnBJg86FmFbuzq6EOyXISv1otLc6</br>bool(true)
Output for 5.6.8
bool(false) $2y$10$ycY028IM1ZQVSh.XPxUPEeKax5JXpDYoTX46l56TWoZQAE6Tcf3sG</br>bool(true)
Output for 5.5.35
bool(false) $2y$10$cvuZumMqdnlTajW/pWNJYOOVTGhNZw20c5k6WuVL7bwdMQF4HSbIi</br>bool(true)
Output for 5.5.34
bool(false) $2y$10$Nmo5FWQuYYk5nB4Dx7.SY.FfIPgF/WRzhtKrLkoWWnYUoSjpDg5Gm</br>bool(true)
Output for 5.5.33
bool(false) $2y$10$awMMZyqkL6NZUFvidPan6eYNceS2bL9CWpfzhGxIVNHdDNz3y6V1e</br>bool(true)
Output for 5.5.32
bool(false) $2y$10$1JWWg.8xP5I8lelYnCAoKO7s3NEPWRO.bpwri9fLrpKHyMBBDllCO</br>bool(true)
Output for 5.5.31
bool(false) $2y$10$c6uw2xym9/emqKC3J34A2uFt91IDZLGXbZVLzS1Mv4I9q0V0PC9Re</br>bool(true)
Output for 5.5.30
bool(false) $2y$10$E9KfAH/6.ZwxTuAviiOMJO/0ZYs3LxeGtjRduA0utOLmlciRGZyJe</br>bool(true)
Output for 5.5.29
bool(false) $2y$10$fa2IhPR7Zxd7pFqtM9sOn.f7GT9cKUsaMSuZR/4l5WXpxPnkDbXfa</br>bool(true)
Output for 5.5.28
bool(false) $2y$10$8ZWwkboK6b5SrBaYVuWYeekrfE.QU9WhC7UN7OV1nxjCadizEhIyW</br>bool(true)
Output for 5.5.27
bool(false) $2y$10$tJT6E0WhZX91zHvxnw/WYO5e2TGuEJszPMep6B/haxZ9/DSuaEehK</br>bool(true)
Output for 5.5.26
bool(false) $2y$10$r0WVzGDW/DS1N.OkML3Biua6br03V9CbBSp0JpSl8.Vt12hsaK10e</br>bool(true)
Output for 5.5.25
bool(false) $2y$10$i7KmVRu0SpBLD23WUPwZMuLkudUdVamdHZ/9MO.o0DGN//W/9erAW</br>bool(true)
Output for 5.5.24
bool(false) $2y$10$3T7dIW9WFiH6E9z2.OvljevueM/EKWgExLWoXz/mlc9eA4G8TMdLq</br>bool(true)
Output for 5.0.0 - 5.4.45
Fatal error: Call to undefined function password_verify() in /in/98vXo 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/98vXo 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/98vXo 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/98vXo on line 3