[PHP-DEV] CVS update: php3/doc/functions From: rasmus (php-dev <email protected>)
Date: 03/30/99

Date: Tuesday March 30, 1999 @ 7:42
Author: rasmus

Update of /repository/php3/doc/functions
In directory asf:/home/rasmus/php3/doc/functions

Modified Files:
        filesystem.sgml strings.sgml
Log Message:
Document strip_tags() function

Index: php3/doc/functions/filesystem.sgml
diff -c php3/doc/functions/filesystem.sgml:1.35 php3/doc/functions/filesystem.sgml:1.36
*** php3/doc/functions/filesystem.sgml:1.35 Sun Jan 31 11:15:16 1999
--- php3/doc/functions/filesystem.sgml Tue Mar 30 07:42:11 1999
***************
*** 398,404 ****
  
      <para>
       See also <function>fgets</function>, <function>fopen</function>,
! <function>fsockopen</function>, and <function>popen</function>.
  
     </refsect1>
    </refentry>
--- 398,405 ----
  
      <para>
       See also <function>fgets</function>, <function>fopen</function>,
! <function>fsockopen</function>, <function>popen</function>,
! and <function>strip_tags</function>.
  
     </refsect1>
    </refentry>
Index: php3/doc/functions/strings.sgml
diff -c php3/doc/functions/strings.sgml:1.56 php3/doc/functions/strings.sgml:1.57
*** php3/doc/functions/strings.sgml:1.56 Tue Mar 30 06:24:59 1999
--- php3/doc/functions/strings.sgml Tue Mar 30 07:42:11 1999
***************
*** 1091,1096 ****
--- 1091,1114 ----
     </refsect1>
    </refentry>
  
+ <refentry id="function.strip-tags">
+ <refnamediv>
+ <refname>strip_tags</refname>
+ <refpurpose>Strip HTML and PHP tags from a string/refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <funcsynopsis>
+ <funcdef>string <function>str</function></funcdef>
+ </funcsynopsis>
+ <simpara>
+ This function tries to strip all HTML and PHP tags from the given string.
+ It errors on the side of caution in case of incomplete or bogus tags. It
+ uses the same tag stripping state machine as the <function>fgetss</function>
+ function.
+ </refsect1>
+ </refentry>
+
    <refentry id="function.stripslashes">
     <refnamediv>
      <refname>StripSlashes</refname>

--
PHP Development Mailing List   http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe <email protected>
For help: php-dev-help <email protected>