NAME
	member_array - find the position of an element in an array

SYNOPSIS
	int member_array(mixed element, mixed *array)

DESCRIPTION
	Gives the index in 'array' which is occupied with the value 'element'.
	If 'element' is not found or an integer is given instead of an array
	as second argument, -1 is returned.

	Searching works like the equality operator, ie integers and strings
	are compared for equality and arrays and mappings for identity.

	This means that integers and strings must have the same value to match,
	while arrays and mappings must be the exactly same.

Help topics available:
_m_delete allocate atoi capitalize clear_bit
crypt ctime explode filter_array filter_mapping
implode intp itoa lower_case m_delete
m_indices m_sizeof m_values map_array map_mapping
mappingp member_array mkmapping objectp pointerp
replace set_bit sizeof sort_array sscanf
stringp strlen test_bit unique_array upper_case

[START|BACK ]




[ NannyMuds main page | FAQ | Contact us ]

You are guest number 232 since November 2019.
This file was last modified: June 2000.