diff --git a/reference/array/functions/count.xml b/reference/array/functions/count.xml index 69c99defbb..ed3bb8ff63 100644 --- a/reference/array/functions/count.xml +++ b/reference/array/functions/count.xml @@ -1,5 +1,5 @@ - + @@ -35,6 +35,7 @@ will recursively count the array. This is particularly useful for counting all the elements of a multidimensional array. The default value for mode is 0. + count does not detect infinite recursion. diff --git a/reference/var/functions/get-defined-vars.xml b/reference/var/functions/get-defined-vars.xml index b96d9280ef..2f4ca0fb5e 100644 --- a/reference/var/functions/get-defined-vars.xml +++ b/reference/var/functions/get-defined-vars.xml @@ -1,5 +1,5 @@ - + @@ -17,7 +17,9 @@ This function returns an multidimensional array containing a list of all defined variables, be them environment, server or user-defined - variables. + variables, within the scope that get_defined_vars is + called. As of PHP 5, the $GLOBALS variable is included in the results of + the array returned.