git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@32572 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Rasmus Lerdorf 2000-09-12 17:39:28 +00:00
parent 8a30b62aeb
commit 35d9f0c176

View file

@ -842,7 +842,7 @@ $original = strtr ($str, $trans);
<example>
<title><function>htmlspecialchars</function> example</title>
<programlisting role="php">
$new = htmlspecialchars("<a href='test'>Test</a>", ENT_QUOTES);
$new = htmlspecialchars("&lt;a href='test'&gt;Test&lt;/a&gt;", ENT_QUOTES);
</programlisting>
</example>
</para>