Skip to content

Commit

Permalink
[PHP 8.3] ValueError's previous exception is now set in `password_h…
Browse files Browse the repository at this point in the history
…ash()`
  • Loading branch information
alexandre-daubois committed Dec 3, 2024
1 parent 34f4834 commit 2aed003
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions reference/password/functions/password-hash.xml
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,14 @@
</row>
</thead>
<tbody>
<row>
<entry>8.3.0</entry>
<entry>
<function>password_hash</function> now sets the underlying
<exceptionname>\Random\RandomException</exceptionname> as the previous exception when
a <exceptionname>ValueError</exceptionname> is thrown because the salt generation fails.
</entry>
</row>
<row>
<entry>8.0.0</entry>
<entry>
Expand Down

0 comments on commit 2aed003

Please sign in to comment.