[php-src] PR #23287: sapi/fpm: remove reimplementations of (un)setenv
| From: | NattyNarwhal | Date: | Fri, 14 Aug 2026 21:52:35 +0000 |
| Subject: | [php-src] PR #23287: sapi/fpm: remove reimplementations of (un)setenv | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-37880@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/23287
Author: NattyNarwhal
These are functions that have existed since Unix V7. Windows doesn't have them, but we
don't support FPM on Windows (and in ext/standard, there are other ways to emulate it that
don't involve WTF comments).
clearenv is kept as this was from a rejected POSIX proposal that only some systems implement (Linux,
FreeBSD, some 90s Unices).
Also removes the WTF comment incidentally; see GH-23285.