[php-src] PR #24744: ext/standard: remove unnecessary var_hash check
| From: | Sjord | Date: | Mon, 26 Oct 2026 14:42:06 +0000 |
| Subject: | [php-src] PR #24744: ext/standard: remove unnecessary var_hash check | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-39912@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/24744
Author: Sjord
var_hash is never null. It is dereferenced elsewhere in the function, so this function would already
crash if it were null. Remove null check and add assertion.