[php-src] PR #25803: Fix GH-25802: pg_get_notify() result is never === false with opcache enabled
| From: | thunderer | Date: | Thu, 26 Nov 2026 20:49:30 +0000 |
| Subject: | [php-src] PR #25803: Fix GH-25802: pg_get_notify() result is never === false with opcache enabled | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-41077@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/25803
Author: thunderer
Fixes GH-25802.
pg_get_notify() returns false when no notification is pending, but the
@return tag in the stub omitted |false. The generated optimizer info
therefore had no MAY_BE_FALSE, and opcache removed === false checks on the
result, also with the JIT disabled.
This adds |false to the tag and regenerates the arginfo and optimizer info. The test
fails without the change.
The merge into PHP-8.5 and PHP-8.6 conflicts only in the stub hash line of
ext/pgsql/pgsql_arginfo.h; build/gen_stub.php regenerates it.