@@ -164,6 +164,20 @@ PHP 8.4 UPGRADE NOTES
164
164
. The DSN's credentials, when set, are given priority over their PDO
165
165
constructor counterparts, being closer to the documentation states.
166
166
167
+ - Reflection:
168
+ . Added methods ReflectionClass::newLazyGhost(),
169
+ ReflectionClass::newLazyProxy(), ReflectionClass::resetAsLazyGhost(),
170
+ ReflectionClass::resetAsLazyProxy(),
171
+ ReflectionClass::isUninitializedLazyObject(),
172
+ ReflectionClass::initializeLazyObject(),
173
+ ReflectionClass::markLazyObjectAsInitialized(),
174
+ ReflectionClass::getLazyInitializer(),
175
+ ReflectionProperty::skipLazyInitialization(),
176
+ ReflectionProperty::setRawValueWithoutLazyInitialization() and constants
177
+ ReflectionClass::SKIP_*.
178
+ If you have a method or constant with the same name, you might encounter
179
+ errors if the declaration is incompatible.
180
+
167
181
- SimpleXML:
168
182
. Get methods called, or casting to a string on a SimpleXMLElement will no
169
183
longer implicitly reset the iterator data, unless explicitly rewound.
@@ -269,6 +283,8 @@ PHP 8.4 UPGRADE NOTES
269
283
See Zend/tests/use_function/ns_end_resets_seen_symbols_1.phpt.
270
284
. Implemented asymmetric property visibility.
271
285
RFC: https://wiki.php.net/rfc/asymmetric-visibility-v2
286
+ . Implemented lazy objects.
287
+ RFC: https://wiki.php.net/rfc/lazy-objects
272
288
273
289
- Curl:
274
290
. curl_version() returns an additional feature_list value, which is an
@@ -393,6 +409,20 @@ PHP 8.4 UPGRADE NOTES
393
409
. ReflectionConstant was introduced.
394
410
. ReflectionClassConstant::isDeprecated() was introduced.
395
411
. ReflectionGenerator::isClosed() was introduced.
412
+ . Multiple methods and constants related to lazy objects were introduced:
413
+ - ReflectionClass::newLazyGhost()
414
+ - ReflectionClass::newLazyProxy()
415
+ - ReflectionClass::resetAsLazyGhost()
416
+ - ReflectionClass::resetAsLazyProxy()
417
+ - ReflectionClass::isUninitializedLazyObject()
418
+ - ReflectionClass::initializeLazyObject()
419
+ - ReflectionClass::markLazyObjectAsInitialized()
420
+ - ReflectionClass::getLazyInitializer()
421
+ - ReflectionProperty::skipLazyInitialization()
422
+ - ReflectionProperty::setRawValueWithoutLazyInitialization()
423
+ - ReflectionClass::SKIP_INITIALIZATION_ON_SERIALIZE
424
+ - ReflectionClass::SKIP_DESTRUCTOR
425
+ RFC: https://wiki.php.net/rfc/lazy-objects
396
426
397
427
- Standard:
398
428
. stream_bucket_make_writeable() and stream_bucket_new() will now return a
@@ -780,6 +810,20 @@ PHP 8.4 UPGRADE NOTES
780
810
. Added pg_set_chunked_rows_size to allow to fetch results in chunk of
781
811
max N rows.
782
812
813
+ - Reflection:
814
+ . Multiple methods related to lazy objects were introduced:
815
+ - ReflectionClass::newLazyGhost()
816
+ - ReflectionClass::newLazyProxy()
817
+ - ReflectionClass::resetAsLazyGhost()
818
+ - ReflectionClass::resetAsLazyProxy()
819
+ - ReflectionClass::isUninitializedLazyObject()
820
+ - ReflectionClass::initializeLazyObject()
821
+ - ReflectionClass::markLazyObjectAsInitialized()
822
+ - ReflectionClass::getLazyInitializer()
823
+ - ReflectionProperty::skipLazyInitialization()
824
+ - ReflectionProperty::setRawValueWithoutLazyInitialization()
825
+ RFC: https://wiki.php.net/rfc/lazy-objects
826
+
783
827
- Sodium:
784
828
. Added the sodium_crypto_aead_aegis128l_*() and sodium_crypto_aead_aegis256l_*()
785
829
functions to support the AEGIS family of authenticated encryption algorithms,
0 commit comments