1
0
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:
Theodore Brown
2025-10-20 03:29:54 -05:00
committed by GitHub
parent 3472174583
commit c03215b623
3 changed files with 9 additions and 5 deletions

View File

@@ -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