Example #1
0
 /**
  * Determines if a string is equal to another string, comparing case-insensitively.
  *
  * @param  string $toString The second string for comparison.
  * @param  bitfield $collationFlags **OPTIONAL. Default is** `COLLATION_DEFAULT`. The collation option(s) to be
  * used for the comparison. The available collation options are `COLLATION_IGNORE_ACCENTS`,
  * `COLLATION_IGNORE_NONWORD`, `COLLATION_UPPERCASE_FIRST`, and `COLLATION_FRENCH` (see [Summary](#summary)).
  *
  * @return bool `true` if the two strings are equal, ignoring the letter case of the characters, and `false`
  * otherwise.
  */
 public function equalsCi($toString, $collationFlags = self::COLLATION_DEFAULT)
 {
     return CUString::equalsCi($this, $toString, $collationFlags);
 }