Doc #81299 [NEW]: password_hash() documentation is missing PHP 8 changes
| From: | enumag at gmail dot com | Date: | Mon, 26 Jul 2021 09:48:43 +0000 |
| Subject: | Doc #81299 [NEW]: password_hash() documentation is missing PHP 8 changes | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-18991@lists.php.net to get a copy of this message | ||
From: enumag at gmail dot com
Operating system: any
PHP version: 8.0.8
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:password_hash() documentation is missing PHP 8 changes
Description:
------------
In PHP 8 password_hash seems to be change to always return string or
throw an error. Meaning it can no longer return false on null.
See https://3v4l.org/dtcXu
This change however is not documented:
https://www.php.net/manual/en/function.password-hash.php
--
Edit bug report at https://bugs.php.net/bug.php?id=81299&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=81299&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=81299&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=81299&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=81299&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=81299&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=81299&r=support
Expected behavior: https://bugs.php.net/fix.php?id=81299&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=81299&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=81299&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=81299&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=81299&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=81299&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=81299&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=81299&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=81299&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=81299&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=81299&r=mysqlcfg