mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
Add UPGRADING note about default object from empty value
Fixes bug #75921. [ci skip]
This commit is contained in:
parent
aed4f6e849
commit
d3d85cbcc1
@ -42,6 +42,9 @@ PHP 7.4 UPGRADE NOTES
|
||||
with the STREAM_OPTION_READ_BUFFER option. Custom stream wrapper
|
||||
implementations may need to implement the stream_set_option() method to
|
||||
avoid a warning (always returning false is a sufficient implementation).
|
||||
. The "creating default object from empty value" warning is now consistently
|
||||
thrown if a falsy value is promoted into an stdClass object. Previously some
|
||||
cases like `$null->prop[0] = $val` missed this warning.
|
||||
|
||||
- BCMath:
|
||||
. BCMath functions will now warn if a non well-formed number is passed, such
|
||||
|
Loading…
Reference in New Issue
Block a user