3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pass='test'; $hash = crypt ($pass); echo $hash."\n"; if (password_verify($pass, $hash)){ if (password_needs_rehash($hash, PASSWORD_DEFAULT)){ $hash = password_hash($pass, PASSWORD_DEFAULT); } } //echo password_verify($pass, $hash)."\n"; echo $hash."\n";
Output for 7.2.6
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/DEQrR on line 3 $1$17Lb7USm$M08g1r6ypNsw4SxRuo3mv. $2y$10$Y0wwG9lUDG3jGwRrfBspl.vFLY6owmO2T.I/jXvX2sNlf2ktvcr2.
Output for 7.2.0
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/DEQrR on line 3 $1$KZCJzMAW$0NE3qTIO0NDaYBo/M5Wwi0 $2y$10$.BqP.8m4jOdC97LxoPAXC.QJLJ59DPMtAUyY/H4s9bG/o2Z.yGyu.
Output for 7.1.20
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/DEQrR on line 3 $1$6fCxcO9f$2VjxE5ZTBVQlgACcPwYFG1 $2y$10$0IzIg9gNWzxZl6qtqceBfOvP8gOn1FiseYbHdZOcexkJCFpVsUYma
Output for 7.1.10
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/DEQrR on line 3 $1$E7NXyws8$CtktGiPmABn4mSGftuKsY0 $2y$10$F.gQBBvHLJbuRvlqvHIKYO3orWa8B39JUpq3ewTe/FHRTlCZ8Dk2a
Output for 7.1.7
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/DEQrR on line 3 $1$tZ0b.Jtv$lNOF9W3ykEhd.EhVYHsiI. $2y$10$SpghxBUpfILhhYzOm0S/7OyoIVWEBeKRp1CXiDb9ndWsD1HeRdyTG
Output for 7.1.6
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/DEQrR on line 3 $1$Ot/OODWj$rmUZ.5nD23dHD7cdaHkKz0 $2y$10$1QG/nqB27uZsgQBuoLl02uyiRydodFoHycLktsWh6O1H8pmtJJ9Mi
Output for 7.1.5
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/DEQrR on line 3 $1$3lNO7rO9$9iWaTnMF5MJYVvzIpMCsV1 $2y$10$ly9BfwLuvS8mA5ICQHw3QO2tg0QoBfBorlIeFowSGeef4YXqWJF8i
Output for 7.1.0
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/DEQrR on line 3 $1$6xWO.Q0A$2c/6yNmMluegUnE2lmvzH1 $2y$10$ltxF5A9QAkW4kKYlDnQBIexRA7/jPM/aIzJc2puJNizkCp6VRs0X6
Output for 7.0.20
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/DEQrR on line 3 $1$MgY9PANA$xEItBtBc6.DPkvWO1J.vQ0 $2y$10$vDRkIHD6ZZ5pImw1fWzfgOtpI.bKoIrJIDOuDLhNUHsJAXsh1HWhe
Output for 7.0.6
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/DEQrR on line 3 $1$TY2wipV6$FQud3qwYGzxwOrAi6FpvS. $2y$10$r1dWDFePiQKe3eZb5E.lkeiibwrSSPM52hbzlPs.tLo8nrVHSOtBe
Output for 7.0.5
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/DEQrR on line 3 $1$Vuelu9J/$Kp6XsCfGvjHXhT2MRKG9.. $2y$10$vaeGmh1IFRmoJo9XwrNq5OQXffIKq691VrPRdjr4XVTJrByVFh51G
Output for 7.0.4
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/DEQrR on line 3 $1$/SdTEzs8$slxjWrG9Fe9K/EwYhv/Le. $2y$10$.1EzOxTdND4EuhlnK.LFFeBKsQ0CWPzEjGgtZxQwNduEGJA0HT.i6
Output for 7.0.3
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/DEQrR on line 3 $1$YXPNQsoV$d.xXfJtcO1O3UxtT5r4lE. $2y$10$DXcSV/MAgHPHBtF3fu1djOZLi/MzF7EdDJsT4INc94p19yTspdwxO
Output for 7.0.2
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/DEQrR on line 3 $1$AhAWxePi$69u8/vPyl.F/n7LnJKjg40 $2y$10$FvfHNk/PJJRjZAVCl.In2OE9fJShWmADIUkqIb2FWk2hGs8jfqbgS
Output for 7.0.1
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/DEQrR on line 3 $1$5etc4eRt$wy1F6BwNSOCQvYEfq3sFO1 $2y$10$gFQdCKtREN4xcZdobGZiauWjpf1pQrVZF/mGcEcfJimYMhZwNy8xq
Output for 7.0.0
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/DEQrR on line 3 $1$8WG1kD/h$3sc7KvvkilqFpg6rQVIi/. $2y$10$9fkD0VLGKe/MwNNKS8.J0u8JFbwlSzPtKi08tSqGN.bW47UBzUNKG
Output for 5.6.28
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/DEQrR on line 3 $1$jnU9jYxC$yktdhHafrLAW7M0iSeEK21 $2y$10$RwFxWYOtez1qK9/DH8Jqw.o5P3vj90gJ3LJr14Qcqb4pKPk9ADsvK
Output for 5.6.21
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/DEQrR on line 3 $1$Y1QN74iP$qQdZx95Q7TGKig7/8TTLr/ $2y$10$T69xzl211eK82.EPiN0JtuKM2.3rSSxe3J4T3JDvCpA5QH9yFDTD2
Output for 5.6.20
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/DEQrR on line 3 $1$obefLJon$1rZWcn1xJUvr4Vnx6LOeh0 $2y$10$xYQNPUXPZYAFdVGBfgesreZ04hb8Am0A13VTLklOVPu2VpGX/hhDy
Output for 5.6.19
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/DEQrR on line 3 $1$8xBajRKD$lxIu7ib7xtB0GQmDSt6MF1 $2y$10$ruu9wjr3MTw.gs/XkuyOLuH3BB./67NArrhJUMUjB.aBjZZDAZ0E.
Output for 5.6.18
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/DEQrR on line 3 $1$xFb7t4AV$1oKSjMTCmcdbBGjFckBhH. $2y$10$6NCxD1ESuiH4sh7INMseRu.SD4zQmnai2db1SNu.U6knlh3UP7HVe
Output for 5.6.17
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/DEQrR on line 3 $1$yxkdhLr5$T5sDSNrfqxqqFyq3dv3Vj/ $2y$10$x9yiufsGCc1PpN4blDCKyOoiyUQjIbJXybOp/VpT5h4AiRmbS5jIW
Output for 5.6.16
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/DEQrR on line 3 $1$uL8Wm/Pk$dB9NhQ0/5DJo1Ctu2aAWq. $2y$10$/6V4NEzTp5VEfuzzUOxGHOm8KtXGXZg2XRTlB27KdKbts0NS75ifW
Output for 5.6.15
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/DEQrR on line 3 $1$8V40LqiF$.teYUc8QfsXc3CYHlB8I11 $2y$10$gquX4XqUQXqWXNk5tRJ9hexIcRmYX/AqbHAlzBQ12ncmUkjX//7Q.
Output for 5.6.14
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/DEQrR on line 3 $1$4VzVf9p.$PMhzRF5i.ZN2TGC/foGd8/ $2y$10$BhBOBD5OnEwi5JGWHETMW.xwq47gRTIqTMNGh0RTgTeIupFiRWc8.
Output for 5.6.13
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/DEQrR on line 3 $1$C7nxhtsd$TFStLWp8MYQJDSblOiwYO/ $2y$10$I3/smtt5OmT1URrxv0GJn.qqygqPBHTdjuLQLCrKarb5.WUKBHzDO
Output for 5.6.12
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/DEQrR on line 3 $1$T5rZ48x5$cTZNrx34RlhXw8aECQwh70 $2y$10$7k71jry99OMHn.duSoXcru..AjwR/TX9n3Ua17gwrCpzVkL3Wq8De
Output for 5.6.11
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/DEQrR on line 3 $1$kkfwAu28$oDI3qo4yZGYTwUUJki..81 $2y$10$JI1iLvhzgRW3yfV8COA7EuCRASf7RLG5VciddFBoYNnrNW5M./F5a
Output for 5.6.10
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/DEQrR on line 3 $1$ePOAMjeq$OCQMlOIig.jmEKNbNYtzm0 $2y$10$JKT1x9mSWKsSQ0yKDVLa0.76nB1m5dJOn3FR.rsIQz6EhaGNAAcAa
Output for 5.6.9
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/DEQrR on line 3 $1$bajmlxig$KyKd7qJMeIJFlZuMWQzBK0 $2y$10$VTzCi58MUfCb8j8baPveCug2.kYMaqlk9OsS1gX0bNAZ5jiI8hbry
Output for 5.6.8
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/DEQrR on line 3 $1$ovyXFykr$r/duD2vZ85xc4AsajtpH60 $2y$10$/OJtv2kUI2JFxBm1N/flQec6moUk6V//0HDfVCz2cy6Z4LNeaN06.
Output for 5.5.35
$1$Sge7xbjA$91N9Z/ujfv5glA9KO6jTy/ $2y$10$SA0lNhPVZrJQ/k6Hi/sdy.voNdmmpdtQnHCizwYuGBPZS.FgGkSZe
Output for 5.5.34
$1$f0s4BHqW$bpUQ9NKNZJptsajIfGPec1 $2y$10$mrtbyec1zmuDozGvnQu/uuF7cF5o186WJ3eKwI.mjxY5z2AS15Ygq
Output for 5.5.33
$1$IqkSZGcw$02wVoha.kf2lsgi7Px6xd. $2y$10$VRuF9mBUXFOmfVG4h/Z3euf4TZBNsXIwId9wWc.JsPk2Cc32NdMT2
Output for 5.5.32
$1$dK04ED76$QJD7f55pOFABd/cLKYwmP. $2y$10$NwBnRqRQE4yp9Kw.WeU7ZekfiGNnAvk60gWGTwy/0dtH4iVTzmsPO
Output for 5.5.31
$1$8GaXkHGt$FB/w8pn/yxibZTYYxLxLq0 $2y$10$fjK35uk.hkL/Wnf4mmyASuFfOeCnNc0jkeFaLub3v7MZTB8XCAH/a
Output for 5.5.30
$1$FkYIl0.i$NfKvHKXbjAYG6K7hz4eX21 $2y$10$TG5o1o9foBMIiPdDkizJmeYUwvzD7c9vDcW2Zw4n6TcV3cP9l1Pxm
Output for 5.5.29
$1$J5ycvBjg$7GY490eA22vTxJ9gnTMWF1 $2y$10$dq59RMO/PIwJ6ix9Wps2q.twTxVD46tpluZxyz0bXe2YGh5x8Eqra
Output for 5.5.28
$1$h.Df0C.C$8YR1jChy3BfmkVT8.QvqE1 $2y$10$mBu.Cdvi.DivVUM.SucXeOU7lmQNjkptL7vZbQOy5.Pf2oA5AkQeS
Output for 5.5.27
$1$NlbtB9Yw$g7o4rlBpH0ATgDdL0Od9./ $2y$10$IUlrae4WOpbwoRJZXq3XceE8UF1evEe1DbU/eWd27vGkZj.UkqDHW
Output for 5.5.26
$1$F0lLGRAS$7ZlnZiZZkq6Y86AbpRDdG1 $2y$10$9tt0XAgWsw4i8aAvDrjHEOAxTYm..IB8225nmAvThQWrEbqdUq7TO
Output for 5.5.25
$1$bioGL6CB$LEuKOc6EnDnNRApBpXLO41 $2y$10$34QJdbKbOZEXLWtqp0OkAOD9OLlImdui8f6HMiEKso/dBN0KS5fjq
Output for 5.5.24
$1$MqcQIGTw$kG/.TchrNN2vCggOqMDch/ $2y$10$AQbyMJ8R9jX9umCNzklyjOLsSqIPZPhOzi3sEiSkFY3q3/sTrq6IS
Output for 5.4.45
$1$xnlRASjF$LwjHpdILtZ2rLtxm7niP91 Fatal error: Call to undefined function password_verify() in /in/DEQrR on line 5
Process exited with code 255.
Output for 5.4.44
$1$niYIJ7s/$ABB6X3MdpDPzgG08Xr6O./ Fatal error: Call to undefined function password_verify() in /in/DEQrR on line 5
Process exited with code 255.
Output for 5.4.43
$1$Iu4qzmTd$wuG49aBC5XxP0RWIc9rbE0 Fatal error: Call to undefined function password_verify() in /in/DEQrR on line 5
Process exited with code 255.
Output for 5.4.42
$1$EOTJIOTt$0mD.fmJ7yDRGzLt10hx590 Fatal error: Call to undefined function password_verify() in /in/DEQrR on line 5
Process exited with code 255.
Output for 5.4.41
$1$4YqBh1lV$ZIT9rtEXBLapX.tlLjmvU0 Fatal error: Call to undefined function password_verify() in /in/DEQrR on line 5
Process exited with code 255.
Output for 5.4.40
$1$H70.GF0M$Ykjm/rnVASLTj8uH0pVB5. Fatal error: Call to undefined function password_verify() in /in/DEQrR on line 5
Process exited with code 255.
Output for 5.4.39
$1$SJHIG3dP$hArtP/tamNps9umYHaPz71 Fatal error: Call to undefined function password_verify() in /in/DEQrR on line 5
Process exited with code 255.
Output for 5.4.38
$1$dsxoT1H6$uz1LJZ9WtAKH/kM04uMoJ1 Fatal error: Call to undefined function password_verify() in /in/DEQrR on line 5
Process exited with code 255.
Output for 5.4.37
$1$LTuguoHM$eewJKvAVM1RlTP8B0rhud. Fatal error: Call to undefined function password_verify() in /in/DEQrR on line 5
Process exited with code 255.
Output for 5.4.36
$1$Whbb2zvM$o5yfmJha5sDN0rYfP6/n50 Fatal error: Call to undefined function password_verify() in /in/DEQrR on line 5
Process exited with code 255.
Output for 5.4.35
$1$YwVpgMjo$EE8SASJZpbvUcQYsz0rNj/ Fatal error: Call to undefined function password_verify() in /in/DEQrR on line 5
Process exited with code 255.
Output for 5.4.34
$1$lKlkygg.$27une8DUQeYzId7qpR7xs. Fatal error: Call to undefined function password_verify() in /in/DEQrR on line 5
Process exited with code 255.
Output for 5.4.32
$1$xKpKiP9I$GWGaCBUP20ZldWnXDHJ3R. Fatal error: Call to undefined function password_verify() in /in/DEQrR on line 5
Process exited with code 255.
Output for 5.4.31
$1$SW27rZZz$QIBXHEpJhurJKl6sSAQDx. Fatal error: Call to undefined function password_verify() in /in/DEQrR on line 5
Process exited with code 255.
Output for 5.4.30
$1$k8YEVE3W$G8hpZ3BEvTu4DIGsJIJ74. Fatal error: Call to undefined function password_verify() in /in/DEQrR on line 5
Process exited with code 255.
Output for 5.4.29
$1$/rbfLvpO$rUyL0eFtvnFzB4IthXpSy0 Fatal error: Call to undefined function password_verify() in /in/DEQrR on line 5
Process exited with code 255.
Output for 5.4.28
$1$3VGyaFiy$by5h5/RHikry9XHaOhMhR0 Fatal error: Call to undefined function password_verify() in /in/DEQrR on line 5
Process exited with code 255.
Output for 5.4.27
$1$1r5ZZpxp$1jRQdrV/acz2JyaorsFFE0 Fatal error: Call to undefined function password_verify() in /in/DEQrR on line 5
Process exited with code 255.
Output for 5.4.26
$1$ZyMyt.kF$84wp376vP/IdtjUZaS2K// Fatal error: Call to undefined function password_verify() in /in/DEQrR on line 5
Process exited with code 255.
Output for 5.4.25
$1$tgo1RepR$18g8ykoA7za2tJ3n..l.z/ Fatal error: Call to undefined function password_verify() in /in/DEQrR on line 5
Process exited with code 255.
Output for 5.4.24
$1$aD5hygi2$KKbI1XEzdQBMLoDGEdt6L/ Fatal error: Call to undefined function password_verify() in /in/DEQrR on line 5
Process exited with code 255.
Output for 5.4.23
$1$NuFVC4Gc$CyozmYj6xi5OQ4kmjcvG4. Fatal error: Call to undefined function password_verify() in /in/DEQrR on line 5
Process exited with code 255.
Output for 5.4.22
$1$WYkjgjGU$DSKQZqI.lI4ppvwYQ1w3V0 Fatal error: Call to undefined function password_verify() in /in/DEQrR on line 5
Process exited with code 255.
Output for 5.4.21
$1$ZqUeGnGL$0lE7X0DhwjkVdYlEZFrhg1 Fatal error: Call to undefined function password_verify() in /in/DEQrR on line 5
Process exited with code 255.
Output for 5.4.20
$1$dSbNihiS$Pkf0.Ws3MtLg4iz.u0lR4. Fatal error: Call to undefined function password_verify() in /in/DEQrR on line 5
Process exited with code 255.
Output for 5.4.19
$1$u6mnfNru$T2HwPyQ9KLrMeW2pj7U6o0 Fatal error: Call to undefined function password_verify() in /in/DEQrR on line 5
Process exited with code 255.
Output for 5.4.18
$1$FoatcHTu$om7OapIthX5r41l8zBXxB0 Fatal error: Call to undefined function password_verify() in /in/DEQrR on line 5
Process exited with code 255.
Output for 5.4.17
$1$MTa1F3co$H.NtjEzE8IGK60q2NeDST/ Fatal error: Call to undefined function password_verify() in /in/DEQrR on line 5
Process exited with code 255.
Output for 5.4.16
$1$Ew.9hTuu$6nLyzsnCh5yYcleV0p1VL. Fatal error: Call to undefined function password_verify() in /in/DEQrR on line 5
Process exited with code 255.
Output for 5.4.15
$1$UBBMK.P/$FLU.RI.yVmhhbuILtIyOk1 Fatal error: Call to undefined function password_verify() in /in/DEQrR on line 5
Process exited with code 255.
Output for 5.4.14
$1$tNbqNECB$h1piG977anQISZ8OzeRYz0 Fatal error: Call to undefined function password_verify() in /in/DEQrR on line 5
Process exited with code 255.
Output for 5.4.13
$1$NtDJIF2E$es/ZaSKI2X61T43eTcTkJ/ Fatal error: Call to undefined function password_verify() in /in/DEQrR on line 5
Process exited with code 255.
Output for 5.4.12
$1$w2TbneCK$0c1bFkZh.48KVmOH7hWUA0 Fatal error: Call to undefined function password_verify() in /in/DEQrR on line 5
Process exited with code 255.
Output for 5.4.11
$1$N6pqYhJn$/OlMaHetPxlTrXyyYoOew0 Fatal error: Call to undefined function password_verify() in /in/DEQrR on line 5
Process exited with code 255.
Output for 5.4.10
$1$Nysq1Ijx$E.KhrO9HD5wHRWVckhf6P0 Fatal error: Call to undefined function password_verify() in /in/DEQrR on line 5
Process exited with code 255.
Output for 5.4.9
$1$9nHnYrHZ$2xmmVVkzVJsaOTd2yuWnQ/ Fatal error: Call to undefined function password_verify() in /in/DEQrR on line 5
Process exited with code 255.
Output for 5.4.8
$1$r30Uo1G/$1NwvzaePiWulTCvZ0ujj10 Fatal error: Call to undefined function password_verify() in /in/DEQrR on line 5
Process exited with code 255.
Output for 5.4.7
$1$y.tdnbd.$pQu.OO0PGY6tcckM6CNxW0 Fatal error: Call to undefined function password_verify() in /in/DEQrR on line 5
Process exited with code 255.
Output for 5.4.6
$1$kOgic353$R6QVXWVu24oNBFMvGPqNy. Fatal error: Call to undefined function password_verify() in /in/DEQrR on line 5
Process exited with code 255.
Output for 5.4.5
$1$K3BbdSII$/4L.zMvJwjRMS7TlE8fwX. Fatal error: Call to undefined function password_verify() in /in/DEQrR on line 5
Process exited with code 255.
Output for 5.4.4
$1$r1On83qY$LHnBdrwr80MA7rs0AUxyl0 Fatal error: Call to undefined function password_verify() in /in/DEQrR on line 5
Process exited with code 255.
Output for 5.4.3
$1$.cfNZOrx$5yoHRs.Rk.bhBkEDuLGeK1 Fatal error: Call to undefined function password_verify() in /in/DEQrR on line 5
Process exited with code 255.
Output for 5.4.2
$1$X6jWCCJ5$P3G8/Vhro416vN3M8H4pH. Fatal error: Call to undefined function password_verify() in /in/DEQrR on line 5
Process exited with code 255.
Output for 5.4.1
$1$Mlot21pV$56TOPhKzBbid512LXtMmb/ Fatal error: Call to undefined function password_verify() in /in/DEQrR on line 5
Process exited with code 255.
Output for 5.4.0
$1$vdtmAwrx$/4GOewRx72icQtuJPQXPR/ Fatal error: Call to undefined function password_verify() in /in/DEQrR on line 5
Process exited with code 255.

preferences:
104.53 ms | 401 KiB | 93 Q