1
0
mirror of https://github.com/php/php-src.git synced 2026-04-03 22:22:18 +02:00
Files
archived-php-src/ext/standard/tests/serialize
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
..
2019-04-09 17:27:02 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:46:15 +02:00
2017-02-03 18:52:57 +01:00
2017-09-11 12:38:20 +02:00
2017-02-03 18:52:57 +01:00
2016-10-23 22:26:25 +02:00
2017-02-03 18:52:57 +01:00
2019-09-25 10:57:03 +02:00
2016-02-02 09:56:57 +01:00
2016-08-17 00:47:02 -07:00
2016-08-17 01:01:03 -07:00
2016-08-17 00:45:57 -07:00
2017-01-01 21:11:01 +01:00
2018-07-02 17:27:43 +02:00
2017-07-04 19:06:16 -07:00
2017-03-23 22:06:46 +01:00
2017-09-11 12:38:20 +02:00
2017-08-12 13:11:35 +02:00