[Sync-EN] Fix the pcntl reference pages and document the 8.4 failure return - #1803
Open
lacatoire wants to merge 1 commit into
Open
[Sync-EN] Fix the pcntl reference pages and document the 8.4 failure return#1803lacatoire wants to merge 1 commit into
lacatoire wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Syncs seven
reference/pcntl/files with php/doc-en#5767.pcntl_exec(): the return value said only "returnsfalse". It now saysfalseis returned on failure and that on success the function does not return at all, the process image being replaced.pcntl_unshare(): returnstrue/false, not0/-1.pcntl_sigprocmask(),pcntl_sigtimedwait(),pcntl_sigwaitinfo(): the changelog rows named asignalparameter that does not exist, the parameter issignals; the "not an int" row saidValueErrorwhere it is aTypeError;pcntl_sigprocmask()gains theSIG_SETMASKexemption for an empty array;pcntl_sigtimedwait()statesnanosecondsmust be between 0 and 1e9, and that the both-zero row is about both being0, not "less than 0".pcntl_sigtimedwait()andpcntl_sigwaitinfo()gain the row aboutfalsebeing returned on failure where-1was returned in some cases.constants.xml: theSI_MSGGQentry, which had an empty description, is removed as upstream.versions.xmlgains the missingpcntl_forkx,pcntl_getcpu,pcntl_setnsandpcntl_wifcontinuedentries.ValueError,TypeErrorand friends are marked up asexceptionname, and the four see-alsosimplelists lose theirparawrapper.EN-Revision bumped to 253f4bdd29fc3938030dce22882611ceefa9f74a on the seven files.
Fixes: #1685