说明
array_combine ( array
$keys
, array $values
) : array返回一个 array,用来自 keys
数组的值作为键名,来自 values
数组的值作为相应的值。国旗迷
参数
keys
-
将被作为新数组的键。非法的值将会被转换为字符串类型(string)。
values
-
将被作为 Array 的值。
返回值
返回合并的 array,如果两个数组的单元数不同则返回 FALSE
。