[GIT-PULLS] [php-src] PR #23236: [RFC] Deprecate `is_a()` and `is_subclass_of()` with string when not allowed
[email protected] (DanielEScherzer)
| Newsgroups | php.git-pulls |
|---|---|
| Message-ID | <aXSbVv3zUkKXuNOhtLCgxNUqAtxTHv8Hh0mEuLSCtak@main.internal.php.net> |
Pull Request: https://github.com/php/php-src/pull/23236 Author: DanielEScherzer For `is_a()` and `is_subclass_of()`, emit deprecation warnings when calling with a string as the first argument but with `$allow_string` being false. The two functions share implementation code and so are updated together. https://wiki.php.net/rfc/deprecations_php_8_6