File_SearchReplace::File_SearchReplace()

File_SearchReplace::File_SearchReplace()

File_SearchReplace::File_SearchReplace() -- constructor

Description

Constructor

Parameter

  • mixed $find - the string/regex or array of strings/regexes to find

  • mixed $replace - the string/regex or array of strings/regexes 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.

Note

This function can be called statically.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.