[php-src] PR #23236: [RFC] Deprecate `is_a()` and `is_subclass_of()` with string when not allowed
| From: | DanielEScherzer | Date: | Wed, 12 Aug 2026 17:25:52 +0000 |
| Subject: | [php-src] PR #23236: [RFC] Deprecate `is_a()` and `is_subclass_of()` with string when not allowed | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-37808@lists.php.net to get a copy of this message | ||
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