protected static escapeAttrChar ( array $matches ) : mixed | ||
$matches | array | |
return | mixed | Unicode replacement if character is undefined in HTML, named HTML entity if available (only those that XML supports), upper hex entity if a named entity does not exist or entity with the &#xHH; format if ASCII value is less than 256. |