[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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.