3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $password = 'sup3r53cr3t!'; $options = [ 'cost' => 12, ]; echo password_hash("rasmuslerdorf", PASSWORD_DEFAULT)."\n"; ?>
Output for 7.1.0
$2y$10$DjTiOUOeJGCdy2cE1omVd.ZwGNHYnOdOVnq8Js8auPj5g4nQcXFm2
Output for 7.0.14
$2y$10$9VHjPWlsy2882/iNqwiQr.wB/WLtUmAtYUGXw8rBL2cSiY7zgri5S
Output for 7.0.11
$2y$10$NDr9U.n8gU4ODuG1hUK5VO4bl26Ki794quit50gLwnq5lucLQ7tZC
Output for 7.0.10
$2y$10$2RVMGXhWBTbwnQDl6UxusOmxs0y7N8p0YZxGiMmjQlCoGjwXrJARi
Output for 7.0.9
$2y$10$wCVjHiwR.j432SSd2j5ThegrVexLGkvi8q2TaGEGr2xQJvtwAMg8K
Output for 7.0.8
$2y$10$ZRFR0n2dIwwMhUGT7ORDKupt8nII1BZlqorQrYgzqmVhZAc5IH3Hi
Output for 7.0.7
$2y$10$7UT9Da5TklzhxQvo.orbDuxlSgLwarEOrKH/If7BGNd/DnoOqL8Fa
Output for 7.0.6
$2y$10$M6SLcvM7F58taKidCpUpduGkfX6Ium.uB3c8dEFhoRi9KluO/nDuC
Output for 7.0.5
$2y$10$J0J3XKLq5gMtwBsXY6fdL.jhQugV835m8g1pJuIlEanLJlIEdDuBS
Output for 7.0.4
$2y$10$JZbfxWljbRru2M.ThqYoX.u2Sj.jokV745gENdfKZsODXiVdVM6ty
Output for 7.0.3
$2y$10$lb46hD6kY5rDLwSakrN9B.mpv.ZQE4vmShpzO6l1vzhQipjDFcaEm
Output for 7.0.2
$2y$10$A/HvAtpoJRw./IiYS91FeuXbHAaYOxMpdBPnW0GOMHTuWZRdVnuFO
Output for 7.0.1
$2y$10$YvVexTiASIpEm4NZdj89yek6DboIBJW88hIJVNY/MYumDP/s1dKey
Output for 7.0.0
$2y$10$v4g4fkCgL8yITYs2WQUg5u1BKTb7oquy31IHws0wZoAlEPLHEUfSu
Output for hhvm-3.13.2
$2y$10$c2787v60GvXCwpitfSu3Tu5U3I.ps6Kg6nVA5aWlyzB4WUqETBgpa
Output for hhvm-3.12.0
$2y$10$84cTGmhbbfyYayWvlAHFRuj14SEgOfqN/QxCnv1xwrdHuC9g1ZaHO
Output for hhvm-3.10.0
$2y$10$bQ9BOmNT3gEJ4dD5z81fpOo2bwXOWkEjq2EfVAJ3CkmxRMXz3bl6.
Output for 5.6.28
$2y$10$n88PrtXA4xNczdB/rh.tK.o2nW5G.2HwKYkQrYr443m.F.NhTGOvq
Output for 5.6.26
$2y$10$RM0E9XjEg.QVeKpB6elP9eMQR0bE/9VuMPjqWdXkTolAWRh9jtsZS
Output for 5.6.25
$2y$10$MJ6vM5i9slhsEheSoDGx8eofKRhaw/ek86vJfGIQdGddbZRls9bFi
Output for 5.6.24
$2y$10$X.Kn5upPA6ITarNdDH8RyuJgR24BuU9rL1yenFqPeM4M6UXoUhMmO
Output for 5.6.23
$2y$10$UkiHRO/PJUBoycGlFh8v2eRGfT8mcrsVoGbhw.deWBr1/OEPyT3U.
Output for 5.6.22
$2y$10$dlESAMLgLllR05Zcp4K46Od2ynPOYbWq.6eh6EnCk7puNk38sMquG
Output for 5.6.21
$2y$10$v8Pm6RD6jc59yFrbdTiLbO3hMxs4Miz8txA6RGsKxUyObuH7O0bV2
Output for 5.6.20
$2y$10$VgIzFdCKArJX4cqPoPhfYeLQ7dfOYLklxlJgZTKibXvHf1j9lbGti
Output for 5.6.19
$2y$10$Fc7PsC7eOJocVBjLX2vJouin0vNIm0GoZe.GPuTDERD2Z7zB5G.eS
Output for 5.6.18
$2y$10$hMlUE1.4Bv12aflBigqBe.AOeyOMm7OHjuT0kvIfYGZEueZzxu3uK
Output for 5.6.17
$2y$10$/0pBciYhviHWOfp7J0lH1.92PvltiQreT1KLHqgR8WtJSVPFrrm2m
Output for 5.6.16
$2y$10$i0V6HlVc/GTxw9mMwN9VuewobMtQO.wyFn5Pjx6fMZm5YD/DMdZTW
Output for 5.6.15
$2y$10$ig4bjOPX7IP9Y.JL1Dh.Vuya/9jd0QbIUHnx7M8E9k96Pr2N/7UZK
Output for 5.6.14
$2y$10$Uti20hsEyOtXLn5y.J4coO9Dw87S/8ZBKprknIgqooBFfXomTPAuO
Output for 5.6.13
$2y$10$afxHFo.tzzt7aVu6shorWOaJi6z/Zcs8qJsYsPZQBTyRVwywpFxyG
Output for 5.6.12
$2y$10$nQ0PvvDlF4wccwDwSbjRNu2QqVJl8dfm0NVBPiAi3hdD1c6gxn02q
Output for 5.6.11
$2y$10$NLsctAG/kf.sYgLvic5tzuvSatUin4rbuVE9sNF395rI.n35Sn8MK
Output for 5.6.10
$2y$10$SeNhvu44qBlg3dhOpBfjiegwANhDq/SU.SA8t9JbaPEM1IPcyGz1q
Output for 5.6.9
$2y$10$rGtxhEy993Y5XFuwF2Qjl.43R2xozunb/HWzeI5RZSKYIwG/GToWC
Output for 5.6.8
$2y$10$ukJQ7yBMyr.qQEvybwfIAOZD0KjOMtbZkk5QuEJbcun7eI6MWcctC
Output for 5.6.7
$2y$10$cN65A.56MxKKKlE4gcIyo.EtwtwlnX/i50cPZoUMsGoiSSUI0d0ii
Output for 5.6.6
$2y$10$efTtauXfAZMtpMKzEi//ruMaQCssTS1zwKm5AIdYdRKOVS6yk03b2
Output for 5.6.5
$2y$10$vWSQdvUW68IBt/cgFVDApOEMYJ57eo3fjYBKQTX2pnJiT/VvzwL8S
Output for 5.6.4
$2y$10$MacQrgqFGkHMHd1ZHYpHieTm3t9QRiTlDzMYtW7ep3qIair4Xqc3i
Output for 5.6.3
$2y$10$bGTOc7/F1W9p3pcZctFsVu1cayuJgPQR8bPezk4mLdIsroOciwNS6
Output for 5.6.2
$2y$10$h7thCyLjooN4g.q7rupfn.C8DdGt48C2SBqRxrUphbng7eQKnxMDK
Output for 5.6.1
$2y$10$vVuBwwaWKop3VYwwZzq6X.IKBOQtLgyyATaTbAzp7OYhfkxcf/omm
Output for 5.6.0
$2y$10$.Nm.d68tuC5ZxpOtsKp/JO6lzuDtVE2oqPp7VMq7/2jtJ09oMZIC2
Output for 5.5.38
$2y$10$gULcfdJ57HG4Kk4lqQnN9eo0wiQd2kZr/b370CtFxdk64dcc3wD0i
Output for 5.5.37
$2y$10$.FlXmZKqhkUXv.fegX.F5uBpKdeQ1pjdc7jL2nahfrw7YIY5K1fKi
Output for 5.5.36
$2y$10$VQ3CQJDFgDKvgqHq0CZ.6.D3ns6GxycUYB.EOsOEaKYik1JCAxBwa
Output for 5.5.35
$2y$10$cEKKZqXhqhXSzWQa7Kbc0OCPdXw0fa.9AkIp4iatlFV2B8we1dZaC
Output for 5.5.34
$2y$10$XHMWxELofgknBJu.xt2udu9q7hQtP.3yGplKsshID/9a4aithKPC2
Output for 5.5.33
$2y$10$r7v93eHunH3vUcwyLBs2gubQ2X3V7fNhIA7g49666p1upzj01CpGy
Output for 5.5.32
$2y$10$xdy4EFlfr.afL8B7vhwncOyjD9iZdgx/2/sf5SJFiEfMvpEfA7Che
Output for 5.5.31
$2y$10$acf0hf2y5Q73Y/OBYBvf9OBBZu68QkLY9fDFUj0cXklQoBHndjzu6
Output for 5.5.30
$2y$10$lLeH5TEuNbaLoUcSbwlRd.gu3vg9h1Naz6eYLR.sSwDz785PV1R5W
Output for 5.5.29
$2y$10$7d4RNoxM.ZkFnozyKqZWdODkeeONxC1qDNBYypvGdTk0Yi/KMxxPC
Output for 5.5.28
$2y$10$60GUB1SBqQFj2wqa4Ry6vOobvbAHHyC7MfAEBX9dhxWXYMf5eFNKm
Output for 5.5.27
$2y$10$pdDQFMogwDzrSwHkXyxG3O3gJcYYxUoKZH5S5N539xwsyhXQl8GfW
Output for 5.5.26
$2y$10$pMYMKCQEptTHWiHPiS/niedRAixRe5CX9tQrrtU6Ndi0ICC3C.7QO
Output for 5.5.25
$2y$10$Dw3rjYj/blf2TrLWMQWqX.8cY4o3UL6dHX1LWk/xUcHL/h2Xqs3cS
Output for 5.5.24
$2y$10$1YHI4iNjbkn0kDqQeJ2CH.jOX0xd1GfiSv/tucO3e/6bZ/ErVB2FG
Output for 5.5.23
$2y$10$IPqMo/cNqbGrwBI6NszaxO1Yc5aLhh4pKczFxB1RQJ/oEOJ65UylS
Output for 5.5.22
$2y$10$SxsNO0nOnW2Thc/Bc4OI8uvXjNzj47JGACJnEfTHhbHb0vQl.thzu
Output for 5.5.21
$2y$10$fTwwgZtROb156o8.HxtMsuzfHxqkMMb4HqnaWGwJMBklmnADfcMEa
Output for 5.5.20
$2y$10$2abGCoLIX2tzPkOtpyycOujxL7BrgQL6AzYxzXzlRsph.luveSRdy
Output for 5.5.19
$2y$10$1WL8.44NNpJK6RbjVUCiLOXKczQDL2Raq/1QETruXfc8OAlwVm9pG
Output for 5.5.18
$2y$10$O1JVCJsQpy47gj0pXQG6j.r5r8aNoXi27ANA1ow4OE4XZ8ungWDOG
Output for 5.5.16
$2y$10$ohHbFcTC1iOq6qqstIrtluiPDwywt5dXWQ2JoBxPg1e75OrHZ.lp6
Output for 5.5.15
$2y$10$kkrGu2uUq1BTI4YRxUmweOrXvjqoL4hlLbcMEiF.UT/PC2mdwVTWe
Output for 5.5.14
$2y$10$Zz3Rvu/ggjtkWr5wKL.b3e9TBBj6ACk2D6ptWm.tA9RaN/aYEXH0K
Output for 5.5.13
$2y$10$mKpsn3jNo.wUcC/hcX1aiu6sFHY9WhPkw3ifRknydt41n5SO0ZNWO
Output for 5.5.12
$2y$10$XBK2lzGbKGe3MteAX4/Xs.fDUwn7imCpTV5ACIbbyESL8cmmCe4G2
Output for 5.5.11
$2y$10$O5BF9aLYt8kct1xJ14PFpu5U1qLWGsPBGXf01Lu9E0eLLTdXwfuXu
Output for 5.5.10
$2y$10$cwItDNekfiYi2j5S/hiO3eyTvuNBQpzQLXFlvYLS/FTWbgWuQz6Ri
Output for 5.5.9
$2y$10$30/P5DP3gtt8vQGPCfD76O6Bb7qPqCMKYCd7s2jwvWPxsainYOmg6
Output for 5.5.8
$2y$10$D6pNap35jhb73HagzvL9vev9Sf3hpkqXST7ehJ529miAd/mdqzZAe
Output for 5.5.7
$2y$10$m/0jstHlkpMzWja7JnXfk.HS7DQ1iMs.madHC39vbwaH1VLQqIPqu
Output for 5.5.6
$2y$10$K8j07ZKpdvsct7K.grLgQOqy2O5UOPH9q9mwao.zTHvSrvXD4xBa6
Output for 5.5.5
$2y$10$OTG.yGwJgarqVsLlmKPyreV5.77GOmsyE6p5pVjVOXWCcer2myyfm
Output for 5.5.4
$2y$10$ySQOuQfb0SS6DE9JMjxNru2aXTD9FiVIfmMfAU9ToydYg6DFpVQoi
Output for 5.5.3
$2y$10$vdzSDLdvH6FYm6.vrGZcyeDVHFcs5q/6JUkYs5UjPVYZbK4jCHkVS
Output for 5.5.2
$2y$10$A0W3AtaayjDbwrV0tUlEzOd8wCFh/Lm8PhqVYwIY.XHrkoMvew6Mu
Output for 5.5.1
$2y$10$uPCXRYlwKL91N8k4GHQ.l.dQ8X75FbRN6MASAnCni1icK94BQZ7IO
Output for 5.5.0
$2y$10$EDLoimeFupU2EfAQ39JjNe9Db4g47ocrC5FV6675xIyDF8LegY/6y
Output for 5.4.0 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/JOsEf on line 7
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/JOsEf on line 4
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/JOsEf on line 4
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/JOsEf on line 4
Process exited with code 255.