These functions allow you to interact with and manipulate arrays in various ways. Arrays are essential for storing, managing, and operating on sets of variables.
Simple and multi-dimensional arrays are supported, and may be either user created or created by another function. There are specific database handling functions for populating arrays from database queries, and several functions return arrays.
Please see the Arrays section of the manual for a detailed explanation of how arrays are implemented and used in PHP. See also Array operators for other ways how to manipulate the arrays.
要編譯本擴充功能無需外部函式庫。
本擴充功能作為 PHP 核心的一部分,無需安裝即可使用。
本擴充功能在 php.ini 中未定義任何設定選項。
本擴充功能未定義任何資源類型。
以下常數作為 PHP 核心的一部分且一直有效。
Sorting order flags:
Sorting type flags: used by various sort functions
See also is_array(), explode(), implode(), split(), preg_split(), and unset().