From 3a30ba206e3d95db79f59fffd63a0f87e5cf4879 Mon Sep 17 00:00:00 2001 From: Philip Olson Date: Fri, 30 May 2003 17:10:53 +0000 Subject: [PATCH] Remove php3 example, and see also array_key_exists() git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@129428 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/array/functions/array-keys.xml | 33 ++++-------------------- 1 file changed, 5 insertions(+), 28 deletions(-) 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.