cvs: phpdoc-de /reference/strings/functions strip-tags.xml

From: Date: Wed, 09 May 2007 09:28:01 +0000
Subject: cvs: phpdoc-de /reference/strings/functions strip-tags.xml
Groups: php.doc.de 
Request: Send a blank email to doc-de+get-2162@lists.php.net to get a copy of this message
sammywg Wed May 9 09:28:01 2007 UTC Modified files: /phpdoc-de/reference/strings/functions strip-tags.xml Log: sync to en http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/strings/functions/strip-tags.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-de/reference/strings/functions/strip-tags.xml diff -u phpdoc-de/reference/strings/functions/strip-tags.xml:1.4 phpdoc-de/reference/strings/functions/strip-tags.xml:1.5 --- phpdoc-de/reference/strings/functions/strip-tags.xml:1.4 Fri May 12 14:52:28 2006 +++ phpdoc-de/reference/strings/functions/strip-tags.xml Wed May 9 09:28:01 2007 @@ -1,7 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> -<!-- EN-Revision: 1.11 Maintainer: sammywg Status: ready --> -<!-- splitted from ./de/functions/strings.xml, last change in rev 1.2 --> +<!-- $Revision: 1.5 $ --> +<!-- EN-Revision: 1.13 Maintainer: sammywg Status: ready --> <refentry id="function.strip-tags"> <refnamediv> <refname>strip_tags</refname> @@ -26,7 +25,7 @@ <note> <para> <parameter>allowable_tags</parameter> steht ab PHP 3.0.13 bzw. - PHP 4.0b3 zur Verfügung. + PHP 4.0.0 zur Verfügung. </para> <para> Since PHP 4.3.0, HTML comments are also stripped. This is hardcoded and can @@ -56,12 +55,12 @@ <programlisting role="php"> <![CDATA[ <?php -$text = '<p>Test-Absatz.</p><!-- Kommentar --> Anderer Text'; +$text = '<p>Test-Absatz.</p><!-- Kommentar --> <a href="#fragment">Anderer Text</a>'; echo strip_tags($text); echo "\n"; -// <p> zulassen -echo strip_tags($text, '<p>'); +// <p> und <a> zulassen +echo strip_tags($text, '<p><a>'); ?> ]]> </programlisting> @@ -69,7 +68,7 @@ <screen> <![CDATA[ Test-Absatz. Anderer Text -<p>Test-Absatz.</p> Anderer Text +<p>Test-Absatz.</p> <a href="#fragment">Anderer Text</a> ]]> </screen> </example>

« previous php.doc.de (#2162) next »