Re: testing array_search
| From: | Daniel Clark | Date: | Fri, 11 Jun 2004 18:18:32 +0000 |
| Subject: | Re: testing array_search | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-188125@lists.php.net to get a copy of this message | ||
What output do you get?
> I'm having a very hard time testing array_search.
>
> $j = array_search( $i, $errList );
> echo "j=" . $j;
> if (($j != false) && ($j >= 0)) {