User Tools

Site Tools


uphp:functions:htmlspecialchars

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
uphp:functions:htmlspecialchars [2017/05/09 10:05]
jeff
uphp:functions:htmlspecialchars [2021/09/13 05:57] (current)
Line 21: Line 21:
 <html><b><span style="color:blue">$data<span style="color:black"></b>:  <b><span style="color:green">String<span style="color:black"></b> to be formatted</html> <html><b><span style="color:blue">$data<span style="color:black"></b>:  <b><span style="color:green">String<span style="color:black"></b> to be formatted</html>
  
-====Return Value====+====Return Values====
  
 <html><b><span style="color:green">String<span style="color:black"></b> with certain characters replaced. The translations performed are:</html> <html><b><span style="color:green">String<span style="color:black"></b> with certain characters replaced. The translations performed are:</html>
  
 ^CHARACTER^NAME^TRANSLATED (HTML ENTITY)^ ^CHARACTER^NAME^TRANSLATED (HTML ENTITY)^
-|&|ampersand|&amp;+|&|ampersand|''&amp;''
-|"|double quote|&quot;+|"|double quote|''&quot;''
-|'|single quote|&#039;+|'|single quote|''&#039;''
-|<|less than|&lt;+|<|less than|''&lt;''
-|>|greater than|&gt;|+|>|greater than|''&gt;''|
  
 ====Examples==== ====Examples====
uphp/functions/htmlspecialchars.1494324332.txt.gz · Last modified: 2021/09/13 05:56 (external edit)