3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(password_hash('abc123', \PASSWORD_DEFAULT));
based on YD9Xl
Output for 7.2.0
string(60) "$2y$10$ZpNxhhwvxfpHyJqOmqobw.DllShM0LQGPH1W8WBLNsiraf0d08m6y"
Output for 7.1.10
string(60) "$2y$10$RLJBNzQpG4wsFmuiFsAluOL0Afm.YSrqK3LI5mzD00MpWz8ueaKW2"
Output for 7.1.7
string(60) "$2y$10$Y3Z9dXpvIUOznD7eIodlAu9ZUtjuXnmSkHnCCcO7jFRd8l7qK5ydu"
Output for 7.1.6
string(60) "$2y$10$Zbe5DG20urNJjSt02VkZ6eUNXqUauxEeFjtjnMxfcgIzO5ePhuqwK"
Output for 7.1.5
string(60) "$2y$10$UlPJZDEKXbPzoajZMKPWj.o8RAL.oy1JomwR3ZwpQh.HxT7puBrga"
Output for 7.1.0
string(60) "$2y$10$8w9BM1lpWQavruQ1G5M2fOEf65N7Nics7XI3NclRVWpF3MQJkw/FG"
Output for 7.0.20
string(60) "$2y$10$mh9eiceU6ABUmPHyK0LXUesmGkjKfZ7Aui3.2C0.UmuuzVB/2fObG"
Output for 7.0.6
string(60) "$2y$10$PzAubgcTCBQ3SghHLplDAefHWJxbOrGUcZLPdkL2eQoDhuSWIuYPa"
Output for 7.0.5
string(60) "$2y$10$9O3maCeEQca.OyGRtZJ5OevyXw2FUvBJJsTT4ljJpcMQ95IZoaEQy"
Output for 7.0.4
string(60) "$2y$10$QFOh1wW3drfxIOOxWdcu0uRm2LWLBGGt0GcXfUK17848dMhSgjRj6"
Output for 7.0.3
string(60) "$2y$10$.WqheGZ6n06ilKt/..DpC.xuzq0Fqiqhx5wMNeqP71X6y8GSiRy.W"
Output for 7.0.2
string(60) "$2y$10$J1I.YlWeZeY4aw6t5Ph8KeYJK7YC2POjk4lgnHzZiF1OE4r/ydn0m"
Output for 7.0.1
string(60) "$2y$10$mi.dkgfvsplxS7Rz9ofmGu9cHGKmFvaNEiJjuXooL3gZxA2b5e5/W"
Output for 7.0.0
string(60) "$2y$10$A709lRa8ZBZQ06PJwQQv9.lF4cKl7/Xm4DXK6uSYmPEdutGUkVrE."
Output for 5.6.28
string(60) "$2y$10$Cl5CsBd/4VENTY9VD2tSL.pAHnX/VEqZPaJTmLSIEZkIu/dleY8G6"
Output for 5.6.21
string(60) "$2y$10$rbrJjjelLjIN8stHAwBLT.D231NgcHNCQQge8x6ww7xdt2x3G03Qy"
Output for 5.6.20
string(60) "$2y$10$dUaJGwj9rSth1qlt7o1X8Oo3zcUTkwGreObie.FNg0ZaM7xphzkC."
Output for 5.6.19
string(60) "$2y$10$e3phhI22Elm1pwV35bJAbOhl5.xjvxnR/1C8rV5twTMMgGYa8oRHm"
Output for 5.6.18
string(60) "$2y$10$6t4s4HmCtnOFLYyH0Atbm.kmPxzGZyf0iMBSjy6iTbBwIx0ChJLVa"
Output for 5.6.17
string(60) "$2y$10$iHqymAWOFBlY4NsqQ0ubBuSHwaIPHEvd7Qh.49QAXzL7e53eqinA6"
Output for 5.6.16
string(60) "$2y$10$ZVdmFu0qzM5tUbvds16KeuFEgNzo06cnXY0TebCNy0YQTMqNcOpTu"
Output for 5.6.15
string(60) "$2y$10$MPfHsNBqwJr7vYtbN1WEhuhxGhTdGVbJwf5mSVKNpl0cXMch4tSGq"
Output for 5.6.14
string(60) "$2y$10$QFNGfu7CL6YlByRMAgq8FuRDIJTSp9/1b6kPCI.a.qQJ72nxQy7eC"
Output for 5.6.13
string(60) "$2y$10$UnTYo1Jf7Uta3G9kbF2aUO4E49Ivu22kgNQ46zz.u7BQdbtqcApeK"
Output for 5.6.12
string(60) "$2y$10$k3Sl6gLQtbguXhIn4ekEy..Kuv53wQ5lCdMwmGWPDy8yShKAWbTS."
Output for 5.6.11
string(60) "$2y$10$QsqaEAaDoMc2eShdwpu0DelTFX/Zbk3vIpHkswcXTkxqKpeTNpNUC"
Output for 5.6.10
string(60) "$2y$10$XHvT/uPb4PYc7kYv10T9PugAUnwqj9oyctq5SFgvHqWWzLWsUl3oy"
Output for 5.6.9
string(60) "$2y$10$lWtqbiQW4fZFOktDY5AJj.9pjBtEO8RI8gvhnY5S.HonYFLWDTZGq"
Output for 5.6.8
string(60) "$2y$10$4PGiGsu0XflIuXJic0yhbu1CLfA6bTZckmmpEzETk7R7LirLKkOOS"
Output for 5.5.35
string(60) "$2y$10$j7maJ4dbEiH2vp2cRGnOjeOn7LhaKxh5unXo0m/YSKfYphTWAix8e"
Output for 5.5.34
string(60) "$2y$10$npuNwv45vZ.NKhNL58qDF.5x9ME.hOyn4s/USz3K0K/8NclAFTa4q"
Output for 5.5.33
string(60) "$2y$10$l3aRA7.QWEbmNsJcpws5PeEZIY7U/eDPAu6tGvFzEzH7psXgoKiKG"
Output for 5.5.32
string(60) "$2y$10$wL9gNMKKL4b7qUELcNaYGe2cs.DML45Knx7FDHJXww3rsKLtP/VMW"
Output for 5.5.31
string(60) "$2y$10$tcDlx55gShMJsZ6UnegVsueH6nzwaMHwxS3BJ3EVOwjiqIZzns.3O"
Output for 5.5.30
string(60) "$2y$10$eNQc4mERvD9QPKfv41hiru.KyIuPHQvGECF7NbrEPLANqIXrHyosW"
Output for 5.5.29
string(60) "$2y$10$y83BGdQy0vfMQOdDE6ocHu.Flk15sFpkh839aSH9G3KLQX/KdeC0u"
Output for 5.5.28
string(60) "$2y$10$ZQPSn1uuBnb1t726fR2bguBo2aajbhq2b3QgC/1CcW/U66ecqGHeu"
Output for 5.5.27
string(60) "$2y$10$YHx7B33h8n5.e/WMeGcHmO/rYW/XG67ZB9wupKEaOiBqJ.uITuykC"
Output for 5.5.26
string(60) "$2y$10$DGAeyWqvlOvwlUOJYBletuyWyLeXctaEl1WkuHhygRZK/Rzw2Z31S"
Output for 5.5.25
string(60) "$2y$10$9oKj9hEtxdoTODR9klVdUOwDrcVv3W0CyH7meBevf9heMVmrPwhoy"
Output for 5.5.24
string(60) "$2y$10$xPeYJRJYE5RBJkExt/nOX.LIC5JuOYKOibwUGn1X39vLnU.GWt9Zi"
Output for 5.3.21 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/JOmDT on line 3
Process exited with code 255.