File_SearchReplace::getNumOccurences() – return number of replaces


require_once 'File/SearchReplace.php';

integer File_SearchReplace::getNumOccurences ( )


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

Return value

integer - the number of occurences


This function can not be called statically.

constructor (Previous) execute search&replace (Next)
Last updated: Thu, 19 Jan 2017 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.