1
0
mirror of https://github.com/php/php-src.git synced 2026-03-29 11:42:17 +02:00
Files
archived-php-src/Zend/tests
Arnaud Le Blanc c310be09ed Fix setRawValueWithoutLazyInitialization() and skipLazyInitialization() on initialized proxy
Normally, accesses to properties marked as lazy trigger the object's
initialization, or forward to a real instance if the object is an initialized
proxy.

The purpose of ReflectionProperty::setRawValueWithoutLazyInitialization() and
ReflectionProperty::skipLazyInitialization() is to bypass auto-initialization,
so that some properties can be initialized without triggering initialization.

However, when the object is an initialized proxy, these methods would
unexpectedly update the proxy.

Here I make sure that these methods have an effect on the real instance, when
the object is an initialized proxy.

Fixes GH-16344
2024-11-26 14:04:58 +01:00
..
2024-06-10 22:58:25 +02:00
2023-10-18 17:34:10 +02:00
2023-10-18 17:34:10 +02:00
2023-10-18 17:34:10 +02:00
2023-10-18 17:34:10 +02:00
2023-10-18 17:34:10 +02:00
2023-10-18 17:34:10 +02:00
2023-10-18 17:34:10 +02:00
2023-10-18 17:34:10 +02:00
2023-10-18 17:34:10 +02:00
2024-07-14 11:55:03 +02:00
2022-09-19 13:12:49 +03:00
2023-04-16 15:34:56 +02:00
2023-04-16 15:34:56 +02:00
2023-03-06 15:03:19 +01:00
2024-01-14 19:12:41 +01:00
2024-01-21 23:24:00 +01:00
2024-01-21 23:24:00 +01:00
2024-01-21 23:24:00 +01:00
2024-01-21 23:24:00 +01:00
2024-01-21 23:24:00 +01:00
2024-03-26 12:33:44 +01:00
2024-03-26 12:33:44 +01:00
2024-03-26 12:33:44 +01:00
2023-10-18 17:34:10 +02:00
2023-10-18 17:34:10 +02:00
2023-07-25 17:54:14 +02:00
2022-09-26 11:43:38 +03:00