SYNOPSIS

int rmember( mixed *array, mixed elem [, int start])
int rmember( string s, int elem [, int start])

DESCRIPTION

For arrays and strings, returns the index of the last occurance of second arg in the first arg, or -1 if none found. If start is given and non-negative, the search starts at that position.

HISTORY

  • introduced (3.2.10)
  • changed (3.3.556) – added the start parameter.

SEE ALSO

member(E)