diff --git a/language/types.xml b/language/types.xml index 2e8817ff08..f90e1dcbf1 100644 --- a/language/types.xml +++ b/language/types.xml @@ -1,5 +1,5 @@ - + Types @@ -1391,6 +1391,26 @@ unset($arr); // This deletes the whole array + + + If you omit a key, the maximum of the integer-indices is taken, and + the new key will be that maximum + 1. + Note that the maximum is same when the element having + maximum-index was cleared using unset function. + + + 'orange', 1 => 'apple', 3 => 'carrot') +?> +]]> + + + +