3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php declare(strict_types=1); $hashedPassword = password_hash($_POST['psasword'], PASSWORD_BCRYPT); echo $hashedPassword;
based on Srdfd
Output for 7.0.0 - 7.2.0
Notice: Undefined index: psasword in /in/OBu4Q on line 4 Fatal error: Uncaught TypeError: password_hash() expects parameter 1 to be string, null given in /in/OBu4Q:4 Stack trace: #0 /in/OBu4Q(4): password_hash(NULL, 1) #1 {main} thrown in /in/OBu4Q on line 4
Process exited with code 255.
Output for 5.6.28
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$7152MIxoQQ4NTi0ZSXpsa.0dYiB8Ofvdsmno8qI8K9yC4/pcFaoY2
Output for 5.6.25
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$7MAURku2LdnRn/CzMOpwv.zZfEhgiTrwaBijs8ZnRWO5aI5qLgMFy
Output for 5.6.24
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$avgWhLvbnhLHNAVSyF95fuvK2APXOZhT8cmXRAZRbNOzWcC7wz7pG
Output for 5.6.23
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$5Q5n65qEgwg5FQo3oe.Q2uJpDQ68zT8mI9dhu3npyhNXRCBqD/N7i
Output for 5.6.22
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$ftwHO7B.IF89GUXLL04xZ.QVdfK81aDqW9AYUriiGYz/lApktUPkC
Output for 5.6.21
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$fY8XIs0Lh09ocUdEs1ZIYeaFFU4YU8PdB1xy2.jb7BGEk.PxrWhHa
Output for 5.6.20
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$0fUlA6wsALvIZYL/Fm4GVuIDYGZ0vMpOGXU92NKvbfPN8y.0qmto2
Output for 5.6.19
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$.ACKP.q0Eu8O23bJRH5oiOO4kwsqwdYWG7EgyXPE/6WAZOYebsllm
Output for 5.6.18
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$z/wntY1wjIgmRnZnmgs0C./qBjVj1f9GBBHmoRrOrS2bVZC30Zafu
Output for 5.6.17
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$Z10bzk3Ra/mehv4ucxLuae7rO55amL2z/ga7R.EKZs1Ki4UgzTz1K
Output for 5.6.16
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$MfB.FcmeeRabm86G9EhRau4wQz/AG4wNB3RUyb4PNdM1DFpFPyrd.
Output for 5.6.15
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$eeXmzwAU6N6yHZry3AIL7.sRPc9n2I4rsX6J6S0fMAL592znyI1Vi
Output for 5.6.14
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$awAxZ10QMoL8qKxFiCANoe/KovdzatyIsdhBqknHNzWxFJRJSgOcq
Output for 5.6.13
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$WILEUTldmkTDS8YhtRAarOLIh9W1vRQtqSrns0ZuDlK3cck8W1aMe
Output for 5.6.12
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$TMSXBkZDi53e0bkTBRC/I.tE2mm438n6ExVJYXlMBlrk2AY1kE48y
Output for 5.6.11
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$fPJWJhUCeKiWVDcb6SFdTeKLgwiDDWwb5CeIglHu8CscSgfXKolOi
Output for 5.6.10
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$Q4hfFKmpjjC5ALCfxZWzBOvuPCIVi.dmiDt5Ci9aj1FVXcUMZyulO
Output for 5.6.9
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$kxvZeohVGX3r5zXKvGnGuu.IXgMtNUaidDMxZAV2wb.Vdcyh0u5uO
Output for 5.6.8
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$xLYb/a5ePv0x7PdJztk08evRsyeARLa9X894G6YbbMb4ThJZv4KcG
Output for 5.6.7
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$AviQlR6PFC3MjgKMCmiYmubV5KSupkSpiJeOPXTLOyn1SuRTqIwfy
Output for 5.6.6
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$fIDEUxC7ULRXUBNBZfBdwONqXS4zYZEyz4KHkedYG.pH2hP9wem4a
Output for 5.6.5
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$TEdmAYrbT.G39NhuuVxiWu5iOLUb22tMNmtY1Lo8cOlrLH9346K2y
Output for 5.6.4
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$TBaHdMSc9uc4t8uIBwbjs.vHLU5Qjs/kG29NHX07GmTJKEKe88.RK
Output for 5.6.3
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$foC7Gfs9EyPhOl2oEIb4Q.XUP7PKtASCHZNyUF7jfq66frGj/aEVa
Output for 5.6.2
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$Y3hKuMA5zrY4qjLn8GhAA.HHuza0wAREpp1QO2TnRL4OdyLF4rySe
Output for 5.6.1
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$emSPPaW7QOEiplnkvJbN7.gd3YsPKtiTv3xYS08x8v06O/g1rJGjS
Output for 5.6.0
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$oj/5bIsPCTX68os28idDFeUivPdcQkKQThXQLjf6ZPvsV2xludb2C
Output for 5.5.38
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$zSaHTD7peJ7gO9s/okyGOedXz4lTbjIRXK4WUV4dpyRc2uyZPPR6K
Output for 5.5.37
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$8CwQg0f5J8gPg3opfs/wROYr5B4Wh61C0MFd57Q/NPJ.OotzI.iNG
Output for 5.5.36
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$b/CeWsXa0tQdjkS2Vti5MeXufdEYsDi/pH1C6hUmDriLq./fF8VPK
Output for 5.5.35
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$oVdhwe/5nDdn8/4W1hWAt.Z8NYUmAsQb2gP.g2Y.uXzFiXpicw7fW
Output for 5.5.34
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$8LQlE6THupuCK9Ao5ERFKuLScP6McbyAfQQmShl9EoIvvyR/oB3BC
Output for 5.5.33
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$iqjOgu02i.sPwovEY9i9/Oggb3suw5kOGAE6FomJJgajRTJMSCoam
Output for 5.5.32
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$1RvKZ.S2px4EKSFcu2854eP5SDYE5F3saUh1nd1AHoToFsNqMWQW.
Output for 5.5.31
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$0Pf/DNwSvkMiE8qRduJG1ONoxHsAq/IksmPdr/WeL6mqMc8RxSsqG
Output for 5.5.30
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$6YuTgIm9UJ4GSjxshSBPJusPsE8zg8xUNoVvsTpH7ACJbuBpfW2ke
Output for 5.5.29
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$ZT7diaFFVlIQ6f3dTBRLqu9Cmfdx7v3r5kJJeJYysWLuvJ7.DBO/W
Output for 5.5.28
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$y.R7OXD.GY/IUlM53e6SHOsEBKr4RgGcFcFm.EM3iKfypXtvwVlae
Output for 5.5.27
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$yiuy3DjJOu8ixqqB.D1jb.46kzec1mccdflHUlfqnqDdF8nfiZa9e
Output for 5.5.26
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$cuuch/fgVJHSsH2jhmOo6egfp7MvNHrfueIRu0LhEg2pRvQq0Bvn6
Output for 5.5.25
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$WhXxnGicCkYX.U.z/VBY4ez.ro9vPqpwWGWkL3vM8v0R3VzAar2Ta
Output for 5.5.24
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$YaXkcKqDJAJkT/ZYpkyANOQ/E77WWba/y3lydIQN9CLryGQ/hAfvG
Output for 5.5.23
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$aY9nuBt.x39oum7DzjdkIuBk1byegUHKGlu.ZkmFgFSpWTktlcViC
Output for 5.5.22
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$avUO6skDO2bf5my3koSW6.Ug6NYi/zEApDzRLTyGhGSDfub701Eym
Output for 5.5.21
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$WId64AjsUUj/s9udn.7z1uhYHe0w8qFSUMcutEgUgJb4c/5wNU4xK
Output for 5.5.20
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$QveEqJX0ZK09pTXY8VHxnebXgoXNHWRy/JF0Gg.c53f/HWZnQR.Hy
Output for 5.5.19
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$KSwthXkfm/JfPaBa5PNnUOBrC07OnusY/4rjAZmONeS.DFpwi3ekO
Output for 5.5.18
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$nGHs.JmK8bUYqQd.NHrJL.gi7yoAY54wv/pZIurLpbwlfDhyw8Nbq
Output for 5.5.16
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$6Oh6UQm6vFLsPjE1Bw0HT.OVmIdM2nK5tl9zRcGt5zOtNMIVPyETy
Output for 5.5.15
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$mNu0b.t7Nx9Kh9oEsXyzs.luk2YU1l7oVq9ntiJe7Nb0JRb4LCDmW
Output for 5.5.14
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$gvKPZi7E5iiQY1S5H.UVGOrUqoH2ium/M7jXO9FlHIEaWN6VkkMI.
Output for 5.5.13
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$HgcYdSmOWdqoBLzoha5GseLKHcEfKPbMHj6LOhf9pt2mm8PdgSfN6
Output for 5.5.12
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$PHCla/uq7FsVj/8FB4Fx.eRTWxH46uOxN9TR9PZ8qcO57mtTm3Veu
Output for 5.5.11
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$IlRRmnhSUiCPGdtcu.OIz.cyvi2F.v9uriC9uzq4jjYZYNWhd7wvy
Output for 5.5.10
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$3Tvr.8JZD9qu/QPu61n.euY5hSc4S4XClSaGFVgxdQA8dHhQ2eISG
Output for 5.5.9
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$6MrlVRRAGDPBTWc2S316gO2lBwxOwdS6NKkUWDbkeEiRQK7eVFvM6
Output for 5.5.8
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$uQ1nC4VsyZGzWDcrbzAXtOh3ct9JGa2gj1AHCrqk39epNQFiI4JZ6
Output for 5.5.7
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$d4aYL9lh6w5ACsNGJ7nqpOWLG0z6kCXD0sdYJBxC3S583tqgZZpOy
Output for 5.5.6
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$a0XYEvmJs3N2jEktA1hK1O51629RYE3rMQ9.GdGI3mRAfn70Lybra
Output for 5.5.5
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$vEHYl2JVVnV9bwG3ZnjgDufsAOlj7ISSWFZmquxf8fBuggcnFm9iy
Output for 5.5.4
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$lGyEtMMk3M3KgGC8yvoEd.AGvJSDXMKl/EW4uGbYdNUexhkBR7uEa
Output for 5.5.3
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$u.zbp2VFv53XKiPKH7yUQu.SLH0Wh1eYe1BvPQsNw0xygLA5tvxvy
Output for 5.5.2
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$CCV2lk3TFQhCZlVUUQobEOg8uFkI2j1mZ4tcb0c.MALeC8JtjIWCa
Output for 5.5.1
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$YY8rQsmI9GebQjwoOOomPe9uJzC1iVV5CY0qWlbVUP3HItpl7ntO.
Output for 5.5.0
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Notice: Undefined index: psasword in /in/OBu4Q on line 4 $2y$10$7OyIBkyCo9SgAU3mEqzrQ.Nw8ZAF5H7IdEjI09dAtPth3w.iYbq8m
Output for 5.4.0 - 5.4.45
Warning: Unsupported declare 'strict_types' in /in/OBu4Q on line 2 Fatal error: Call to undefined function password_hash() in /in/OBu4Q on line 4
Process exited with code 255.