diff --git a/appendices/migration70/incompatible/other.xml b/appendices/migration70/incompatible/other.xml index da402120db..612b3c0bb1 100644 --- a/appendices/migration70/incompatible/other.xml +++ b/appendices/migration70/incompatible/other.xml @@ -207,11 +207,11 @@ yield ($foo or die); - Functions can't have more than one parameter with the same name + Functions cannot have multiple parameters with the same name - It is no longer possible to define two function parameters with the same - name. For example, the following method will trigger + It is no longer possible to define two or more function parameters with the + same name. For example, the following function will trigger an E_COMPILE_ERROR: @@ -228,6 +228,31 @@ function foo($a, $b, $unused, $unused) { + + Switch statements cannot have multiple default blocks + + + It is no longer possible to define two or more default blocks in a switch + statement. For example, the following will switch statement will trigger an + E_COMPILE_ERROR: + + + + + +]]> + + + + <varname>$HTTP_RAW_POST_DATA</varname> removed