Re: array_intersect_key
| From: | Andrey Hristov | Date: | Wed, 21 Jul 2004 23:24:43 +0000 |
| Subject: | Re: array_intersect_key | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-11451@lists.php.net to get a copy of this message | ||
Andi Gutmans wrote:
I suggest to make those #define's bit flags and then change: } else if (behavior == INTERSECT_ASSOC || behavior == INTERSECT_KEY) to (behavior & (INTERSECT|INTERSECT_KEY))This idea came to my mind too. I have already commited a working version without bitflags but in the next days I will rework it to use them. andrey