History log of /PHP-8.4/ext/reflection/php_reflection.stub.php (Results 1 – 25 of 83)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# a8151fc5 30-Oct-2024 Arnaud Le Blanc

Fix the name of the initializer parameter of ReflectionClass::resetAsLazyGhost()

Closes GH-16758


# 54a40f3b 10-Oct-2024 Arnaud Le Blanc

Add ReflectionProperty::isLazy()

Closes GH-16342


# 76e5d82e 02-Oct-2024 Daniel Scherzer

Fix GH-16162: No ReflectionProperty::IS_VIRTUAL

Closes GH-16166


# 2fce0bb8 16-Sep-2024 Ilija Tovilo

Implement ReflectionProperty::isFinal()

Closes GH-15919


# d75a289f 11-Sep-2024 Ilija Tovilo

Implement ReflectionProperty::hasHook[s]

Closes GH-15844


# 2ced1c92 11-Sep-2024 DanielEScherzer

Add `ReflectionProperty::isDynamic()` as an alternative to `isDefault()` (#15758)

Dynamic properties are generally referred to as "dynamic" properties, while
non-dynamic properties are n

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

show more ...


# 58aa6fc8 19-May-2023 Arnaud Le Blanc

Lazy objects

RFC: https://wiki.php.net/rfc/lazy-objects

Closes GH-15019


# 8df557ac 27-Aug-2024 Ilija Tovilo

[RFC] Asymmetric visibility v2 (GH-15063)

Co-authored-by: Larry Garfield <larry@garfieldtech.com>


# 780a8280 14-Jul-2024 Ilija Tovilo

[RFC] Property hooks (#13455)

RFC: https://wiki.php.net/rfc/property-hooks

Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>


# 29f98e74 10-Jul-2024 Tim Düsterhus

Replace `@deprecated` by `#[\Deprecated]` for internal functions / class constants (#14750)

Co-authored-by: Gina Peter Banyard <girgias@php.net>
Co-authored-by: Niels Dossche <7771979+ni

Replace `@deprecated` by `#[\Deprecated]` for internal functions / class constants (#14750)

Co-authored-by: Gina Peter Banyard <girgias@php.net>
Co-authored-by: Niels Dossche <7771979+nielsdos@users.noreply.github.com>

show more ...


# 8a872062 29-May-2024 Tim Düsterhus

reflection: Add `ReflectionGenerator::isClosed()` (#14358)

* reflection: Add `ReflectionGenerator::isClosed()`

see https://github.com/php/php-src/pull/14167#issuecomment-2133641998

reflection: Add `ReflectionGenerator::isClosed()` (#14358)

* reflection: Add `ReflectionGenerator::isClosed()`

see https://github.com/php/php-src/pull/14167#issuecomment-2133641998

* Fix test expectation

* Drop `{{{` / `}}}` comments around `ReflectionGenerator::isClosed()`

show more ...


# b5ffac7f 30-Apr-2024 Tim Düsterhus

Add ReflectionClassConstant::isDeprecated() (#14086)

This is in preparation for php/php-src#11293 and for consistency with
ReflectionConstant::isDeprecated() that was added in php/php-sr

Add ReflectionClassConstant::isDeprecated() (#14086)

This is in preparation for php/php-src#11293 and for consistency with
ReflectionConstant::isDeprecated() that was added in php/php-src#13669.

show more ...


# e23440e5 11-Mar-2024 Ilija Tovilo

Implement reflection constant

Fixes GH-13570
Closes GH-13669


# 577db994 13-Mar-2024 Máté Kocsis

Verify stub aliases in CI (#13682)

In the same time, let's not verify implementation aliases since they may now legitimately differ from their aliased function/method counterparts (think abo

Verify stub aliases in CI (#13682)

In the same time, let's not verify implementation aliases since they may now legitimately differ from their aliased function/method counterparts (think about the ext/dom refactoring where e.g. many return type declarations have changed). Additionally, unnecessary `@no-verify` tags are cleaned up.

show more ...


# 3b5986db 09-Dec-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Implement GH-12908: Show attribute name/class in ReflectionAttribute dump

This is consistent with how many other Reflection classes have a name
field, and it makes debugging easier.

Implement GH-12908: Show attribute name/class in ReflectionAttribute dump

This is consistent with how many other Reflection classes have a name
field, and it makes debugging easier.

Closes GH-12908.
Closes GH-12917.

show more ...


# 47789969 04-Feb-2024 Máté Kocsis

Revert "Declare the missing ReflectionMethod::$name property"

This reverts commit b0e83aabec6cdc30950a69068e82ec86fd68e564.
The property is inherited from ReflectionFunctionAbstract.


# b0e83aab 03-Feb-2024 Máté Kocsis

Declare the missing ReflectionMethod::$name property


# e8d8a5fe 28-Oct-2023 Jorg Adam Sowa

Typed constants in reflection extension (#12378)


# f41220fe 13-Jul-2023 Máté Kocsis

Implement ReflectionMethod::createFromMethodName()


# 414f71a9 16-Apr-2023 Máté Kocsis

Typed class constants (#10444)

RFC: https://wiki.php.net/rfc/typed_class_constants

Co-Authored-By: Ben <7127204+moliata@users.noreply.github.com>
Co-Authored-By: Bob Weinand <31

Typed class constants (#10444)

RFC: https://wiki.php.net/rfc/typed_class_constants

Co-Authored-By: Ben <7127204+moliata@users.noreply.github.com>
Co-Authored-By: Bob Weinand <3154871+bwoebi@users.noreply.github.com>
Co-Authored-By: Ilija Tovilo <ilija.tovilo@me.com>

show more ...


# 8d1c0a14 22-Feb-2023 Daniil Gentili

Fix segfault when using ReflectionFiber (fixes #10439)

Closes GH-10478


# 01616080 24-Jan-2023 Máté Kocsis

Fix GH-10259 ReflectionClass::getStaticProperties doesn't need null return type (#10418)


# 93f11d84 02-Sep-2022 Nicolas Grekas

Fix GH-8932: Provide a way to get the called-scope of closures (#9299)

Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>


Revision tags: php-8.2.0RC1, php-8.1.10, php-8.0.23, php-8.0.23RC1, php-8.1.10RC1, php-8.2.0beta3, php-8.2.0beta2, php-8.1.9, php-8.0.22
# e4d79ce2 23-Jul-2022 Máté Kocsis

Declare ext/reflection constants in stubs (#9111)


Revision tags: php-8.1.9RC1, php-8.2.0beta1, php-8.0.22RC1, php-8.0.21, php-8.1.8, php-8.2.0alpha3, php-8.1.8RC1, php-8.2.0alpha2, php-8.0.21RC1, php-8.0.20, php-8.1.7, php-8.2.0alpha1, php-7.4.30
# 2ce2aff5 02-Jun-2022 Sam

Better return types for `getBackingType` (#8687)

The only backing types for Enums are int and string. The proper return type for ReflectionEnum::getBackingType() is thus null|ReflectionNamed

Better return types for `getBackingType` (#8687)

The only backing types for Enums are int and string. The proper return type for ReflectionEnum::getBackingType() is thus null|ReflectionNamedType.

See also https://github.com/php/doc-en/pull/1608

Closes GH-8687

show more ...


1234