Added example for strip_tags()

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@57495 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Philip Olson 2001-09-13 07:49:58 +00:00
parent b1edc67a1f
commit a2850c185a

View file

@ -1,5 +1,5 @@
<?xml encoding="iso-8859-1"?>
<!-- $Revision: 1.108 $ -->
<!-- $Revision: 1.109 $ -->
<reference id="ref.strings">
<title>String functions</title>
<titleabbrev>Strings</titleabbrev>
@ -2490,6 +2490,14 @@ if (!strcasecmp($var1, $var2)) {
</para>
</note>
</para>
<para>
<example>
<title><function>strip_tags</function> example</title>
<programlisting role="php">
$string = strip_tags($string, '&lt;a&gt;&lt;b&gt;&lt;i&gt;');
</programlisting>
</example>
</para>
</refsect1>
</refentry>