mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Fix missing deprecation message for default case statement followed by semicolon (#20172)
Follow-up to GH-19215
This commit is contained in:
@@ -38,6 +38,8 @@ switch ($a):
|
||||
endswitch;
|
||||
?>
|
||||
--EXPECTF--
|
||||
Deprecated: Case statements followed by a semicolon (;) are deprecated, use a colon (:) instead in %s
|
||||
|
||||
Deprecated: Case statements followed by a semicolon (;) are deprecated, use a colon (:) instead in %s
|
||||
If: 11
|
||||
While: 12346789
|
||||
|
||||
Reference in New Issue
Block a user