[php-src] PR #23703: Add NULL check on zend_get_called_scope() return value in PhpToken::tokenize()

From: Date: Wed, 16 Sep 2026 09:45:52 +0000
Subject: [php-src] PR #23703: Add NULL check on zend_get_called_scope() return value in PhpToken::tokenize()
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-38501@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/23703 Author: ushevchenko Fixes #23700 Adds a NULL check on the return value of zend_get_called_scope() in PhpToken::tokenize() (ext/tokenizer/tokenizer.c), consistent with how this function's return value is checked at other call sites in the codebase. See the linked issue for details — this was flagged by static analysis (statistical NULL-deref checker), not by an observed crash.

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