php-src/ext/reflection
DanielEScherzer 2ced1c926b
Add ReflectionProperty::isDynamic() as an alternative to isDefault() (#15758)
Dynamic properties are generally referred to as "dynamic" properties, while
non-dynamic properties are not commonly referred to as "default" properties.
Thus, the existing method `ReflectionProperty::isDefault()` has a non obvious
name; while an alias could be added for `isNotDynamic()`, a new `isDynamic()`
method seems cleaner. The new method returns the opposite of `isDefault()`;
dynamic properties are not present on the class by default, and properties
present by default are not added dynamically.

Closes GH-15754
2024-09-11 10:51:38 +02:00
..
tests Add ReflectionProperty::isDynamic() as an alternative to isDefault() (#15758) 2024-09-11 10:51:38 +02:00
config.m4 Autotools: Normalize and quote all PHP_NEW_EXTENSION arguments (#15144) 2024-07-29 00:14:59 +02:00
config.w32 Remove HAVE_* for always available extensions 2019-04-14 11:44:12 -03:00
CREDITS Change some permissions from 755 to 644 2018-08-28 23:26:49 +02:00
php_reflection.c Add ReflectionProperty::isDynamic() as an alternative to isDefault() (#15758) 2024-09-11 10:51:38 +02:00
php_reflection.h Lazy objects 2024-08-30 17:30:03 +02:00
php_reflection.stub.php Add ReflectionProperty::isDynamic() as an alternative to isDefault() (#15758) 2024-09-11 10:51:38 +02:00
php_reflection_arginfo.h Add ReflectionProperty::isDynamic() as an alternative to isDefault() (#15758) 2024-09-11 10:51:38 +02:00