3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $y='0123456789'; $opciones = [ 'cost' => 12, ]; $y=password_hash($y, PASSWORD_DEFAULT, $opciones); if(password_verify('0123456789',$y)){ echo 'si'; } echo $y;
based on HonGl
Output for 7.1.0
si$2y$12$BjTRDZiFM4MMWVurhGvHgumK4TBvYzH9ZjEnXuADU8wnRu7qO/AAW
Output for 7.0.14
si$2y$12$XHOLeS07tFaox7ITJ7kRA.J0KMq4I47WN5PpJcw9//Vc85xoFN4sO
Output for 7.0.12
si$2y$12$0e2vGKZXChGe5sx4oUKxUeZn/Q/sqSfM0VbmIzT6InkyKWo.FYAn.
Output for 7.0.11
si$2y$12$pOhkTWvj3HDntwBfN7z1zeBFl1t15TRLGTjZ8r7ajUuHGHflTSbPi
Output for 7.0.10
si$2y$12$2yjJMrrjxRf4Y/PVTlh6nO.lhSy2IcFJGPzBc7ISGwmpSwClMWKDC
Output for 7.0.9
si$2y$12$BHwmF3hTeOLimHLxvAmu5eJ8IkSpeiLP05MFVTi1a5bmN4fD3XIIO
Output for 7.0.8
si$2y$12$Z.bknrqtXXLppCy6a30dredEN5DwiEJtyZwVPLts3alFr/RyrPGWO
Output for 7.0.7
si$2y$12$T2MEcMMJ.hS.u1NDLzARju3y9pgacG8ETjwNYxhG8e/28DfbptogG
Output for 7.0.6
si$2y$12$W3NWG5DT9JLHUiDNjTr2F.FKo5qAFNo/7xEiaAYaRjDFLFCyPScyS
Output for 7.0.5
si$2y$12$..Ia964m9RNncbxe6SYcAOR52l0JYVD87RMoJ6hQPpcEqdKLgeI/u
Output for 7.0.4
si$2y$12$NniIEYr/FccqqCSzp.mUOuNBe/2HHTWDVzRpoyPGWI9wZ1CYqzdSi
Output for 7.0.3
si$2y$12$vanYSFCn9RqqyLdyodQhlencALvQvPhkdMPBWsCczOOU8YnveYGrG
Output for 7.0.2
si$2y$12$UEvGJqPFKiQX91o5T7Fy3OIuCfh/gL.30llZmDBvPnC0izkzdIHLa
Output for 7.0.1
si$2y$12$rPJEp2aJO.NifVESAKWGKeXlG/FpJuu4osSQJ2p2xN.C3haEXkoTq
Output for 7.0.0
si$2y$12$SV/S/GXEw3.xHq4BoNp42.qmA1PjgRbczIEoRpHFKUFH0b0QX1xkm
Output for 5.6.28
si$2y$12$C3HvLBMeGat11fbo2roMbeZv6CjMXjQc33vwHTun0LYeOXeicsiRK
Output for 5.6.27
si$2y$12$ZLBX0OcsuLT/.90ZNhES8OYGtCJQbZKFuaxrfPP1c8v9Fs.FfYADq
Output for 5.6.26
si$2y$12$vhpwjpbtWwoFzHzKncXWoOdRBDvKMugOZSjEOJHisQMIQDf/YQ.y.
Output for 5.6.25
si$2y$12$oVXzTZdv.oeU1Sj2O8kyee6PKuLhy0ZG5DDqg9xMBIV.Ua3ZYDepq
Output for 5.6.24
si$2y$12$0/RRiQZx0QFHSq9rjNmPOuw6T4w7/PSeK6//j8i7O8Pfdsr81FD3W
Output for 5.6.23
si$2y$12$4bjEoS/.GZ99RwpIRqOxQe6.Fi5OdVbH55IEjn2BsSoQ1mll55wYa
Output for 5.6.22
si$2y$12$ppDfvNDN8PevvDOWi0oVLOJCJE8MxcXdiyikYwy8L8l2zdQZ.fWq.
Output for 5.6.21
si$2y$12$sKfEFb3epcbVowetociVKOOsx0oZ7cLK4kZPrcL6H5TP2.KELsQja
Output for 5.6.20
si$2y$12$2a2oYq9ysug7TXqK12/Fie0ivYici4kSGQHe3CjiI94K2arsOv63W
Output for 5.6.19
si$2y$12$FwJ4mQbiw9LZcMd9tAkuNuK3W8Nj4AIDG8TIsSdX7jloeBzlVox4q
Output for 5.6.18
si$2y$12$uCSSA7QNkxD2b5ivJRndbu7Kc1LAeXoEAH./fc9tvvfHjlerJoZMK
Output for 5.6.17
si$2y$12$X4IvZ.kaMdlFeUSIastffOAqbIO0ubjzI6U3iQccZdKMrGHbPs8AO
Output for 5.6.16
si$2y$12$FHyjZS8oAgtjzm5PuJAr8.PBDl7gpa.48ffSrOxrR63sx0GDFJN5i
Output for 5.6.15
si$2y$12$fRDOBdzh.94Xoh7vFVHwYOtlnGUeaKI5t4VrRq0sRmZH9C0bV7Y0C
Output for 5.6.14
si$2y$12$NdzJhvMl0fe2UGJzlfkFU.VucL8S/eKxxBBnPfcOx1dnxVeWT3wFy
Output for 5.6.13
si$2y$12$bGJllYkVpYXQ4kjcDlEi8ODckfCKErhgUQY3izIZ/ib8uqRtmYojW
Output for 5.6.12
si$2y$12$mWGb.Hl5JqyWkSGgGZejKOI8xLphcRfuK898Gm6vS9tfSO7IzhmFu
Output for 5.6.11
si$2y$12$Xld9PqTKTJJod8tO9Xbm4u2ef4bxBl/ejurw/0SkXZ5jLEu1q/vOW
Output for 5.6.10
si$2y$12$qYFumNIOvpzTWPv8BDbA5OqhdY/Yh0oaq8KSjOWi5wg0rg3kHrbXS
Output for 5.6.9
si$2y$12$W/NDrneA5kf4vLUiliJE4O.VrFwHgz.WHAl.Tm.VsDMja9S7YqBaq
Output for 5.6.8
si$2y$12$nB0lgPoW4ZeqMd3QLZHvIeKdNo9Zp1UZ3Lo7TmAFnE9NY6//rFT1e
Output for 5.6.7
si$2y$12$ra0wHPB5LrFEp0cpWVu0De/jtosI.dE4mc6ywdZsSG.eLnhw3DaNe
Output for 5.6.6
si$2y$12$TweW1ortFefGvh.kzmkuVuZ06xVbiJZjJhrwX7HW0/CUEyEML7N66
Output for 5.6.5
si$2y$12$.MeBlUEA/xbrdXg7Ddzuc.KH8z2XSHHc0CnBo.7jpN5voVLWNUIhS
Output for 5.6.4
si$2y$12$NNuFipJlL7vbs5aJnnOjMeu8NLQ7FeoU9uMxMKK.V7v8feaLXnr2G
Output for 5.6.3
si$2y$12$1hN.2AY/HkgUYiT5f4tmlus1mPiizhqtf.rvTa27j03hsfhi75c7W
Output for 5.6.2
si$2y$12$tOGcnvfxCgVI9vtGmHSrmueFU33vYtHLuTRerq3O4VAoQZGz460Eq
Output for 5.6.1
si$2y$12$L8YNfQHbS7oG/EiXKS.sL.tvi2LmCc.s7lNMoS.AvbhjR8Wt421Ui
Output for 5.6.0
si$2y$12$VgdWlYpEGXNkwPenSr1z6.pmLHPrY8gEPNsmgaAcoOILpY8yl4pBW
Output for 5.5.38
si$2y$12$HraqkegdZb9mrVzDaG10lubUH4CBU2A5iNCCJCZy4kCQ3Cwq4F2PS
Output for 5.5.37
si$2y$12$pnFRLwWN8YGWoVo1UJJ6v.2Quf6URN0q/rETEWVV505YqxmVML3Zu
Output for 5.5.36
si$2y$12$KhHdooveM6crkDFC1wtxe.zO6WGiVE1hn2MZ3b.bqmXkx8MohrIiS
Output for 5.5.35
si$2y$12$/BJ6hSuHeFOmXoQmpLZzR.LFdbk/ueJiQUwBsgahfm/WSvJh4jJf6
Output for 5.5.34
si$2y$12$HNY7K0OjY7fTDiZ8xkdqQ.g0r.23Gkd4xU6tL8x6x16YCalDVupLO
Output for 5.5.33
si$2y$12$Djx4oWYQpP6ezSTyVq4sD.ZZ8nQ3n9UZn58sygFVaEhkSDlz68Kvy
Output for 5.5.32
si$2y$12$/FJ1qx7XfKmqZRl0qqI17.z1lwNHVIcpNY/Emrfk9Tt0GxMLj07qu
Output for 5.5.31
si$2y$12$R6O7ZSk1MCRVae4omeSRuunZiB4OrKYb15fJLh.jkBb0OpPeYgmpa
Output for 5.5.30
si$2y$12$JYuIqHePDXT0Q.PVCP8/xO5WG1dMh0kIkXZNG/GN6VdfXePOULu6O
Output for 5.5.29
si$2y$12$LBeqpBPC4dGTgD7VP0.TDeMRNDGGeYaG.hYwBflPi5PTw.LaT0GQe
Output for 5.5.28
si$2y$12$3m/sL5IjBpZD6ynvRfdb7OUu9eo1EWobRYGbLO5NLP8xAEvSC3FHy
Output for 5.5.27
si$2y$12$ZVf3kV85dLg9UN18mr6ZVuezcRy9eUQG8q2bgtPxyrttVBmrisdqu
Output for 5.5.26
si$2y$12$Q/3DnkI4A8eIYIlB8XUjtOHiiSWEZdJdE56w/XrW9OEfGrYPIJQC.
Output for 5.5.25
si$2y$12$.GwZ.D/WGgAOSvf5592h4elFbczjxQCq0JGJDHWJt/CCBRyQZ12FW
Output for 5.5.24
si$2y$12$8QfLoGYVjLH.NJD5241heuJ2hq61TULbsSxSiubrMs4tjLPIXPDpm
Output for 5.5.23
si$2y$12$P0tVh.lt1ahL0Iwhyflg1.vTIS0OL26.VGM7Z9//kfpvmCmMYP/0u
Output for 5.5.22
si$2y$12$2694AWWDtQ30KBEwcnYEIOs1rmfP2twEOpqfaMvIVzLJRS64gR2pq
Output for 5.5.21
si$2y$12$GUVuo0n5FhRRBmwrpmUazuYxIXnGsUYV.cakL0q6ABXtP50n4kME2
Output for 5.5.20
si$2y$12$ADng1I.hpSrdsIGHny2qj.5RyAjjZdv5w8K3i8IOHc4pW3mVUncEi
Output for 5.5.19
si$2y$12$ChSOGBppIR5.3XN3tHYRp.cFgYZQ3Ro2f/zQYcp/hvXsMjlKc1dk6
Output for 5.5.18
si$2y$12$Yswrx4wpvD3/AI6TPIugr.0XtzPFRdFwlw0I79PKVGZM2gmX2MqP2
Output for 5.5.16
si$2y$12$jdPvFN5MVNT82rOJ.g1Pw.ykLb0QCnNfWDYdUKhn/hsemrxCGqaOa
Output for 5.5.15
si$2y$12$gYz7vIvdRDK8fUdTtmgfaeX3lKqwaJ9FRn7J1mKrghEjRokTZveUq
Output for 5.5.14
si$2y$12$Exbn8eY371cWbWCG7evBHOcuodxxrdDPSKu0ObE2.4xOnggqkOTou
Output for 5.5.13
si$2y$12$/qznmwyu8rW28Kwd3xmErON0pLxLvCuirxQeu5roTHtoVA6NbNKuG
Output for 5.5.12
si$2y$12$2.SczWP6Hb.7Pv7TP108XOpIsy/UxIjvD.iIXrK/rnztzdTuYia2y
Output for 5.5.11
si$2y$12$TocQ0WhGdXbwpX1ZrLRZpu1ZCylTylLWWeGQ4JyGZbcpudMwkuNtm
Output for 5.5.10
si$2y$12$QtiPgsA5dBck5XJkCSDKH.gaeFC9oJXSXgf4BXvtPWfIg1IJ4qSWe
Output for 5.5.9
si$2y$12$7P.daTYxCqf.aQ5tQklHO.IdeK2vo6MAOpZc7wn0xzntX3jLN1akG
Output for 5.5.8
si$2y$12$OsnayF8jRi4E/hXn282QQO1We.bjWPaD/PJLvnYx5bDAyEhQg94Le
Output for 5.5.7
si$2y$12$Gh2NMyBSlsypIjbfusCLEujTK6MEMEGK4RO5GxpDfflHy/brmy9Tu
Output for 5.5.6
si$2y$12$Juu0xxBvG./1SHukcp973OjG.JzYDpt47THpD82Vt.xpm7d.KgKsC
Output for 5.5.5
si$2y$12$lqx7xN8oFfwHBAcpGKFtP.NHmhBmreEqV66NiuNy6MEnKPl4xKiSC
Output for 5.5.4
si$2y$12$yBxe80hoBaIGn/ImuLcTtOkaPio0YDc4V.skrmXN3DMifRHv3LEQW
Output for 5.5.3
si$2y$12$2vzceYXtE7AunPhWDMwPTufAR68ABh5BiyCKIps3zbTsfY6DFpc2S
Output for 5.5.2
si$2y$12$hheKtFONNv1wGsjvz8OEHew1278TOuO.qtTka7d03h.UWFVWQjLqa
Output for 5.5.1
si$2y$12$PCmHROURglPtXq7SWG.xt.bXVupwlgXHoDk1F.GBwjdu8PKI1xNUa
Output for 5.5.0
si$2y$12$GQVJi8QMOjiQzPOP2VFaKObMny1Up0lIQ30UlRL/yUXWuf8WCe4M.
Output for 5.4.0 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/Q5Fr6 on line 6
Process exited with code 255.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/Q5Fr6 on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected '[' in /in/Q5Fr6 on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/Q5Fr6 on line 3
Process exited with code 255.