Collections functions
Encryption functions
General functions
Theme permission functions
Resource functions

xml_entities()

Description

Returns an xml compliant string in UTF-8

Built upon a code snippet from steve at mcdragonsoftware dot com
@link http://php.net/manual/en/function.htmlentities.php#106535

@access public

Parameters

ColumnTypeDefaultDescription
$string string A string to be made xml compliant.
$fromcharset string "" The charset of $string.

Return

string Returns the xml compliant UTF-8 encoded string.

This article was last updated 29th June 2020 14:35 Europe/London time based on the source file dated 26th June 2020 16:32 Europe/London time.