WordPress File wp-includes/formatting.php

ent2ncr()

Converts named entities into numbered entities.

esc_js()

Escapes single quotes, ", , &, and fixes line endings.

esc_sql()

Escapes data for use in a MySQL query.