Deprecate multiple default blocks in a switch#807
Closed
morrisonlevi wants to merge 1 commit intophp:PHP-5.6from
Closed
Deprecate multiple default blocks in a switch#807morrisonlevi wants to merge 1 commit intophp:PHP-5.6from
morrisonlevi wants to merge 1 commit intophp:PHP-5.6from
Conversation
Part of RFC: https://wiki.php.net/rfc/switch.default.multiple For PHP 5.NEXT, not PHP 5.6.
fe12a35 to
cc15542
Compare
Member
|
The PHP 7 error was merged in b476eca. This PR for the 5.7 deprecation can be closed as there is no 5.7 ^^ Please close it yourself, the QA pulls tool is broken again. |
|
Comment on behalf of nikic at php.net: Closing per previous comment. |
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.
Part of RFC: https://wiki.php.net/rfc/switch.default.multiple
This generates an E_DEPRECATED warning but continues to run the last default block. This change is intended for PHP 5.NEXT, not PHP 5.6.