Re: array_intersect_key
| From: | Andrey Hristov | Date: | Wed, 21 Jul 2004 23:22:31 +0000 |
| Subject: | Re: array_intersect_key | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-11450@lists.php.net to get a copy of this message | ||
Cristiano Duarte wrote:
Andrey Hristov wrote:but when writing the regression tests I spotted a bug. I thought it is not related to the new functions. After some testing I found the problem and it was related to array_diff_*key(). I have placed a comment in the source at about line 3364. cheers, andreyHallo Cristiano, these 2 function will be added to HEAD in few minutes. I see that the patch is kind of trivial and won't hurt anything :) (INTERSECT_KEY is just INTERSECT_ASSOC but no data comparison performed). I will add also array_diff_key() and array_diff_ukey()I changed the function name from array_udiff_key to array_diff_ukey. Is this ok ? Patch attached. Well, my patch for array_diff_key() and array_diff_ukey() looked like yours