Skip to content

sapi/fpm: remove reimplementations of (un)setenv - #23287

Open
NattyNarwhal wants to merge 1 commit into
php:masterfrom
NattyNarwhal:fpm-remove-wtf-setenv
Open

sapi/fpm: remove reimplementations of (un)setenv#23287
NattyNarwhal wants to merge 1 commit into
php:masterfrom
NattyNarwhal:fpm-remove-wtf-setenv

Conversation

@NattyNarwhal

Copy link
Copy Markdown
Member

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.

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 phpGH-23285.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant