[php-src] PR #17613: Fix callable variance check
| From: | iluuu1994 | Date: | Tue, 28 Jan 2025 14:55:57 +0000 |
| Subject: | [php-src] PR #17613: Fix callable variance check | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-30559@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/17613
Author: iluuu1994
Caused by GH-15492. While the parent might contain callable, it may also contain other types.
zend_is_class_subtype_of_type() may be checking a member that is not callable itself. Fall back to
the normal class subtype check.
Discovered by a failing Laravel test in nightly.