removeHtmlSpecialChars() public static méthode

Remove accentued characters and return lower case string
public static removeHtmlSpecialChars ( string $string ) : string
$string string String to handle
Résultat string
Exemple #1
0
 public function testRemoveHtmlSpecialChars()
 {
     $original = 'My - string èé  Ê À ß';
     $expected = 'my - string ee  e a sz';
     $result = Toolbox::removeHtmlSpecialChars($original);
     $this->assertEquals($expected, $result);
 }