3v4l.org

run code in 300+ PHP versions simultaneously
<?php $options = ['cost' => 12, 'salt' => sha1('USERID + random')]; $base_de_donnee = password_hash("CPLN", PASSWORD_DEFAULT, ""); $application_ios = password_hash("CPLN", PASSWORD_DEFAULT); echo $base_de_donnee, PHP_EOL; echo $application_ios, PHP_EOL; echo hash_equals($base_de_donnee, $application_ios) ? "okay" : "derp"; ?>
Output for 7.3.1
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$BsVunqCHRC0T79JfB.XaQeRKtoBi4kpSxSFdg7pksUJI6Fsl.VRY. Warning: hash_equals(): Expected known_string to be a string, null given in /in/kBoOr on line 8 derp
Output for 7.3.0
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$mEu41dKGqqN1U5jae/B2NenSDjtMsi22puF/Jkppz/HcNgCbZK2Wy Warning: hash_equals(): Expected known_string to be a string, null given in /in/kBoOr on line 8 derp
Output for 7.2.13
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$6So2iT5WeRamBkPJLbrYhOMpe8AeiMmhe67QQZNEkM7WAPKn/H.Wm Warning: hash_equals(): Expected known_string to be a string, null given in /in/kBoOr on line 8 derp
Output for 7.2.12
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$VOu9qrZsO9rhdJUrALXss.C8.0B1t7NC.DDYYfPmsARIBr7cImW8S Warning: hash_equals(): Expected known_string to be a string, null given in /in/kBoOr on line 8 derp
Output for 7.2.11
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$2CIx.gBBCpb8VeEzCi6gZObPXra05H.tiyQCnRrENIlkpBtMDNCti Warning: hash_equals(): Expected known_string to be a string, null given in /in/kBoOr on line 8 derp
Output for 7.2.10
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$Eu5LPzz2TraXaJb.BfrjzeHza4a.SNrAsFObIY7vllLHzNGtscx2O Warning: hash_equals(): Expected known_string to be a string, null given in /in/kBoOr on line 8 derp
Output for 7.2.9
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$tYaK/YpItlV63PyOQjpXxeuTtzWsOdfok/uN.wLC6TALchaa4HRwK Warning: hash_equals(): Expected known_string to be a string, null given in /in/kBoOr on line 8 derp
Output for 7.2.8
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$Onj2i4Wai7gm22ZCjUJg1..K8l2PiGCRI4fngWsvZxVEaJKBnjrXa Warning: hash_equals(): Expected known_string to be a string, null given in /in/kBoOr on line 8 derp
Output for 7.2.7
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$PX3Lp7.jkaeDsfw3ogehh.WUPABU27q9wIHs1fJghZgIbAP3hnhXu Warning: hash_equals(): Expected known_string to be a string, null given in /in/kBoOr on line 8 derp
Output for 7.2.6
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$fqP5aFCOMmVcyPSR6Ot8eOO250iJCoXGoW0Jnvul0Oh/pwgbAK6I. Warning: hash_equals(): Expected known_string to be a string, null given in /in/kBoOr on line 8 derp
Output for 7.2.5
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$WCI9HfrAjwBo2lMquidXveWo2.D8jv.mZdINFWL7THjzVqw4GOCs6 Warning: hash_equals(): Expected known_string to be a string, null given in /in/kBoOr on line 8 derp
Output for 7.2.4
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$qG51Fy.k0/gllp1OtlZu2uDF0Ros9DzsZ/b5ZAvUirLSLT3MFRmgi Warning: hash_equals(): Expected known_string to be a string, null given in /in/kBoOr on line 8 derp
Output for 7.2.3
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$M4.Z.mCGS8Qdv66qAZS.uewGa6hGyXB9Y4mDir8JnOMiZbMedhqEm Warning: hash_equals(): Expected known_string to be a string, null given in /in/kBoOr on line 8 derp
Output for 7.2.2
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$tRyuFqp/J4.SM00qjmZjOuqED/L5vVh9abEaRHvrbzwfN1K3hBa5O Warning: hash_equals(): Expected known_string to be a string, null given in /in/kBoOr on line 8 derp
Output for 7.2.1
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$4KGHqiShOcBu0cUn.EZKlOUVKjZcZWjaR6eQitvPhOSqvsgyEpSou Warning: hash_equals(): Expected known_string to be a string, null given in /in/kBoOr on line 8 derp
Output for 7.2.0
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$wo/ZyzcwoS5tRpwxsJ1o4.0ZAMrE3QHht8XbfHmyHCFOyQ1dHCoze Warning: hash_equals(): Expected known_string to be a string, null given in /in/kBoOr on line 8 derp
Output for 7.1.25
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$55.A3T2zsv6bjJAQP856U.7wrA/SsvWMYZSCQ4JK.l0ha6tWAlqCW Warning: hash_equals(): Expected known_string to be a string, null given in /in/kBoOr on line 8 derp
Output for 7.1.20
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$2Y31uTxcHR.K4xEO0OxHyu5j.kNa74Byl/D7nzSwvmrfomvoNudui Warning: hash_equals(): Expected known_string to be a string, null given in /in/kBoOr on line 8 derp
Output for 7.1.10
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$ImfZKpxJHWjZoQ46gOeIxuTvs1LIXIxpkp3l/enF4ftRY8v5yCvp. Warning: hash_equals(): Expected known_string to be a string, null given in /in/kBoOr on line 8 derp
Output for 7.1.7
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$c.oodgLjEFxjGF32ULQ8zOn8oTcE1QoRl2CAILUPEiiw1i9F.fNsa Warning: hash_equals(): Expected known_string to be a string, null given in /in/kBoOr on line 8 derp
Output for 7.1.6
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$EPz8/33LeC/Or1NRH5wctuoATbrpvfcz4P9Rb97USNCtO0gQxVdIS Warning: hash_equals(): Expected known_string to be a string, null given in /in/kBoOr on line 8 derp
Output for 7.1.5
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$NrfHDFlBxUa8UaviKMa4i.TTEarXamfhnvONbUG3VNbkV.n3MzkRG Warning: hash_equals(): Expected known_string to be a string, null given in /in/kBoOr on line 8 derp
Output for 7.1.0
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$dL/VLtp5y7WpNpuYVeQex.XZYfM/p86zha2Q6hzpzGwTKKdFJ4xNS Warning: hash_equals(): Expected known_string to be a string, null given in /in/kBoOr on line 8 derp
Output for 7.0.20
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$TPl/SqSIVXwmBY4mpjYqaeUckav4t57L6Dw/FupA4v98mCxJJi1B6 Warning: hash_equals(): Expected known_string to be a string, null given in /in/kBoOr on line 8 derp
Output for 7.0.6
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$Kko92FHs9BNuOBzFja6ov.N9xCEbG5prlhlUES1hKIB6hfRKTbiGC Warning: hash_equals(): Expected known_string to be a string, null given in /in/kBoOr on line 8 derp
Output for 7.0.5
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$PHZnBAA8zjLiCIPYRYHzw.G1kATS30jfk7mN4dseBAhBjeartkY4W Warning: hash_equals(): Expected known_string to be a string, null given in /in/kBoOr on line 8 derp
Output for 7.0.4
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$IzWGCSu9qIfBQK6cAh1vyOttEhsdOc5vDqe5Ujwmj9FlsUzRDFeP. Warning: hash_equals(): Expected known_string to be a string, null given in /in/kBoOr on line 8 derp
Output for 7.0.3
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$8lkdCt7dH4W.bAAYOJIbU.b1AVEXCNDPWXjM48CUZepATbKkpC5am Warning: hash_equals(): Expected known_string to be a string, null given in /in/kBoOr on line 8 derp
Output for 7.0.2
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$cGzRyMLZQ6COO2WaRR/qzuLLgkT5qNYGhP3fmNr1XzOhaScFOAYrC Warning: hash_equals(): Expected known_string to be a string, null given in /in/kBoOr on line 8 derp
Output for 7.0.1
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$w.Bpj4xFA./VTqoTbtcpeu.wFm1Unb560FQmZ4YQMuqxaR2mjAKjG Warning: hash_equals(): Expected known_string to be a string, null given in /in/kBoOr on line 8 derp
Output for 7.0.0
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$i0yRdsJHKTDpbgEtVq/7ZuPOSPrA92Raw8h3qzwaLE.GebxIG047m Warning: hash_equals(): Expected known_string to be a string, null given in /in/kBoOr on line 8 derp
Output for 5.6.28
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$AGReIhih.Qm7n5om6nu76eCpVtsE1irmvPMzFcm5iie4RjILpfurG Warning: hash_equals(): Expected known_string to be a string, null given in /in/kBoOr on line 8 derp
Output for 5.6.21
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$GJyZ1zYX236yuAFGxHiGuuZsy10A8hi7HI95fWKchW93mrm/HY7HK Warning: hash_equals(): Expected known_string to be a string, null given in /in/kBoOr on line 8 derp
Output for 5.6.20
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$LcI6n5.T8el5M78sJVOscONQQDPA5aakGO/Kx.cNImOlWc.C4tklm Warning: hash_equals(): Expected known_string to be a string, null given in /in/kBoOr on line 8 derp
Output for 5.6.19
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$e5IBdMl7XuQMqOGViRWfP.6/9Fs.0oelrzZ46ZoOZe63C7ogR9ZGu Warning: hash_equals(): Expected known_string to be a string, null given in /in/kBoOr on line 8 derp
Output for 5.6.18
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$oWIyTKNuMERNENb6EgnZFO8PGaSW.7ArGDVfT7UnHgapA19NlVXZ2 Warning: hash_equals(): Expected known_string to be a string, null given in /in/kBoOr on line 8 derp
Output for 5.6.17
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$GrOdj433tN2EvugErUTbm.LYIivhvaK8t1yU4Fldg0oprpwnNpHr. Warning: hash_equals(): Expected known_string to be a string, null given in /in/kBoOr on line 8 derp
Output for 5.6.16
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$wooctMnEyuorGLiDz4B2ZOuHRb1txGCm5bcZ6vAe.PCc83p45/uty Warning: hash_equals(): Expected known_string to be a string, null given in /in/kBoOr on line 8 derp
Output for 5.6.15
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$LTqc8oaY14EiIrvhhZDBFO.anlPooVcj/pAcj63VNJzft.HC/nHLm Warning: hash_equals(): Expected known_string to be a string, null given in /in/kBoOr on line 8 derp
Output for 5.6.14
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$J96/c5usKMxr0q66crpGkOFlnnpVfWPQ1juwBT.MQOULKMYQ6HQo6 Warning: hash_equals(): Expected known_string to be a string, null given in /in/kBoOr on line 8 derp
Output for 5.6.13
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$rx7/zntlH/A9W1BB7KyWA.AIyTHStHUDtU5uA75b09d1nDEp30GkS Warning: hash_equals(): Expected known_string to be a string, null given in /in/kBoOr on line 8 derp
Output for 5.6.12
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$PI6eUUS/9ZMCwH2PeQeWVeICkEGKV0VvzfuJu2rSnPL7OKSLSqaNm Warning: hash_equals(): Expected known_string to be a string, null given in /in/kBoOr on line 8 derp
Output for 5.6.11
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$7vluVG1tUL7Uu/wmdas8GuGvo.LFhKbYRp4WpzofHFFfVdfpLr8sC Warning: hash_equals(): Expected known_string to be a string, null given in /in/kBoOr on line 8 derp
Output for 5.6.10
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$oA3dd75oXX0GQWXFXO1YG.1ZyUkjR/9AuG4Puf4/e93uMemEVw4SW Warning: hash_equals(): Expected known_string to be a string, null given in /in/kBoOr on line 8 derp
Output for 5.6.9
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$ZZ5cUjLt8JzHMAdnjK6vA.oovKOeHkvHU8jsCeuDil9YYXadAli7m Warning: hash_equals(): Expected known_string to be a string, null given in /in/kBoOr on line 8 derp
Output for 5.6.8
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$gwE/Qr54RyJMGH6cwmWztuIVnV65Yct/X6Yu3Y0RvilK0utoCpwiS Warning: hash_equals(): Expected known_string to be a string, null given in /in/kBoOr on line 8 derp
Output for 5.5.35
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$N2McQvFsHumPJCn7Pyz.M.hYgGTWDZRCtS/vNFZ807.s2IYUPFgh2 Fatal error: Call to undefined function hash_equals() in /in/kBoOr on line 8
Process exited with code 255.
Output for 5.5.34
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$XbaMOqjEqPIlv9OP7lC31uVMiijH1obfJnHXxW.Pijw9FFxnDS4oW Fatal error: Call to undefined function hash_equals() in /in/kBoOr on line 8
Process exited with code 255.
Output for 5.5.33
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$I10JctfbCOflNqB51/4JH.gm9zjwxel2/n5UY.7qi8ctdlIV0pVXi Fatal error: Call to undefined function hash_equals() in /in/kBoOr on line 8
Process exited with code 255.
Output for 5.5.32
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$kRK88GP9BmwsUNl/EyJy/O5LczowOrXYiklPhZK3WtE5ZtNNGcxB2 Fatal error: Call to undefined function hash_equals() in /in/kBoOr on line 8
Process exited with code 255.
Output for 5.5.31
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$R.4Q.x.aStnQl94Fv3ixi.UHdMpcn7NFmKNGKbxidUVxqDLT1kHIi Fatal error: Call to undefined function hash_equals() in /in/kBoOr on line 8
Process exited with code 255.
Output for 5.5.30
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$bsZd9GViqNZ1ZUgk8FWjU.bXsITc4BozwTCnVHEgMFBq8ftehzkPS Fatal error: Call to undefined function hash_equals() in /in/kBoOr on line 8
Process exited with code 255.
Output for 5.5.29
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$cfolqClV6..VjIrnNUGA3ew73CV9hiUcnjXGd4fFJBeFS0ctaN9Ua Fatal error: Call to undefined function hash_equals() in /in/kBoOr on line 8
Process exited with code 255.
Output for 5.5.28
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$dkg3YGVxyWJvD1PeEVQ1fO69HWjXGk1eFFFQhNI0u5/WdNgXWvGlO Fatal error: Call to undefined function hash_equals() in /in/kBoOr on line 8
Process exited with code 255.
Output for 5.5.27
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$NJNBN2Pn.8LL5Z.wI9cp6ek9XXb7mp/sE2MEwJQhowVBXy0bhGWWK Fatal error: Call to undefined function hash_equals() in /in/kBoOr on line 8
Process exited with code 255.
Output for 5.5.26
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$WL5KK1/kPVPd8uYey2oqgeXEivWj57AWH81SD9xHQkA2/Qef/jXOq Fatal error: Call to undefined function hash_equals() in /in/kBoOr on line 8
Process exited with code 255.
Output for 5.5.25
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$MbKtQ6AvwGl7M/NyV8ImRO7Ax1jbIIvN3LpzG4zuIuohDqHjsxz36 Fatal error: Call to undefined function hash_equals() in /in/kBoOr on line 8
Process exited with code 255.
Output for 5.5.24
Warning: password_hash() expects parameter 3 to be array, string given in /in/kBoOr on line 3 $2y$10$0s9.AeUkaH/lCQmJewSvyO5wP71KAm2l/C.oulhggzKyg.TdKjS9y Fatal error: Call to undefined function hash_equals() in /in/kBoOr on line 8
Process exited with code 255.

preferences:
84.39 ms | 401 KiB | 63 Q