History log of /PHP-8.1/ext/reflection/php_reflection.stub.php (Results 1 – 25 of 57)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 8d1c0a14 22-Feb-2023 Daniil Gentili

Fix segfault when using ReflectionFiber (fixes #10439)

Closes GH-10478


# 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.1.7RC1, php-8.1.4RC1, php-8.1.3, php-8.1.2RC1, php-8.1.0, php-7.3.33, php-7.3.32
# 10a2079b 18-Oct-2021 Máté Kocsis

Remove extra space before return type

For consistency and searchability reasons

# f2ae8a33 27-Sep-2021 Nikita Popov

Fix bug #81474: Make Reflection(Attribute|Enum|EnumBackedCase) non-final

BetterReflection would like to extend these classes to provide
adaptors. As our other Reflector classes are non-f

Fix bug #81474: Make Reflection(Attribute|Enum|EnumBackedCase) non-final

BetterReflection would like to extend these classes to provide
adaptors. As our other Reflector classes are non-final, I think
it makes sense to make these non-final as well.

Closes GH-7520.

show more ...

Revision tags: php-7.3.31
# 194f1f09 02-Sep-2021 Máté Kocsis

Revert unintended tentative return type change

I accidentally made the return type of all Reflection*::getAttributes() methods tentative, even though they have already been declared natively.

Revision tags: php-7.3.30
# 2378f357 20-Jul-2021 Máté Kocsis

Use single line phpdoc in stubs where possible

# 27bb5735 20-Jul-2021 Joe Watkins

Merge branch 'master' of github.com:php/php-src

* 'master' of github.com:php/php-src:
Implement readonly properties


# 570d9b63 20-Jul-2021 Joe Watkins

Not serializable flag permeation

Revision tags: php-7.3.29
# 6780aaa5 02-Jun-2021 Nikita Popov

Implement readonly properties

Add support for readonly properties, for which only a single
initializing assignment from the declaring scope is allowed.

RFC: https://wiki.php.net

Implement readonly properties

Add support for readonly properties, for which only a single
initializing assignment from the declaring scope is allowed.

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

Closes GH-7089.

show more ...

# fc0d8983 19-Jul-2021 Máté Kocsis

Fix some smaller formatting inconsistencies in stubs

# bc39abe8 19-Jun-2021 Benjamin Eberlei

Fix #80097: Have ReflectionAttribute implement Reflector and __toString

Implement printing for ReflectionAttribute. Attributes aren't
printed as part of reflection output for other struc

Fix #80097: Have ReflectionAttribute implement Reflector and __toString

Implement printing for ReflectionAttribute. Attributes aren't
printed as part of reflection output for other structures (classes
etc) yet.

Closes GH-6117.

show more ...

# a5360e80 06-Jul-2021 Máté Kocsis

Add support for final class constants

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

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

# 069a9fa5 05-Jul-2021 George Peter Banyard

Pure Intersection types (#6799)

Implement pure intersection types RFC

RFC: https://wiki.php.net/rfc/pure-intersection-types

Co-authored-by: Nikita Popov <nikic@php.net>

Pure Intersection types (#6799)

Implement pure intersection types RFC

RFC: https://wiki.php.net/rfc/pure-intersection-types

Co-authored-by: Nikita Popov <nikic@php.net>
Co-authored-by: Ilija Tovilo <ilutov@php.net>

show more ...

# aad0d268 25-Jun-2021 Joe Watkins

Fix bug #81200 ReflectionMethod::isStatic belongs on ReflectionFunctionAbstract

# fccb7274 26-May-2021 Máté Kocsis

Do not verify the signature of ReflectionEnumUnitCase::getValue()

This method legally have a different return type (UnitEnum) from its parent's return type (mixed).

# 78ecd4a5 18-May-2021 Máté Kocsis

Declare tentative return types for ext/reflection

Closes GH-7011

# b227a722 21-May-2021 Joe Watkins

ReflectionFunctionAbstract::getClosureUsedVariables

Make a distinction at compile time between bind types for static
variables

getStaticVariables remains unchanged

ReflectionFunctionAbstract::getClosureUsedVariables

Make a distinction at compile time between bind types for static
variables

getStaticVariables remains unchanged

Fixes #80071

show more ...

# 532c60cb 06-May-2021 Máté Kocsis

Add support for tentative return types of internal methods

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

Closses GH-6971

# 50b4a7ad 07-May-2021 Nikita Popov

Property handle unset name on ReflectionClassConstant

While the typed property ensures that the value is a string,
we should make sure that we handle an unset property gracefully.

Property handle unset name on ReflectionClassConstant

While the typed property ensures that the value is a string,
we should make sure that we handle an unset property gracefully.

Do this by throwing the same error we would normally throw if
you access an uninitializde typed property.

show more ...

Revision tags: php-7.3.28
# c276c16b 26-Apr-2021 Aaron Piotrowski

Implement Fibers

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

Closes GH-6875.

# 533a6bcb 21-Apr-2021 Máté Kocsis

Get rid of private final methods (#6892)

Revision tags: php-7.3.27, php-7.3.26, php-7.3.26RC1, php-7.3.25, php-7.3.25RC1, php-7.3.24, php-7.3.24RC1, php-7.3.23, php-7.3.23RC1, php-7.3.22, php-7.3.22RC1, php-7.3.21, php-7.3.21RC1, php-7.3.20, php-7.3.20RC1
# 269c8dac 10-Jun-2020 Ilija Tovilo

Implement enums

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

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

Closes GH-6489.

# 2ccf6309 15-Feb-2021 Nikita Popov

Used typed properties for reflection $name and $class

These are read-only properties, and Reflection makes sure to assign
only strings.

# 5b5bfd6b 14-Feb-2021 Máté Kocsis

Generate class entries from stubs for phar, posix, pspell, readline, reflection, session, shmop

Closes GH-6692

# 82f9e004 31-Dec-2020 Christoph M. Becker

Fix ReflectionClass::getConstants() stub

If `zval_update_constant_ex()` fails, an exception has already been
thrown, so we clarify that in the implementation as well.

Closes GH-

Fix ReflectionClass::getConstants() stub

If `zval_update_constant_ex()` fails, an exception has already been
thrown, so we clarify that in the implementation as well.

Closes GH-6557.

show more ...

123