MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / xmlentities

Function xmlentities

tools/checker.php:104–106  ·  view source on GitHub ↗
($string)

Source from the content-addressed store, hash-verified

102}
103
104function xmlentities($string) {
105 return str_replace(array("&", "<", ">", "\"", "'"), array("&amp;", "&lt;", "&gt;", "&quot;", "&apos;"), $string);
106}
107
108
109

Callers 1

checker.phpFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected