diff --git a/language/functions.xml b/language/functions.xml index 95116dd021..c82a01123c 100644 --- a/language/functions.xml +++ b/language/functions.xml @@ -1,5 +1,5 @@ - + Functions @@ -131,7 +131,7 @@ bar(); PHP 3 does not support variable numbers of arguments to functions, although default arguments are supported (see Default argument - values for more information). PHP 4 supports both: see for more information). PHP 4 and above supports both: see Variable-length argument lists and the function references for func_num_args, @@ -338,6 +338,10 @@ echo makeyogurt("raspberry"); // works as expected Making a bowl of acidophilus raspberry. + + + Default value for arguments passed by reference is supported since PHP 5. + @@ -345,7 +349,7 @@ Making a bowl of acidophilus raspberry. Variable-length argument lists - PHP 4 has support for variable-length argument lists in + PHP 4 and above has support for variable-length argument lists in user-defined functions. This is really quite easy, using the func_num_args, func_get_arg, and