3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $opcii = [ 'cost' => 12 ]; $password = password_hash('lozinka', PASSWORD_DEFAULT, $opcii); echo $password;
based on dK4s6
Output for 7.2.0
$2y$12$D225g6LY11l5PvVOzH90DOK8vRNLYNrLxj29miJ9Aw3WbeN4i90Aq
Output for 7.1.10
$2y$12$tEkqzSLaZgAhSqRIeadFEOyc.v/vOYfFG61Rgg7Cyoj86uxLNGVOe
Output for 7.1.7
$2y$12$7W/d2QOjTF9iSqpDfUXUfO5b0o6zBytGXVaZHEL8i9.0eUDDC0/Rq
Output for 7.1.6
$2y$12$vjEKzUWHCtDyjjncT3uG/.Q/xd/FlL1Z.REs8rvOOElF7QrvAkUCm
Output for 7.1.5
$2y$12$OXbBPYNUw9gNGLXyEowxGuvGMf06.Xs/3jnLmY5yI/ahkeu18ddVq
Output for 7.1.0
$2y$12$pshWiFekigFoMfijQDwKxOkIOnu8X.qKWLz8ac5XezlY0d09Za5xe
Output for 7.0.20
$2y$12$qQLCclHExHG386A8bPpvbeokt8TwPnwr7ygU8RnOgDEWBUC2NbgyW
Output for 7.0.6
$2y$12$NepPVMxPk4faYLHgp7O.K.55dfkIJSptA8XwSdVrJl.76EVYNjA4S
Output for 7.0.5
$2y$12$BrPn12FjCOruEWIlmkMf9u4jeWQCLuL4/9gx9o4tv5sr1D3W20Mmq
Output for 7.0.4
$2y$12$AnfjY9wSqy0uUjnBWRkXTuCcVKu0Q8JxhDUsMj.qVkbhv3hmozs.q
Output for 7.0.3
$2y$12$p1ij69qx0dvrPdBlNCIVKONG9LdJtMemVfPFi62YkZOh.A2n2YG7i
Output for 7.0.2
$2y$12$3GeHsSIiiSxTouC1SrbiEelkHVzRHE1B8.dcitpknJzhO3cv7hThW
Output for 7.0.1
$2y$12$Ekr7a4P5KTVTH2T3W/nuIuWFRCaSSKQvt0j6enj.OHLduWb1t3Y1.
Output for 7.0.0
$2y$12$WmUlHQPggGwU8iOJ89mTE.bh.c/c7di5hTLUKHthTGqQWJVsIfCs.
Output for 5.6.28
$2y$12$QtlPmgWNa0ceDb4ksienCe0B6snM2UCf.LvWdq823okpzZODMiue.
Output for 5.6.21
$2y$12$OBipDI7Bi.3Q.HyZz4lXVu8hA6MXo2RseGFxhpRBzAWO3WmO6DPc2
Output for 5.6.20
$2y$12$nYO3/deQoNseRNXgqmPoBeb3UEhRKBi3YE2sZC4p9RqDnNJjW2a5y
Output for 5.6.19
$2y$12$OO4IH5m/wqX.musWZ76X4uB0LTmPexFeMTfVQwzzShkxhU3ql/8Jy
Output for 5.6.18
$2y$12$.X40C87oOMV3UefHqCJVGO4m0u86YwaOzXsR6q1Sp0cS4E5Nzk6Qe
Output for 5.6.17
$2y$12$WlpD4qEzLKqdwuIw0vuZHOsbAARPbZa0Jk12QjWMfSHIFQI/6x2ye
Output for 5.6.16
$2y$12$phSRB5Ep1k2JslWNEoN5i.a9xeYWwLFL.jSGZlzCnY1dCdePvMr9.
Output for 5.6.15
$2y$12$3ps/GWzqFO.hn63tPBIwnulxnCSl.dnc2.ZY2a3yUdP2Gn.MqTG0W
Output for 5.6.14
$2y$12$mhM7i5no9CziBlpOnIlqQOVU9KKzYS54XiK8AnIAR48buw0o2vvWq
Output for 5.6.13
$2y$12$REQQLOh6bfzdEfmsY7nVxeVXJUls5SKi9hfMAfYn0LiRonrdm7J9C
Output for 5.6.12
$2y$12$RTalgfg5PzgZGle8XmdFvecgmroHlIeV8PlLiJG5BUbA3GL9nxhNG
Output for 5.6.11
$2y$12$KWt8vSG5.agx8LpD4S.W9O42kgyMmb9EMcMQuTJ1CFgFE98436Auu
Output for 5.6.10
$2y$12$N6DoaCgJzj/LuVbKXGafMOFEKYHiI4Vkj5nVFlFlKlk3gMtm2fRgS
Output for 5.6.9
$2y$12$41ZNu7TMWy7mI4YtHsZT.eEQK/PtmQ5RBvOXCmrmrAIGXQCJeK86u
Output for 5.6.8
$2y$12$0HOHsWuUyjHMvskjAaAi/e4vdj6mFmnmxZd90FYhDpmJKtGw66Z9S
Output for 5.5.35
$2y$12$VRGE4hZn.tLz8JpExaCiWORVfwbBLy55gmOSXkfXHXX98iGArtoHO
Output for 5.5.34
$2y$12$Jru3emmGMvtsQKUZtHe63O6j7i.4xd5fKZ5EjVov2.Ay1hhmajQp6
Output for 5.5.33
$2y$12$xZi0YTN3jpgaeB5p.0nzKuXLTzOnUE08uWo0F60o62ZUVZVkL9j7i
Output for 5.5.32
$2y$12$8Jjjp8MNTnEOjcsrZU8L7.NS3g7Q0A0mpVPlaL0/c.CxBcQhAUyEG
Output for 5.5.31
$2y$12$FfIm0B3MDZEQ39cBuTZa8eeBLu6pD45T02JCUu8xmh6zB.a8XEJsm
Output for 5.5.30
$2y$12$4JB6JYsoXYgjZ9FEGYn2UeMTz9dpvSI8szQt.vY.BcfqV7Gua/s2e
Output for 5.5.29
$2y$12$bxTd1M6fWQ.HfwBxvuyRAOWVmUH/xVXtMBSgjvNjP3MTPARCmeev2
Output for 5.5.28
$2y$12$TQ6oWd6v.PuuHBD2mXhNNeBnm3DLmHC2HhycWkudfcZapomMp4WL.
Output for 5.5.27
$2y$12$vPeDPp15KBTJmpnk8OTevO7BtWYlj3GVj6RJtxvzLO6jGt37DmlO6
Output for 5.5.26
$2y$12$JVcb2i7zgvcsqzrUpF0pOOvZ2lw42SUMSdsj1oCPTgvBLy6b4L9Cy
Output for 5.5.25
$2y$12$jaVpm23xtBAg8Q6USSJbXuCBx4o8scaEEZJdBy5r6jUSVZmPT/dhS
Output for 5.5.24
$2y$12$cZ54UoxWP8bu40sWBBcWVOfI8BQF3qtOmQkOg1mW6GcU714rr3tD2
Output for 5.4.10 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/Djv0t on line 7
Process exited with code 255.
Output for 5.3.20 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/Djv0t on line 3
Process exited with code 255.