PEAR Manual
Prev |  | Next

# File_SearchReplace::getNumOccurences()

File_SearchReplace::getNumOccurences() -- return number of replaces

## Synopsis

    require_once 'File/SearchReplace.php';

``integer File_SearchReplace::getNumOccurences` ()`

## Description

Returns the the number replaced strings after a File_SearchReplace::doSearch() call.

## Return value

`integer` - the number of occurences

## Note

This function can not be called statically.

Prev | Home | Next
File_SearchReplace::File_SearchReplace() | Up | File_SearchReplace::doSearch()