 |
|
|  |
|
 |
14³â Àü |
ÀÌ ÇÔ¼ö´Â ´Ù¾çÇÑ ¹æ¹ýÀ¸·Î ¹è¿À» ´Ù·ç°í, »óÈ£ÀÛ¿ëÇÒ ¼ö ÀÖ°Ô ÇØ ÁØ´Ù. ¹è¿Àº º¯¼öµéÀÇ ÁýÇÕÀ» ¼ÒÆÃ, ó¸®, Á¶Á¤Çϴµ¥ ÇʼöÀûÀÌ´Ù.
ÀÏÂ÷¿ø¹× ´ÙÂ÷¿ø ¹è¿ÀÇ »ç¿ëÀÌ °¡´ÉÇϸç, »ç¿ëÀÚ³ª ´Ù¸¥ ÇÔ¼ö·Î ºÎÅÍ »ý¼ºµÉ ¼ö ÀÖ´Ù. µ¥ÀÌÅͺ£À̽ºÀÇ Äõ¸®¹®À¸·Î ºÎÅÍ ¹è¿ÀÇ »ý¼ºÀ» À§ÇÑ ¸î¸î Ưº°ÇÑ µ¥ÀÌÅͺ£À̽º Çڵ鸵 ÇÔ¼ö°¡ ÀÖ°í ¸î¸î ÇÔ¼öµéÀº ¸®ÅÏ°ªÀ¸·Î ¹è¿À» ¹ÝȯÇÑ´Ù.
is_array(), explode(), implode(), split() ±×¸®°í join()À» ÂüÁ¶Ç϶ó.
Â÷·Ê
array_change_key_case -- Returns an array with all string keys lowercased or uppercased
array_chunk -- Split an array into chunks
array_count_values -- ¹è¿ °ªÀÇ ¼ö¸¦ ¼¾´Ù.
array_diff_assoc -- Computes the difference of arrays with additional index check
array_diff -- ¹è¿ÀÇ Â÷ÀÌÀ» °è»êÇÑ´Ù.
array_fill -- Fill an array with values
array_filter -- Filters elements of an array using a callback function
array_flip -- Flip all the values of an array
array_intersect_assoc -- Computes the intersection of arrays with additional index check
array_intersect -- ¹è¿ÀÇ Áߺ¹À» °è»êÇÑ´Ù.
array_key_exists -- Checks if the given key or index exists in the array
array_keys -- ¹è¿ÀÇ ¸ðµç Å°°ªÀ» ¹ÝȯÇÑ´Ù.
array_map -- Applies the callback to the elements of the given arrays
array_merge_recursive -- Àç±ÍÀûÀ¸·Î µÎ°³ ȤÀº ±× ÀÌ»óÀÇ ¹è¿À» º´ÇÕÇÑ´Ù.
array_merge -- µÎ°³ ȤÀº ±× ÀÌ»óÀÇ ¹è¿À» º´ÇÕÇÑ´Ù.
array_multisort -- ¿©·¯°³ÀÇ ¹è¿ ȤÀº ´ÙÂ÷¿ø ¹è¿À» Á¤·ÄÇÑ´Ù.
array_pad -- ÁÖ¾îÁø °ªÀÇ ±æÀ̸¸Å ¹è¿À» ä¿î´Ù
array_pop -- ¹è¿ ³¡ÀÇ ¿ä¼Ò¸¦ »Ì¾Æ³½´Ù.
array_push -- ¹è¿ ³¡¿¡ Çϳª ȤÀº ±× ÀÌ»óÀÇ ¿ø¼Ò¸¦ ³Ö´Â´Ù.
array_rand -- ¹è¿¿¡¼ Çϳª ȤÀº ±× ÀÌ»óÀÇ ÀÓÀÇÀÇ ¿ø¼Ò¸¦ °¡Á®¿Â´Ù.
array_reduce -- Iteratively reduce the array to a single value using a callback function
array_reverse -- °¢ ¿¤¸®¸ÕÆ®¸¦ ¿ª¼øÀ¸·Î Á¤·ÄÇÑ ¹è¿À» ¹ÝȯÇÑ´Ù.
array_search -- Searches the array for a given value and returns the corresponding key if successful
array_shift -- ¹è¿ÀÇ ¸Ç ¾Õ¿¡ ÀÖ´Â ¿ø¼Ò¸¦ ²¨³»°í ±× ¿ø¼Ò¸¦ »èÁ¦ÇÑ´Ù
array_slice -- ¹è¿ÀÇ ÀϺθ¦ ÃßÃâÇÑ´Ù.
array_splice -- ¹è¿ÀÇ ÀϺθ¦ »èÁ¦ÇÏ°í, ±× À§Ä¡¿¡ ´Ù¸¥ ³»¿ëÀ» ³¢¿ö ³Ö´Â´Ù.
array_sum -- Calculate the sum of values in an array.
array_unique -- ¹è¿·ÎºÎÅÍ Áߺ¹µÈ °ªÀ» Á¦°ÅÇÑ´Ù.
array_unshift -- ¹è¿ÀÇ ¸Ç ¾Õ¿¡ ÇÑ °³³ª ±× ÀÌ»óÀÇ ¿ø¼Ò¸¦ ÷°¡ÇÑ´Ù.
array_values -- ¹è¿ÀÇ ¸ðµç °ªµéÀ» ¹ÝȯÇÑ´Ù.
array_walk -- ¹è¿ÀÇ °³°³ÀÇ ¿ø¼Ò¿¡ ƯÁ¤ ÇÔ¼ö¸¦ Àû¿ëÇÏ¿© ¼öÇàÇÑ´Ù.
array -- ¹è¿À» »ý¼ºÇÑ´Ù
arsort -- ¹è¿À» ¿ª¼øÀ¸·Î Á¤·ÄÇÏ°í À妽ºÀÇ »ó°ü°ü°è¸¦ À¯ÁöÇÑ´Ù.
asort -- ¹è¿À» Á¤·ÄÇÏ°í index associationÀ» À¯ÁöÇÑ´Ù.
compact -- ÁÖ¾îÁø ¿©·¯ º¯¼öÀÇ À̸§°ú °ªÀ» °¡Áö´Â ¹è¿À» ¸¸µç´Ù.
count -- ¹è¿ º¯¼öÀÇ ¿ø¼Ò °³¼ö¸¦ ±¸ÇÑ´Ù.
current -- ¹è¿ÀÇ ÇöÀç ¿ø¼Ò¸¦ µ¹·ÁÁØ´Ù
each -- ¹è¿·ÎºÎÅÍ ´ÙÀ½¿ø¼ÒÀÇ Å°¿Í °ª ½ÖÀ» ¹ÝȯÇÑ´Ù. Return the next key and value pair from an array
end -- Set the internal pointer of an array to its last element
extract -- Import variables into the symbol table from an array
in_array -- Return TRUE if a value exists in an array
key -- Fetch a key from an associative array
krsort -- Sort an array by key in reverse order
ksort -- Sort an array by key
list -- Assign variables as if they were an array
natcasesort -- Sort an array using a case insensitive "natural order" algorithm
natsort -- Sort an array using a "natural order" algorithm
next -- Advance the internal array pointer of an array
pos -- Get the current element from an array
prev -- Rewind the internal array pointer
range -- Create an array containing a range of integers
reset -- Set the internal pointer of an array to its first element
rsort -- Sort an array in reverse order
shuffle -- Shuffle an array
sizeof -- Get the number of elements in an array
sort -- Sort an array
uasort -- Sort an array with a user-defined comparison function and maintain index association
uksort -- Sort an array by keys using a user-defined comparison function
usort -- Sort an array by values using a user-defined comparison function |
|
̵̧ : 255 |
̵̧
¸ñ·Ï
|
|
|  |
|