[Sync-EN] Fix the assert(), dl() and getrusage() return docs and the E_ALL value - #1801
Open
lacatoire wants to merge 1 commit into
Open
[Sync-EN] Fix the assert(), dl() and getrusage() return docs and the E_ALL value#1801lacatoire 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 four
reference/info/pages with php/doc-en#5650.assert(): the return-value list said the function always returnstruewhenassert.exception=1,assert.bail=1, or a custom exception object is passed. Those three entries are removed: onlyzend.assertions=0,zend.assertions=-1andassert.active=0make it unconditionally returntrue.AssertionErrorand the threeThrowablementions are marked up asexceptionname.dl(): when module loading is unavailable orenable_dlis off, the function emits anE_WARNINGand returnsfalse; it does not emitE_ERRORand stop execution.get_defined_constants(): the two example outputs showed[E_ALL] => 2047, the pre-8.0 value; it is30719.getrusage(): withmodeset to1(RUSAGE_CHILDREN) the function collects resource usage for child processes, not for threads viaRUSAGE_THREAD.reference/info/versions.xmlis not part of this change: that file is EN-only infrastructure and has no Russian counterpart.Several paragraphs become
simpara, as upstream.EN-Revision bumped to 5367d2fcdf4b710a81806aba52a71c522f082713 on the four files.
Fixes: #1688