diff --git a/language/functions.xml b/language/functions.xml index f34ba9a41c..33ae9a8859 100644 --- a/language/functions.xml +++ b/language/functions.xml @@ -1,5 +1,5 @@ - + Functions @@ -249,7 +249,27 @@ Making a cup of cappuccino. Making a cup of espresso. - + + Also PHP allows you to use arrays and special type NULL as + default values, for example: + + Using non-scalar types as default values + + +]]> + + + + The default value must be a constant expression, not (for example) a variable, a class member or a function call.