3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(password_hash('dupa', PASSWORD_BCRYPT)); var_dump(password_hash('dupa', PASSWORD_BCRYPT));
based on cIBX5
Output for 7.2.6
string(60) "$2y$10$S63m1kkhVfsGKScX714zHOboA4ifrHISizUnLhBjhUkU6SAr.HzO." string(60) "$2y$10$a0z3ZuIZEoWJcDlck0Gf8eZ984RraDGoYEJKnDHY4W46pjYd7fiCy"
Output for 7.2.0
string(60) "$2y$10$UPKW5XbnEex86F7qzfmZlOmBZCUeIOf3TvvZdY0tWvd9xv7FR4JFC" string(60) "$2y$10$8XbsB7M5PauKVKTLQh23vuQGkex.WEIxxhUMMCturYo1.ly6qCozu"
Output for 7.1.20
string(60) "$2y$10$N5Mkc30XW5A8xy4bZ/slkeZek/4qp/LS.TXdqQz4GAF5M4/LydSVy" string(60) "$2y$10$xETaAwTJ87RAU74t4wmsT.D.P9/5KNS9e9FtrY0fzB7k5qgRc9oQm"
Output for 7.1.10
string(60) "$2y$10$xY.bARZNSMxPgQFHAinUd..zEH/6MrsKyDd9ZUNBkIoJhOmicMwsq" string(60) "$2y$10$o/IPgYtHjlMuKEfk8Bz8SeSSQ5/xIqYp6NVSTWlJwkE0XEK.8fYa."
Output for 7.1.7
string(60) "$2y$10$5uip0p/Poaayfu8j6kgeB.fxzDI/xBInkDN3K5SkvmdOd3PGXF9lS" string(60) "$2y$10$V4q4qClacmV/k842m4mOmeeY5fxJfykJP8VQ8jh6zvjJ50Wu0RTrm"
Output for 7.1.6
string(60) "$2y$10$g5P9ECQm9VMvfzSkgufdNOj1qXmAG942Q6fcaeMK0dluC4bUKXwue" string(60) "$2y$10$fU/D6lDyzkNOdgzd5qfefuyo2uLodMgUHzgu0cArKphCYVQInBUue"
Output for 7.1.5
string(60) "$2y$10$CuJOcSoGXo4FVvnAj3oVa.TlNb9UdFh0YDAn0IlIy8liHOVHV/tI6" string(60) "$2y$10$bevGL78ZoC0yBSa4D4FXl.2gZ63RvhntUxDlPJRkfsHIF9rpHPoc."
Output for 7.1.0
string(60) "$2y$10$cfSBXMqNahGqhhgQy13z2.0PBMSYD/wfYt9wEY7i8cCScJK.WCWAe" string(60) "$2y$10$OnuCRP91OvwZCXhhTsYxGuBarbKp/DMZlmcNaC8s4sUZ9fhHLmj5."
Output for 7.0.20
string(60) "$2y$10$NPdN6hrjVdMi/qBtaV.unOmXsedzDSQi3yN6QXhNKeuoWrq2/dNj6" string(60) "$2y$10$Tn0cl93bv4bAwP2ppHR8POLuMxBBLGcswW9kbSoLK2RP0qc1di9SS"
Output for 7.0.6
string(60) "$2y$10$0WD0wgsjRmf9rOT2yLlM4eyttdZUDQ3sorVepKc.f8YI6fXcp4qqW" string(60) "$2y$10$E8K.etJIc.bkGM1..i9O2OdwR.QEwUIx/SKHep2wA4kgHQHcTyOpi"
Output for 7.0.5
string(60) "$2y$10$HX/OxaycYmvo7e9Zdw9TZeltfdFJ2Zehvarn/ElDNpn.wtM007.D." string(60) "$2y$10$.A1TcaAMFjXFcz2UFO14X.a4yoTFdjl4UxXfIVQ5EabrtNexhQPIK"
Output for 7.0.4
string(60) "$2y$10$Ze0ZzbkEYK9eAjDPyVCpyOgXf1eYt7TE5dI1na2FF.seajOCAZ3Tm" string(60) "$2y$10$yKxGFrze1s61DC3S6MlzxOUSt9kbnoAanJPR94I8EilwO9rwAS4fe"
Output for 7.0.3
string(60) "$2y$10$EuStEVWjTZbcNiNt1/f0..4RVZ5BiFh7vBA4TXO6mx.J.2ud0iTo6" string(60) "$2y$10$b7bfwqk/U/v9hdVW427qleYEPfh5l3nAmqTkbwxV.rdWz0ROzIexC"
Output for 7.0.2
string(60) "$2y$10$00.9N0JiYY4ocNiZLYwxAuBjm4EpBBB75V6D7FVgFW6Y1pqKtfJNO" string(60) "$2y$10$GP9HE7zxWGjHwQWYizNLlu/mCjaJeHrF0egNE52cLsdCfhpAbFd06"
Output for 7.0.1
string(60) "$2y$10$qeaSgegPaPyODZHms79DQus4bHaPU.jk8IrFxJ2RQjChk0R4Z0ele" string(60) "$2y$10$CrKlMnfZahJMNTRl81a3..565aXXAHt.bQC3vUh5VPH9OY8h5GmYC"
Output for 7.0.0
string(60) "$2y$10$mhkUp6iQC1SfvIXHNLr/EeIbK3j8mefFFbes3CTXx3vTL/Ol2wQqW" string(60) "$2y$10$VRXYVFUoUbIAaeMzUXkWhOub055A9/hDGoJZ4Evk/qmPn6l8CRap."
Output for 5.6.28
string(60) "$2y$10$UUSzZD7OgVR2kR8oKYVQvewBp2.2kjfXSL3Zu.08XPUXi19SqqxeW" string(60) "$2y$10$OPoSMGPhKBrA218cwJQXBOvgpz5NAzZDNJWLeGLFfluFnjAY9KXRu"
Output for 5.6.21
string(60) "$2y$10$bIXUS7gBvvVwvyPgfHeJbe.ahbeFj8weQJ/ai7RfGqDKX77NEhY6G" string(60) "$2y$10$2OV3tlbP8V0ayANubgNyRevLE/mLHDY8EL0ltJeAHvuHBAto/wEPa"
Output for 5.6.20
string(60) "$2y$10$8dHgUYa452lspDokXwOjhebsy7fWSdC2kV1OkfaQgRt0v.6LLU/76" string(60) "$2y$10$5M1T6UA1VH2xdYRpRu7Bc.KiAAaBLVubPHGKPK1gXKGSKu9GnBNdi"
Output for 5.6.19
string(60) "$2y$10$8nQx.PqejVTS2cPBuDylIexFgPhkUew2jwc7fCW.KonHkm2f5/g42" string(60) "$2y$10$3latXwSCyRu60.jmaMFOae8THbwaPQUu7zFmryYb1wBYiz76EuktO"
Output for 5.6.18
string(60) "$2y$10$R2r6Z6aCoIUjVFaEUbkqS.LAav5uK48P.CGif0m4P7Z6bIA/WmQZ2" string(60) "$2y$10$A4uRfsLRQfJCQLurj.EcqujDmlEgIAHWFjJrCGgT5EAKOWSeUJwwK"
Output for 5.6.17
string(60) "$2y$10$SRZK/WOuTGZrih1N.dM6g.jrHGrVDfeBnJIk6fQRBntIFITbOoefC" string(60) "$2y$10$e7gg2AVvBnkMLElmT5v.7OdVpH.natFi758AEPhgB6Rfwvov5CMQq"
Output for 5.6.16
string(60) "$2y$10$ochVeKxWPvtrqqnbrghGl.oOwZY5mKab8pIDIHq8na3fiunZWLvCe" string(60) "$2y$10$Yc5HJKQjP.GpK9Esp6Ja2.foUpm6iQ9u7rKj2yzeUf.etDwaR9156"
Output for 5.6.15
string(60) "$2y$10$GWwoxhBAgmyH8M2VKi38dOJ7eHZASGesShGP7WMAI4wFcOrzC1J2i" string(60) "$2y$10$sKSToH8wYoSimGak17RJm.3ppZKulKeVbHbfw/2ivwIWRlTTAdMH2"
Output for 5.6.14
string(60) "$2y$10$rAycU936EmEtPk8t/7KuveHDLmYwNfvouaETPKS9lzo5tDnKFpOxO" string(60) "$2y$10$QfOdy3HaDDYLuCo6o2AeIuzYOJnBXJQ5l2TqUmoJO2LG.xcCYkhJy"
Output for 5.6.13
string(60) "$2y$10$IpCtPCdqUWvOgUKf1njT2.vVuf5Pqvprmi4eEscggOOgPC7XSWxKi" string(60) "$2y$10$4D5yXJQg57fBkpKlAYU0oemYrkxsI2aWSMJSrXA3YzllcJKjt.FyS"
Output for 5.6.12
string(60) "$2y$10$bJhyGFKTe2F3aDnnDs13r.eog0KL3PS8XIKGIw1tD00FITxAR1F/e" string(60) "$2y$10$f0tv4WXODncfJkWU1fOza.54FdMCXlUIvcdSgFFFne/oOlzFSGAaC"
Output for 5.6.11
string(60) "$2y$10$C268JGwwGtj26LKKYGZvFebqyeW0KtIXzZXkcTSuTiOUHuTLQOFqG" string(60) "$2y$10$xvIR/y85A.qJgQ25dOU3oewym5BWytU3K5rWciPjR2e3Xz5nypcqa"
Output for 5.6.10
string(60) "$2y$10$nmBAWyFN6hdhR/I0uvgH3O9Ooif5gpYgCwK0O9fzStaZNXZIJ5q4y" string(60) "$2y$10$sRJ1AHZBgeETyYoSa5iu/eXbUeAUK81n4qd4FIeCI8/8Ox2nBjW0i"
Output for 5.6.9
string(60) "$2y$10$EYBfFuyx4xinDGloSv8cWu3PKy/8pulcsNz9jrXu1VD2m6fF0J6PW" string(60) "$2y$10$gl/31bnTw0O/JDayrN6ibOONdhCGj.NfJ3zhu1lLzm0DltDs1U/Ce"
Output for 5.6.8
string(60) "$2y$10$RQOi34x37lBzoVeR0UA/.ebz66GNQm9Xa.pRdnmjFLjIjgCLjNs3S" string(60) "$2y$10$z2tJvjgxdjDzr9IEENmmQe.xs5OHWp6dIamsP7enoYOK105unwA7W"
Output for 5.5.35
string(60) "$2y$10$XeQdeehbkUA1ZcUIzQjPzum8Ai6uttefjvlen4GkqQ8vTRggNUCs6" string(60) "$2y$10$TdB6mjWvi5j.oNGvXwgIZu0gMfT.i4UCe0QGCD2DwwkJPObHl0Rba"
Output for 5.5.34
string(60) "$2y$10$000zJHtBJDnosTpWIljOWOYcUzNUwpLJPr6waUMTetf/JhFueUf52" string(60) "$2y$10$dSUrLrhBZ.Vf8LYHUQIU0.aIa0S49hVVJm7Hm60pc9Ccnoc/7ng2y"
Output for 5.5.33
string(60) "$2y$10$/cGFLaCG.Vz6NwZV/FcjtuAW3NH3gIYWYvQDX6xExNSFxH7TdY/PK" string(60) "$2y$10$InIqsJph1YEvT.k8QVj0s.SLF48aEnyR99dpuvJIkw.AXipCMi58O"
Output for 5.5.32
string(60) "$2y$10$vK96NekVNo3waMDWY8IxBezIiZHzwfgl0XlogJiccZPqzq6OfJTJW" string(60) "$2y$10$DvO/qvhGdBFnAHYP00xwC.fdj01BOeGge0wpvUtZ9lz3Q5doHPv8y"
Output for 5.5.31
string(60) "$2y$10$3QA7RuOfdMGayD4IqMC2a.k4L.e/1pJOwMVrYMNAUyDtUL7.8ch02" string(60) "$2y$10$9hObvy02StMif2C8YVQPR.r0zU2nLsDuSoxbMJab0Fmt/VZu7U7Si"
Output for 5.5.30
string(60) "$2y$10$z1sdbhytGLGpxOGspwfn.uZYPfx.16baXrl38R1fze6hE8dNY9XM6" string(60) "$2y$10$cM83PphuyroxulkpPzUlZuOtc3akvKAvZAybJhnsgjIIDqOjE1TVG"
Output for 5.5.29
string(60) "$2y$10$TT/2nZcQ/dLyhkAFZ8l13OXkuW4KzZMBwwGuY7WZP3QYidv9xIwve" string(60) "$2y$10$8qmUqDX17IKws9cxV/n3n.p.KgTSY46cEKsOd.lNW1LniUT008QSO"
Output for 5.5.28
string(60) "$2y$10$EB8aRtlfXrrIY8tVQKv6r.7AaX2sipXawn8ov1u5ySJeVUVu/vbVa" string(60) "$2y$10$7gRZg7RnczItNcG0ydMLpegS5168HUD8TFE9ZOIi1YFmGBG3ctNd6"
Output for 5.5.27
string(60) "$2y$10$PeZ5xsxZ5Gfnlm4KpTfWxeBhm5CBVsbuVxjK0YqozHJ7zhl7aUlgy" string(60) "$2y$10$752J90/7nzH4Wet5oML/puZHgxQBttZUy9L6Hy0AiqJq/j0r/xXsC"
Output for 5.5.26
string(60) "$2y$10$p8R/lDWBADgVj9bDMgcmBOWvIO1veiK70RQHtiT0Xw9z0Nh6uXBiS" string(60) "$2y$10$l7T3KNBsbkmb7uFyXf.C/eUVQpD7a/C9VzF00Ei5PkOpCDJQCq6o2"
Output for 5.5.25
string(60) "$2y$10$bIQHcg/i5k/PPxNCx1mH/u4HoWIPWeGRi.kbw9Pgeod9mXuAJCRqC" string(60) "$2y$10$uvSmJixEFe1ud0bInd6Fe.tGk2Xd0PdXOlNBz3m6dBfX0Q/BcWPI2"
Output for 5.5.24
string(60) "$2y$10$3xKrEpDA3U0nwlKbmrafOe7hBvdLvG9FthwNCMAEFMfdGqJ5.HovW" string(60) "$2y$10$ueF5xhHOekw4mXNq/06q.e8RAm5uzGlQGGFplgGr5OF.Zma4iHO7W"
Output for 5.3.20 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/13H9p on line 3
Process exited with code 255.