Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

remove_accents()

3 tags 1 category

remove_accents() — Converts all accent characters to ASCII characters. If there are no accent characters, then the string given is just returned.

Inputs: $text (string): Text that might have accent characters. $locale (string): Optional. The locale to use for accent removal. Some character replacements depend on the locale being used (e.g. ‘de_DE’). Defaults to the current locale.

Returns string: Filtered string with replaced “nice” characters.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…