require_once 'File/SearchReplace.php';
void File_SearchReplace::File_SearchReplace (string $find, string $replace, string $files [, mixed $directories = '' [, boolean $include_subdir = TRUE [, array $ignore_lines = array()]]])
void File_SearchReplace::File_SearchReplace
Constructor
string $find - the string/regex to find
string $replace - the string/regex to replace $find
array $files - the file(s) to perform this operation on.
array $directories - the directories to perform this operation on.
boolean $include_subdir - if performing on directories, whether to traverse subdirectories.
array $ignore_lines - ignore lines beginning with any of the strings in this array. This feature only works with the "normal" search.
This function can be called statically.