From c0cadeb2be7b532204593ddac13133e7ba5cd5a5 Mon Sep 17 00:00:00 2001 From: "Jesus M. Castagnetto" Date: Sat, 7 Oct 2000 18:14:27 +0000 Subject: [PATCH] Added a "see also" in the partintro to point to explode, implode, split and join (which are described in the strings section) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@33476 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/array.xml | 40 ++++++++++++++++++++++------------------ 1 file changed, 22 insertions(+), 18 deletions(-) diff --git a/functions/array.xml b/functions/array.xml index 62ad7b6f0b..aaeb2e82f3 100644 --- a/functions/array.xml +++ b/functions/array.xml @@ -13,6 +13,10 @@ There are specific database handling functions for populating arrays from database queries, and several functions return arrays. + + See also explode, implode, + split and join. + @@ -255,8 +259,8 @@ array_keys ($array, "blue"); // returns array (0, 3, 4) those still using PHP 3. - Implementation of <function>array_keys</function> for PHP 3 - users + Implementation of <function>array_keys</function> for PHP 3 + users function array_keys ($arr, $term="") { @@ -1033,8 +1037,8 @@ array_values ($array); // returns array ("XL", "gold") those still using PHP 3. - Implementation of <function>array_values</function> for PHP 3 - users + Implementation of <function>array_values</function> for PHP 3 + users function array_values ($arr) { @@ -1557,34 +1561,34 @@ while (list ($key, $val) = each ($HTTP_POST_VARS)) { EXTR_OVERWRITE - - If there is a collision, overwrite the existing variable. - + + If there is a collision, overwrite the existing variable. + EXTR_SKIP - - If there is a collision, don't overwrite the existing - variable. - + + If there is a collision, don't overwrite the existing + variable. + EXTR_PREFIX_SAME - If there is a collision, prefix the new variable with - prefix. - + If there is a collision, prefix the new variable with + prefix. + EXTR_PREFIX_ALL - - Prefix all variables with prefix. - + + Prefix all variables with prefix. + @@ -2284,7 +2288,7 @@ while (list (, $number) = each ($numbers)) { lowest to highest when this function has completed. <function>Sort</function> example - + <?php $fruits = array ("lemon", "orange", "banana", "apple");