1
0
mirror of https://github.com/php/doc-de.git synced 2026-04-29 18:03:13 +02:00
Files
archived-doc-de/reference/strings/functions/nl2br.xml
T
Thomas Schoefbeck 9f36f8435c sync to en
git-svn-id: https://svn.php.net/repository/phpdoc/de/trunk@115614 c90b9560-bf6c-de11-be94-00142212c4b1
2003-02-10 20:22:58 +00:00

58 lines
1.6 KiB
XML

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.4 $ -->
<!-- EN-Revision: 1.3 Maintainer: tom Status: ready -->
<!-- CREDITS: tschuer -->
<refentry id="function.nl2br">
<refnamediv>
<refname>nl2br</refname>
<refpurpose>
Fügt vor allen Zeilenumbrüchen eines Strings HTML-Zeilenumbrüche ein
</refpurpose>
</refnamediv>
<refsect1>
<title>Beschreibung</title>
<methodsynopsis>
<type>string</type><methodname>nl2br</methodname>
<methodparam><type>string</type><parameter>string</parameter></methodparam>
</methodsynopsis>
<para>
Gibt den <parameter>string</parameter> mit einem vor allen
Neue-Zeile-Zeichen eingefügten '&lt;br /&gt;' zurück.
</para>
<note>
<para>
Seit PHP 4.0.5 ist <function>nl2br</function> XHTML konform. Vor
PHP 4.0.5 wird <parameter>string</parameter> mit '&lt;br&gt;'
vor allen Zeilenumbrüchen eingefügt, anstatt von '&lt;br /&gt;'.
</para>
</note>
<para>
Siehe auch <function>htmlspecialchars</function>,
<function>htmlentities</function>,
<function>wordwrap</function>, und
<function>str_replace</function>.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->