From 58b220b7b71c1f74180da8e37584c17333561e5a Mon Sep 17 00:00:00 2001 From: Hadar Porat Date: Fri, 1 Nov 2002 13:06:44 +0000 Subject: [PATCH] First version git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@102217 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../array/functions/array-change-key-case.xml | 28 +++++++++-------- reference/array/functions/array-chunk.xml | 30 +++++++++---------- .../array/functions/array-count-values.xml | 16 +++++----- 3 files changed, 37 insertions(+), 37 deletions(-) diff --git a/reference/array/functions/array-change-key-case.xml b/reference/array/functions/array-change-key-case.xml index b26a4357a7..e0b19e1768 100644 --- a/reference/array/functions/array-change-key-case.xml +++ b/reference/array/functions/array-change-key-case.xml @@ -1,31 +1,33 @@ - + array_change_key_case - Returns an array with all string keys lowercased or uppercased + מחזיר מערך שכל האינדקסים המוצגים כמחרוזות יהיו באותיות קטנות + או באותיות גדולות. - Description + תיאור arrayarray_change_key_case arrayinput intcase - array_change_key_case changes the - keys in the input array to + array_change_key_case משנה את + האינדקסים במערך input לאותיות + קטנות או לאותיות גדולות. השינוי תלוי בפרמטר האחרון + האופציונלי case. אתה יכול + למסור שני משתנים קבועים שם: be all lowercase or uppercase. The change depends - on the last optional case - parameter. You can pass two constants there, - CASE_UPPER and - CASE_LOWER. The default is - CASE_LOWER. The function will leave - number indices as is. + on the last optional CASE_UPPER ו- + CASE_LOWER. ברירת המחדל היא + CASE_LOWER. הפונקציה תשאיר + אינדקסים מספריים כפי שהם. - <function>array_change_key_case</function> example + דוגמא של <function>array_change_key_case</function> 1, "SecOnd" => 4); @@ -33,7 +35,7 @@ print_r(array_change_key_case($input_array, CASE_UPPER)); ]]> - The printout of the above program will be: + הפלט של התוכנית שמעל תהיה: - + array_chunk - Split an array into chunks + מפצל מערך לחלקים - Description + תיאור arrayarray_chunk arrayinput @@ -15,22 +15,20 @@ boolpreserve_keys - array_chunk splits the array into - several arrays with size values - in them. You may also have an array with less values - at the end. You get the arrays as members of a - multidimensional array indexed with numbers starting - from zero. + array_chunk מפצל את המערך למספר + מערכים בגודל size. אתה גם יכול + ליצור מערך עם מספר קטן יותר של ערכים בסוף. אתה מקבל + את המערכים כאיברים במערך דו-ממדי בעל אינדקסים המתחילים + מ- 0. - By setting the optional preserve_keys - parameter to &true;, you can force PHP to preserve the original - keys from the input array. If you specify &false; new number - indices will be used in each resulting array with - indices starting from zero. The default is &false;. + על ידי הגדרת הפרמטר האופציונלי preserve_keys + ל- &true;, אתה יכול לאלץ את PHP לשמור על האינדקסים + המקוריים של המשתנה שהוכנס. אם אתה מציין &false;, אינדקסים + חדשים המתחילים מאפס יופיעו. ברירת המחדל היא &false;. - <function>array_chunk</function> example + דוגמא של <function>array_chunk</function> - The printout of the above program will be: + הפלט של התוכנית שמעל תהיה: - + array_count_values - Counts all the values of an array + סופר את כל הערכים של מערך - Description + תיאור arrayarray_count_values arrayinput - array_count_values returns an array using - the values of the input array as keys and - their frequency in input as values. + array_count_values מחזיר מערך בשימוש + הערכים של מערך input כאינדקסים והתדירות + שלהם כערכים. - <function>array_count_values</function> example + דוגמא של <function>array_count_values</function> - The printout of the above program will be: + הפלט של התוכנית שמעל תהיה: