diff options
author | Nicolas Grekas <nicolas.grekas@gmail.com> | 2020-04-16 00:11:38 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-04-23 10:30:33 +0200 |
commit | 73d02c3b3eb8b828a1cc7ae04a4cc4f4875c3ddd (patch) | |
tree | ce843e9b79af1d8feb4c29ef17e3b1183e268c19 /ext/pdo_mysql/php_pdo_mysql_int.h | |
parent | c705079b12984dab1901a32b4a0609f2ab8f449a (diff) | |
download | php-git-73d02c3b3eb8b828a1cc7ae04a4cc4f4875c3ddd.tar.gz |
Fix bug #79447
Partially reverts 846b6479537a112d1ded725e6484e46462048b35: instead of
throwing, this skips uninitialized typed properties when serializing objects.
This makes serialize with __sleep() behave the same as serialize()
without __sleep().
As in the non-__sleep() case, unserialize(serialize($x)) identity
may not be preserved due to replacement of uninitialized/unset
properties with default values. Fixing this will require changes to
the serialization format.
Closes GH-5396.
Diffstat (limited to 'ext/pdo_mysql/php_pdo_mysql_int.h')
0 files changed, 0 insertions, 0 deletions