diff --git a/reference/array/functions/array-keys.xml b/reference/array/functions/array-keys.xml index ac7fd7caed..88deca0b08 100644 --- a/reference/array/functions/array-keys.xml +++ b/reference/array/functions/array-keys.xml @@ -1,5 +1,5 @@ - + @@ -29,6 +29,7 @@ <function>array_keys</function> example 100, "color" => "red"); print_r(array_keys ($array)); @@ -38,6 +39,7 @@ print_r(array_keys ($array, "blue")); $array = array ("color" => array("blue", "red", "green"), "size" => array("small", "medium", "large")); print_r(array_keys ($array)); +?> ]]> @@ -65,34 +67,9 @@ Array - - - This function was added to PHP 4, below is an implementation for - those still using PHP 3. - - - Implementation of <function>array_keys</function> for PHP 3 - users - - - - - - - - See also array_values. + See also array_values and + array_key_exists.