note 92291 added to function.array-intersect-assoc
| From: | amoo_miki at yahoo dot com | Date: | Fri, 17 Jul 2009 19:58:19 +0000 |
| Subject: | note 92291 added to function.array-intersect-assoc | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-158430@lists.php.net to get a copy of this message | ||
A method to find intersection of two or more arrays when comparison is based only on keys
array_uintersect_assoc($array1 , $array2 [, $ array... ], create_function(null, "return
0;"));
This returns an associative array containing all the keys in array1 that are present in all of the
arguments.
----
Server IP: 69.147.83.197
Probable Submitter: 142.46.151.92
----
Manual Page -- http://www.php.net/manual/en/function.array-intersect-assoc.php
Edit -- https://master.php.net/note/edit/92291
Del: integrated -- https://master.php.net/note/delete/92291/integrated
Del: useless -- https://master.php.net/note/delete/92291/useless
Del: bad code -- https://master.php.net/note/delete/92291/bad+code
Del: spam -- https://master.php.net/note/delete/92291/spam
Del: non-english -- https://master.php.net/note/delete/92291/non-english
Del: in docs -- https://master.php.net/note/delete/92291/in+docs
Del: other reasons-- https://master.php.net/note/delete/92291
Reject -- https://master.php.net/note/reject/92291
Search -- https://master.php.net/manage/user-notes.php