diff --git a/language/control-structures/switch.xml b/language/control-structures/switch.xml index 3ffa3a6098ca..c768e8bb93ea 100644 --- a/language/control-structures/switch.xml +++ b/language/control-structures/switch.xml @@ -269,7 +269,7 @@ endswitch; - It's possible to use a semicolon instead of a colon after a case like: + Prior to PHP 8.5.0, it was possible to use a semicolon instead of a colon after a case like: + This syntax has been deprecated as of PHP 8.5.0. + + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 8.5.0 + + The alternate syntax using a semicolon after case has been deprecated. + + + + + + + &reftitle.seealso;