On 06/11/04 17:17 Curt Zirzow spoke:
* Thus wrote Bob Lockie ([EMAIL PROTECTED]):
I'm having a very hard time testing array_search.
$j = array_search( $i, $errList );
echo "j=" . $j;
if (($j != false) && ($j >= 0)) {
mixed array_search ( mixed needle, array haystack [, bool strict])
Searches hays
* Thus wrote Bob Lockie ([EMAIL PROTECTED]):
> I'm having a very hard time testing array_search.
>
> $j = array_search( $i, $errList );
> echo "j=" . $j;
> if (($j != false) && ($j >= 0)) {
mixed array_search ( mixed needle, array haystack [, bool strict])
Searches haystack for needle and retur
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)) {
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm having a very hard time testing array_search.
$j = array_search( $i, $errList );
echo "j=" . $j;
if (($j != false) && ($j >= 0)) {
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
4 matches
Mail list logo