Especially houses method-overwrites for utf-8 security in this case.
static Array array_insert( $array, uint $index, * $value)
static String auto_htmlspecialchars( String $string, [Boolean $needsUtf8 = false])
static Boolean auto_preg_match( String $pattern, String $string, [Boolean $needsBinarySafety = false])
static String auto_preg_replace( String $pattern, String $replacement, String $string, [Boolean $needsBinarySafety = false])
static uint auto_strlen( String $string, [Boolean $needsBinarySafety = false])
static uint/Boolean auto_strpos( String $haystack, String $needle, [Boolean $needsBinarySafety = false])
static String/Array undoMagicQuotes( [String/Array $data = null])