History log of /php-src/ext/reflection/php_reflection.c (Results 26 – 50 of 1058)
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


# ae164716 19-Feb-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-10623: ReflectionFunction::getClosureUsedVariables() returns empty array in presence of variadic arguments

The code was missing the handling for the RECV_VARIADIC instruction.
Add

Fix GH-10623: ReflectionFunction::getClosureUsedVariables() returns empty array in presence of variadic arguments

The code was missing the handling for the RECV_VARIADIC instruction.
Additional regression test for GH-10623

Co-authored-by: Fabio Ivona <fabio.ivona@defstudio.it>

show more ...


# a11e9c9d 11-Feb-2023 Michael Voříšek

Simplify php_reflection.c, class name cannot start with backslash (#10536)

* fix comment typo

* (normalized) class name never start with backslash


# 50a2de78 02-Nov-2022 George Peter Banyard

Do not build unnecessary FCI in Reflection


# 7936c808 23-Jan-2023 Máté Kocsis

Fix GH-8329 Print true/false instead of bool in error and debug messages (#8385)


# e186765a 29-Sep-2022 Ilija Tovilo

Throw in ReflectionMethod::__construct() when initialized with private parent method

Fixes GH-9470
Closes GH-9640


# a01dd9fe 14-Sep-2022 Bob Weinand

Revert "Port all internally used classes to use default_object_handlers"

This reverts commit 94ee4f9834743ca74f6c9653863273277ce6c61a.

The commit was a bit too late to be included i

Revert "Port all internally used classes to use default_object_handlers"

This reverts commit 94ee4f9834743ca74f6c9653863273277ce6c61a.

The commit was a bit too late to be included in PHP 8.2 RC1. Given it's a massive ABI break, we decide to postpone the change to PHP 8.3.

show more ...


# 1435fc62 02-Sep-2022 Ilija Tovilo

Private method incorrectly marked as "overwrites" in reflection

Fix GH-9409
Closes GH-9469


# 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>


# 94ee4f98 24-Aug-2022 Bob Weinand

Port all internally used classes to use default_object_handlers

Signed-off-by: Bob Weinand <bobwei9@hotmail.com>


Revision tags: php-8.2.0beta2, php-8.1.9, php-8.0.22
# 2152bb2d 29-Jul-2022 Ilija Tovilo

Merge branch 'PHP-8.1'

* PHP-8.1:
Fix attribute target validation on fake closures


# 565a416e 28-Jul-2022 Ilija Tovilo

Fix attribute target validation on fake closures

Fixes GH-8982
Closes GH-9173

# 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
# 4d8dd8d2 19-Jul-2022 Go Kudo

Implement Random Extension

https://wiki.php.net/rfc/rng_extension
https://wiki.php.net/rfc/random_extension_improvement

# c6eb5dc5 18-Jul-2022 Dmitry Stogov

Fix possible crash in case of exception

Fixes oss-fuzz #49068

# 4dd66b8c 07-Jul-2022 Pierrick Charron

Merge branch 'PHP-8.1'

* PHP-8.1:
Fixed bug GH-8943 Reflection::getModifiersNames() with readonly modifier


# c650e67c 07-Jul-2022 Pierrick Charron

Fixed bug GH-8943 Reflection::getModifiersNames() with readonly modifier

Revision tags: php-8.0.21, php-8.1.8, php-8.2.0alpha3, php-8.1.8RC1, php-8.2.0alpha2, php-8.0.21RC1
# 0ae6a675 12-Jun-2022 George Peter Banyard

Add true as a type (#8326)

RFC: https://wiki.php.net/rfc/true-type

Revision tags: php-8.0.20, php-8.1.7, php-8.2.0alpha1, php-7.4.30, php-8.1.7RC1, php-8.0.20RC1, php-8.1.6, php-8.0.19, php-8.1.6RC1, php-8.0.19RC1, php-8.0.18, php-8.1.5, php-7.4.29, php-8.1.5RC1, php-8.0.18RC1, php-8.1.4, php-8.0.17
# ddc0b490 10-Mar-2022 Ilija Tovilo

Allow arbitrary const expressions in backed enums

Closes GH-7821
Closes GH-8190
Closes GH-8418

# b40ae808 07-Jun-2022 George Peter Banyard

Convert iterable into an internal alias for Traversable|array (#7309)

This does a compile time transformation of ``iterable`` into ``Traversable|array`` which simplifies some of the LSP vari

Convert iterable into an internal alias for Traversable|array (#7309)

This does a compile time transformation of ``iterable`` into ``Traversable|array`` which simplifies some of the LSP variance handling.

The arginfo generation script from stubs is updated to produce a union type when it encounters the type ``iterable``
Extension functions which do not regenerate the arginfo, or write them manually are still supported by mimicking the compile time transformation while registering the function.

Type Reflection is preserved for single ``iterable`` (and ``?iterable``) to produce a ReflectionNamedType with name ``iterable``, however usage of ``iterable`` in union types will be converted to ``array|Traversable``

show more ...

# 7451b8b6 06-Jun-2022 Dmitry Stogov

Merge branch 'PHP-8.1'

* PHP-8.1:
Fix memory leak


# 74744f3c 06-Jun-2022 Dmitry Stogov

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Fix memory leak


# 088e5677 06-Jun-2022 Dmitry Stogov

Fix memory leak

This fixes oss-fuzz #47791

# 7850c103 16-May-2022 Máté Kocsis

Add support for readonly classes (#7305)

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

# f590782b 04-May-2022 Ollie Read

Add ReflectionMethod::hasPrototype method

Closes GH-8487.

12345678910>>...43