in_array(): Andrei
| From: | David Newcomb | Date: | Thu, 07 Sep 2000 17:55:31 +0000 |
| Subject: | in_array(): Andrei | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-15758@lists.php.net to get a copy of this message | ||
Hi me again,
I've just seen http://www.php.net/ChangeLog-4.php
which says: "Modified in_array() to not touch array pointer. (Andrei)"
Apart from "for (i=0 to sizeof(array)) if (a==b[i]) break..."
how can I do the same job as the old in_array()?
Regards,
David.