[php-src] PR #25239: Fix GH-25238: ReflectionProperty::isInitialized() skips lazy init once cached

From: Date: Fri, 06 Nov 2026 11:39:33 +0000
Subject: [php-src] PR #25239: Fix GH-25238: ReflectionProperty::isInitialized() skips lazy init once cached
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-40352@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/25239 Author: lazerg The inline cache fast path in isInitialized() returned false as soon as the cached slot was UNDEF. All properties of an uninitialized lazy object are UNDEF, so once the cache was warm, later ghosts of the same class were reported as uninitialized and never got initialized. The fast path now only answers true and falls back to has_property() otherwise, like getValue() already does. Fixes #25238

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