1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/ext
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-11-15 21:17:51 +01:00
2024-11-01 23:50:40 +01:00
2024-10-21 00:38:18 +02:00
2024-11-24 18:20:21 +01:00
2024-10-13 21:13:06 +02:00
2024-10-14 19:24:17 +02:00
2024-11-09 14:09:58 +01:00
2024-11-13 12:49:13 +00:00
2024-11-25 12:55:58 +01:00
2024-11-15 18:57:12 +01:00
2024-10-24 15:58:12 +02:00
2024-11-20 11:14:04 +01:00
2024-10-22 00:17:12 +02:00
2024-10-03 21:12:42 +02:00
2024-11-06 20:32:33 +09:00
2024-11-09 17:08:49 +01:00
2024-10-13 02:07:19 +02:00
2024-11-08 20:48:06 +01:00
2024-11-04 17:49:08 +01:00
2024-09-26 09:39:10 +02:00
2024-10-13 02:30:38 +02:00