PHP鏁扮粍


鏁扮粍鍑芥暟鍒楄〃
array - 鏂板缓涓涓暟缁
array_change_key_case - 杩斿洖瀛楃涓查敭鍚嶅叏涓哄皬鍐欐垨澶у啓鐨勬暟缁
array_chunk - 灏嗕竴涓暟缁勫垎鍓叉垚澶氫釜
array_combine - 鍒涘缓涓涓暟缁勶紝鐢ㄤ竴涓暟缁勭殑鍊间綔涓哄叾閿悕锛屽彟涓涓暟缁勭殑鍊间綔涓哄叾鍊
array_count_values - 缁熻鏁扮粍涓墍鏈夌殑鍊煎嚭鐜扮殑娆℃暟
array_diff - 璁$畻鏁扮粍鐨勫樊闆
array_diff_assoc - 甯︾储寮曟鏌ヨ绠楁暟缁勭殑宸泦
array_diff_key - 浣跨敤閿悕姣旇緝璁$畻鏁扮粍鐨勫樊闆
array_diff_uassoc - 鐢ㄧ敤鎴锋彁渚涚殑鍥炶皟鍑芥暟鍋氱储寮曟鏌ユ潵璁$畻鏁扮粍鐨勫樊闆
array_diff_ukey - 鐢ㄥ洖璋冨嚱鏁板閿悕姣旇緝璁$畻鏁扮粍鐨勫樊闆
array_fill - 鐢ㄧ粰瀹氱殑鍊煎~鍏呮暟缁
array_fill_keys - 浣跨敤鎸囧畾鐨勯敭鍜屽煎~鍏呮暟缁
array_filter - 鐢ㄥ洖璋冨嚱鏁拌繃婊ゆ暟缁勪腑鐨勫崟鍏
array_flip - 浜ゆ崲鏁扮粍涓殑閿拰鍊
array_intersect - 璁$畻鏁扮粍鐨勪氦闆
array_intersect_assoc - 甯︾储寮曟鏌ヨ绠楁暟缁勭殑浜ら泦
array_intersect_key - 浣跨敤閿悕姣旇緝璁$畻鏁扮粍鐨勪氦闆
array_intersect_uassoc - 甯︾储寮曟鏌ヨ绠楁暟缁勭殑浜ら泦锛岀敤鍥炶皟鍑芥暟姣旇緝绱㈠紩
array_intersect_ukey - 鐢ㄥ洖璋冨嚱鏁版瘮杈冮敭鍚嶆潵璁$畻鏁扮粍鐨勪氦闆
array_keys - 杩斿洖鏁扮粍涓墍鏈夌殑閿悕
array_key_exists - 妫鏌ョ粰瀹氱殑閿悕鎴栫储寮曟槸鍚﹀瓨鍦ㄤ簬鏁扮粍涓
array_map - 灏嗗洖璋冨嚱鏁颁綔鐢ㄥ埌缁欏畾鏁扮粍鐨勫崟鍏冧笂
array_merge - 鍚堝苟涓涓垨澶氫釜鏁扮粍
array_merge_recursive - 閫掑綊鍦板悎骞朵竴涓垨澶氫釜鏁扮粍
array_multisort - 瀵瑰涓暟缁勬垨澶氱淮鏁扮粍杩涜鎺掑簭
array_pad - 鐢ㄥ煎皢鏁扮粍濉ˉ鍒版寚瀹氶暱搴
array_pop - 灏嗘暟缁勬渶鍚庝竴涓崟鍏冨脊鍑猴紙鍑烘爤锛
array_product - 璁$畻鏁扮粍涓墍鏈夊肩殑涔樼Н
array_push - 灏嗕竴涓垨澶氫釜鍗曞厓鍘嬪叆鏁扮粍鐨勬湯灏撅紙鍏ユ爤锛
array_rand - 浠庢暟缁勪腑闅忔満鍙栧嚭涓涓垨澶氫釜鍗曞厓
array_reduce - 鐢ㄥ洖璋冨嚱鏁拌凯浠e湴灏嗘暟缁勭畝鍖栦负鍗曚竴鐨勫
array_replace - 浣跨敤浼犻掔殑鏁扮粍鏇挎崲绗竴涓暟缁勭殑鍏冪礌
array_replace_recursive - 浣跨敤浼犻掔殑鏁扮粍閫掑綊鏇挎崲绗竴涓暟缁勭殑鍏冪礌
array_reverse - 杩斿洖涓涓崟鍏冮『搴忕浉鍙嶇殑鏁扮粍
array_search - 鍦ㄦ暟缁勪腑鎼滅储缁欏畾鐨勫硷紝濡傛灉鎴愬姛鍒欒繑鍥炵浉搴旂殑閿悕
array_shift - 灏嗘暟缁勫紑澶寸殑鍗曞厓绉诲嚭鏁扮粍
array_slice - 浠庢暟缁勪腑鍙栧嚭涓娈
array_splice - 鎶婃暟缁勪腑鐨勪竴閮ㄥ垎鍘绘帀骞剁敤鍏跺畠鍊煎彇浠
array_sum - 璁$畻鏁扮粍涓墍鏈夊肩殑鍜
array_udiff - 鐢ㄥ洖璋冨嚱鏁版瘮杈冩暟鎹潵璁$畻鏁扮粍鐨勫樊闆
array_udiff_assoc - 甯︾储寮曟鏌ヨ绠楁暟缁勭殑宸泦锛岀敤鍥炶皟鍑芥暟姣旇緝鏁版嵁
array_udiff_uassoc - 甯︾储寮曟鏌ヨ绠楁暟缁勭殑宸泦锛岀敤鍥炶皟鍑芥暟姣旇緝鏁版嵁鍜岀储寮
array_uintersect - 璁$畻鏁扮粍鐨勪氦闆嗭紝鐢ㄥ洖璋冨嚱鏁版瘮杈冩暟鎹
array_uintersect_assoc - 甯︾储寮曟鏌ヨ绠楁暟缁勭殑浜ら泦锛岀敤鍥炶皟鍑芥暟姣旇緝鏁版嵁
array_uintersect_uassoc - 甯︾储寮曟鏌ヨ绠楁暟缁勭殑浜ら泦锛岀敤鍥炶皟鍑芥暟姣旇緝鏁版嵁鍜岀储寮
array_unique - 绉婚櫎鏁扮粍涓噸澶嶇殑鍊
array_unshift - 鍦ㄦ暟缁勫紑澶存彃鍏ヤ竴涓垨澶氫釜鍗曞厓
array_values - 杩斿洖鏁扮粍涓墍鏈夌殑鍊
array_walk - 瀵规暟缁勪腑鐨勬瘡涓垚鍛樺簲鐢ㄧ敤鎴峰嚱鏁
array_walk_recursive - 瀵规暟缁勪腑鐨勬瘡涓垚鍛橀掑綊鍦板簲鐢ㄧ敤鎴峰嚱鏁
arsort - 瀵规暟缁勮繘琛岄嗗悜鎺掑簭骞朵繚鎸佺储寮曞叧绯
asort - 瀵规暟缁勮繘琛屾帓搴忓苟淇濇寔绱㈠紩鍏崇郴
compact - 寤虹珛涓涓暟缁勶紝鍖呮嫭鍙橀噺鍚嶅拰瀹冧滑鐨勫
count - 璁$畻鏁扮粍涓殑鍗曞厓鏁扮洰鎴栧璞′腑鐨勫睘鎬т釜鏁
current - 杩斿洖鏁扮粍涓殑褰撳墠鍗曞厓
each - 杩斿洖鏁扮粍涓綋鍓嶇殑閿紡鍊煎骞跺皢鏁扮粍鎸囬拡鍚戝墠绉诲姩涓姝
end - 灏嗘暟缁勭殑鍐呴儴鎸囬拡鎸囧悜鏈鍚庝竴涓崟鍏
extract - 浠庢暟缁勪腑灏嗗彉閲忓鍏ュ埌褰撳墠鐨勭鍙疯〃
in_array - 妫鏌ユ暟缁勪腑鏄惁瀛樺湪鏌愪釜鍊
key - 浠庡叧鑱旀暟缁勪腑鍙栧緱閿悕
krsort - 瀵规暟缁勬寜鐓ч敭鍚嶉嗗悜鎺掑簭
ksort - 瀵规暟缁勬寜鐓ч敭鍚嶆帓搴
list - 鎶婃暟缁勪腑鐨勫艰祴缁欎竴浜涘彉閲
natcasesort - 鐢ㄢ滆嚜鐒舵帓搴忊濈畻娉曞鏁扮粍杩涜涓嶅尯鍒嗗ぇ灏忓啓瀛楁瘝鐨勬帓搴
natsort - 鐢ㄢ滆嚜鐒舵帓搴忊濈畻娉曞鏁扮粍鎺掑簭
next - 灏嗘暟缁勪腑鐨勫唴閮ㄦ寚閽堝悜鍓嶇Щ鍔ㄤ竴浣
pos - current 鐨勫埆鍚
prev - 灏嗘暟缁勭殑鍐呴儴鎸囬拡鍊掑洖涓浣
range - 寤虹珛涓涓寘鍚寚瀹氳寖鍥村崟鍏冪殑鏁扮粍
reset - 灏嗘暟缁勭殑鍐呴儴鎸囬拡鎸囧悜绗竴涓崟鍏
rsort - 瀵规暟缁勯嗗悜鎺掑簭
shuffle - 灏嗘暟缁勬墦涔
sizeof - count 鐨勫埆鍚
sort - 瀵规暟缁勬帓搴
uasort - 浣跨敤鐢ㄦ埛鑷畾涔夌殑姣旇緝鍑芥暟瀵规暟缁勪腑鐨勫艰繘琛屾帓搴忓苟淇濇寔绱㈠紩鍏宠仈
uksort - 浣跨敤鐢ㄦ埛鑷畾涔夌殑姣旇緝鍑芥暟瀵规暟缁勪腑鐨勯敭鍚嶈繘琛屾帓搴
usort - 浣跨敤鐢ㄦ埛鑷畾涔夌殑姣旇緝鍑芥暟瀵规暟缁勪腑鐨勫艰繘琛屾帓搴

浠ヤ笂灏辨槸PHP鏁扮粍鐨勮缁嗗唴瀹癸紝鏇村淇℃伅璇峰叧娉∣D浜戝叾瀹冪浉鍏虫枃绔狅紒



鏈枃URL锛http://www.odweb.cn/news_show.html?id=112