1
0
mirror of https://github.com/php/php-src.git synced 2026-04-05 07:02:33 +02:00
Files
archived-php-src/ext/standard/tests
Nicolas Grekas 73d02c3b3e Fix bug #79447
Partially reverts 846b647953: 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.
2020-04-23 10:30:33 +02:00
..
2020-01-09 17:42:22 +01:00
2019-10-04 12:41:49 +02:00
2020-02-24 10:20:43 +01:00
2020-01-06 14:48:46 +01:00
2020-03-25 10:51:23 +01:00
2020-04-23 10:30:33 +02:00
2020-01-13 10:09:58 +01:00
2019-05-07 04:26:03 +02:00