(PECL event >= 1.2.6-beta)
Scans the buffer for an occurrence of a string
public mixed EventBuffer::search ( string $what [, int $start = -1 [, int $end = -1 ]] )
Scans the buffer for an occurrence of the string what . It returns numeric position of the string, or FALSE if the string was not found.
If the start argument is provided, it points to the position at which the search should begin; otherwise, the search is