Completely remove disabled functions from function table by nikic · Pull Request #5473 · php/php-src

Skip to content

Navigation Menu

Sign in

Appearance settings

Conversation

cmb69

@nikic nikic changed the title Completely remove disabled functions Completely remove disabled functions from function table

Apr 29, 2020

nicolas-grekas added a commit to symfony/symfony that referenced this pull request

May 23, 2020
… (derrabus)

This PR was merged into the 3.4 branch.

Discussion
----------

[VarDumper] ReflectionFunction::isDisabled() is deprecated

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | #36872
| License       | MIT
| Doc PR        | N/A

See php/php-src#5473. Calling `ReflectionFunction::isDisabled()` is pointless on php 8 and doing so triggers a deprecation warning.

Someone who is more familiar with that component might want to have a second look on this PR. I'm not really sure if this is the right way to fix the issue.

Commits
-------

1da347e [VarDumper] ReflectionFunction::isDisabled() is deprecated.

jrfnl added a commit to PHPCompatibility/PHPCompatibility that referenced this pull request

Jun 29, 2020

@jrfnl jrfnl mentioned this pull request

Jun 29, 2020

@Ayesh Ayesh mentioned this pull request

Jul 6, 2020

@jhdxr jhdxr mentioned this pull request

Oct 9, 2023