[php-src] PHP-8.6: Windows CI: Fix implicit pointer-to-bool conversions (#25577)
| From: | Alexander Danilov via Weilin Du | Date: | Fri, 20 Nov 2026 07:22:24 +0000 |
| Subject: | [php-src] PHP-8.6: Windows CI: Fix implicit pointer-to-bool conversions (#25577) | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-143955@lists.php.net to get a copy of this message | ||
Author: Alexander Danilov (adapik)
Committer: Weilin Du (LamentXU123)
Date: 2026-11-20T15:14:23+08:00
Commit: https://github.com/php/php-src/commit/899b3510fcb2fc6fae5b2bc7005645552e9a9515
Raw diff: https://github.com/php/php-src/commit/899b3510fcb2fc6fae5b2bc7005645552e9a9515.diff
Windows CI: Fix implicit pointer-to-bool conversions (#25577)
Compare pointers explicitly with NULL in the lazy-object store, user stream
casting, and the CLI server. This preserves the existing conditions and
avoids C4047 warnings from MSVC 14.52 on the updated Windows CI image.
Closes #25577
Changed paths:
M Zend/zend_lazy_objects.c
M main/streams/userspace.c
M sapi/cli/php_cli_server.c
Diff: