[php-src] PR #22221: fix GH-20469: inheritance cache lookup with nested autoloading

From: Date: Wed, 03 Jun 2026 22:57:37 +0000
Subject: [php-src] PR #22221: fix GH-20469: inheritance cache lookup with nested autoloading
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-36289@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/22221 Author: morrisonlevi Crashes commonly manifest in instanceof_function_slow. unlinked_instanceof() may see a linked starting class while an ancestor in its parent chain is still unlinked. Keep the guarded traversal instead of delegating to instanceof_function(), which assumes resolved parent pointers throughout the chain. See the ext/opcache/tests/gh20469.phpt test I added. This has probably been a bug since PHP 8.1. I'm targeting PHP 8.4 as the oldest version in active support.

« previous php.git-pulls (#36289) next »