|
update : 2015.11.03
php.shukuma.com검색:
|
array_diff_ukey(PHP 5 >= 5.1.0, PHP 7) array_diff_ukey — Computes the difference of arrays using a callback function on the keys for comparison 설명
Compares the keys from Unlike array_diff_key() a user supplied callback function is used for the indices comparison, not internal function. 인수
반환값
Returns an array containing all the entries from
예제
Example #1 array_diff_ukey() example
<?php위 예제의 출력:
array(2) {
["red"]=>
int(2)
["purple"]=>
int(4)
}
주의
참고
|