[GIT-PULLS] [php-src] PR #22847: streams: various small refactoring for stream error API

[email protected] (Girgias) Tue, 21 Jul 2026 13:01:58 +0000
Newsgroups php.git-pulls
Message-ID <FNnbVSVcf0TWmZFi5yVxmBZG6ueg7V5Z7EaoLqIeFXw@main.internal.php.net>
Pull Request: https://github.com/php/php-src/pull/22847
Author: Girgias

- Use C enums instead of defines
- Use const when possible
- Use the correct pritnf specifier
- Use bool or size_t type rather than int type
- Mark private function static