cvs: phpdoc-de /features http-auth.xml /reference/pcre pattern.modifiers.xml /reference/pcre/functions preg-match-all.xml preg-match.xml
preg-replace.xml /reference/posix book.xml
| From: | Martin Samesch | Date: | Wed, 12 Mar 2008 15:38:13 +0000 |
| Subject: | cvs: phpdoc-de /features http-auth.xml /reference/pcre pattern.modifiers.xml /reference/pcre/functions preg-match-all.xml preg-match.xml preg-replace.xml /reference/posix book.xml |
||
| Groups: | php.doc.de | ||
| Request: | Send a blank email to doc-de+get-2538@lists.php.net to get a copy of this message | ||
samesch Wed Mar 12 15:38:13 2008 UTC
Modified files:
/phpdoc-de/features http-auth.xml
/phpdoc-de/reference/pcre pattern.modifiers.xml
/phpdoc-de/reference/pcre/functions preg-match-all.xml
preg-match.xml preg-replace.xml
/phpdoc-de/reference/posix book.xml
Log:
syncing with EN
http://cvs.php.net/viewvc.cgi/phpdoc-de/features/http-auth.xml?r1=1.19&r2=1.20&diff_format=u Index: phpdoc-de/features/http-auth.xml diff -u phpdoc-de/features/http-auth.xml:1.19 phpdoc-de/features/http-auth.xml:1.20 --- phpdoc-de/features/http-auth.xml:1.19 Mon Nov 26 21:45:24 2007 +++ phpdoc-de/features/http-auth.xml Wed Mar 12 15:38:13 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.19 $ --> -<!-- EN-Revision: 1.50 Maintainer: samesch Status: ready --> +<!-- $Revision: 1.20 $ --> +<!-- EN-Revision: 1.51 Maintainer: samesch Status: ready --> <chapter xml:id="features.http-auth" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>HTTP-Authentifizierung mit PHP</title> @@ -29,7 +29,6 @@ <link linkend="language.variables.superglobals">Superglobale</link>, wie <link linkend="reserved.variables.server">$_SERVER</link>, sind seit PHP <link xlink:href="&url.php.release4.1.0;">4.1.0</link> verfügbar. - <varname>$HTTP_SERVER_VARS</varname> steht seit PHP 3 zur Verfügung. </para> </note> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/pcre/pattern.modifiers.xml?r1=1.10&r2=1.11&diff_format=u Index: phpdoc-de/reference/pcre/pattern.modifiers.xml diff -u phpdoc-de/reference/pcre/pattern.modifiers.xml:1.10 phpdoc-de/reference/pcre/pattern.modifiers.xml:1.11 --- phpdoc-de/reference/pcre/pattern.modifiers.xml:1.10 Fri Jan 4 21:32:08 2008 +++ phpdoc-de/reference/pcre/pattern.modifiers.xml Wed Mar 12 15:38:13 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.14 Maintainer: samesch Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.15 Maintainer: samesch Status: ready --> <!-- splitted from ./en/functions/pcre.xml, last change in rev 1.2 --> <article xml:id="reference.pcre.pattern.modifiers" xmlns="http://docbook.org/ns/docbook"> <title>Suchmuster-Modifikatoren</title> @@ -92,11 +92,6 @@ <para> Dieser Modifikator wird nur von <function>preg_replace</function> verwendet; von anderen PCRE-Funktionen wird er ignoriert. - <note> - <simpara> - Dieser Modifikator steht in PHP 3 nicht zur Verfügung. - </simpara> - </note> </para> </listitem> </varlistentry> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/pcre/functions/preg-match-all.xml?r1=1.14&r2=1.15&diff_format=u Index: phpdoc-de/reference/pcre/functions/preg-match-all.xml diff -u phpdoc-de/reference/pcre/functions/preg-match-all.xml:1.14 phpdoc-de/reference/pcre/functions/preg-match-all.xml:1.15 --- phpdoc-de/reference/pcre/functions/preg-match-all.xml:1.14 Sat Aug 18 16:19:11 2007 +++ phpdoc-de/reference/pcre/functions/preg-match-all.xml Wed Mar 12 15:38:13 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.14 $ --> -<!-- EN-Revision: 1.25 Maintainer: samesch Status: ready --> +<!-- $Revision: 1.15 $ --> +<!-- EN-Revision: 1.26 Maintainer: samesch Status: ready --> <refentry xml:id="function.preg-match-all" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>preg_match_all</refname> @@ -275,6 +275,71 @@ </screen> </example> </para> + <para> + <example> + <title>Benannte Teilsuchmuster (named subpatterns)</title> + <programlisting role="php"> +<![CDATA[ +<?php + +$str = <<<FOO +a: 1 +b: 2 +c: 3 +FOO; + +preg_match_all('/(?<name>\w+): (?<zahl>\d+)/', $str, $treffer); + +print_r($treffer); + +?> +]]> + </programlisting> + &example.outputs; + <screen role="html"> +<![CDATA[ +Array +( + [0] => Array + ( + [0] => a: 1 + [1] => b: 2 + [2] => c: 3 + ) + + [name] => Array + ( + [0] => a + [1] => b + [2] => c + ) + + [1] => Array + ( + [0] => a + [1] => b + [2] => c + ) + + [zahl] => Array + ( + [0] => 1 + [1] => 2 + [2] => 3 + ) + + [2] => Array + ( + [0] => 1 + [1] => 2 + [2] => 3 + ) + +) +]]> + </screen> + </example> + </para> </refsect1> <refsect1 role="seealso"> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/pcre/functions/preg-match.xml?r1=1.13&r2=1.14&diff_format=u Index: phpdoc-de/reference/pcre/functions/preg-match.xml diff -u phpdoc-de/reference/pcre/functions/preg-match.xml:1.13 phpdoc-de/reference/pcre/functions/preg-match.xml:1.14 --- phpdoc-de/reference/pcre/functions/preg-match.xml:1.13 Sat Aug 18 16:19:11 2007 +++ phpdoc-de/reference/pcre/functions/preg-match.xml Wed Mar 12 15:38:13 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.13 $ --> -<!-- EN-Revision: 1.26 Maintainer: samesch Status: ready --> +<!-- $Revision: 1.14 $ --> +<!-- EN-Revision: 1.27 Maintainer: samesch Status: ready --> <refentry xml:id="function.preg-match" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>preg_match</refname> @@ -267,6 +267,37 @@ </screen> </example> </para> + <para> + <example> + <title>Benannte Teilsuchmuster (named subpatterns)</title> + <programlisting role="php"> +<![CDATA[ +<?php + +$str = 'foobar: 2008'; + +preg_match('/(?<name>\w+): (?<zahl>\d+)/', $str, $treffer); + +print_r($treffer); + +?> +]]> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +Array +( + [0] => foobar: 2008 + [name] => foobar + [1] => foobar + [zahl] => 2008 + [2] => 2008 +) +]]> + </screen> + </example> + </para> </refsect1> <refsect1 role="notes"> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/pcre/functions/preg-replace.xml?r1=1.10&r2=1.11&diff_format=u Index: phpdoc-de/reference/pcre/functions/preg-replace.xml diff -u phpdoc-de/reference/pcre/functions/preg-replace.xml:1.10 phpdoc-de/reference/pcre/functions/preg-replace.xml:1.11 --- phpdoc-de/reference/pcre/functions/preg-replace.xml:1.10 Sat Jun 23 13:21:44 2007 +++ phpdoc-de/reference/pcre/functions/preg-replace.xml Wed Mar 12 15:38:13 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.26 Maintainer: samesch Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.27 Maintainer: samesch Status: ready --> <refentry xml:id="function.preg-replace" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>preg_replace</refname> @@ -150,7 +150,8 @@ <para> Falls Übereinstimmungen gefunden wurden, wird die neue <parameter>Zeichenkette</parameter> zurückgegeben, andernfalls wird - <parameter>Zeichenkette</parameter> unverändert zurückgegeben. + <parameter>Zeichenkette</parameter> unverändert zurückgegeben oder &null;, + falls ein Fehler auftrat. </para> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/posix/book.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-de/reference/posix/book.xml diff -u phpdoc-de/reference/posix/book.xml:1.1 phpdoc-de/reference/posix/book.xml:1.2 --- phpdoc-de/reference/posix/book.xml:1.1 Fri Dec 28 08:39:52 2007 +++ phpdoc-de/reference/posix/book.xml Wed Mar 12 15:38:13 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.2 Maintainer: samesch Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.3 Maintainer: samesch Status: ready --> <!-- Purpose: fileprocess.process --> <!-- Membership: bundled --> @@ -13,11 +13,7 @@ <para> Dieses Modul enthält eine Schnittstelle zu den im IEEE 1003.1 (POSIX.1) Standards Dokument definierten Funktionen, die auf einem anderen Weg nicht - erreichbar sind. POSIX.1 definierte zum Beispiel auch die open(), read(), - write() und close() Funktionen, die seit langer Zeit Bestandteil von PHP 3 - sind. Trotzdem standen einige andere systemspezifische Funktionen bisher - nicht zur Verfügung. Dieses Modul versucht hier Abhilfe zu schaffen, indem - es einen einfachen Zugang zu diesen Funktionen bereitstellt. + erreichbar sind. </para> <warning> <para>
http://cvs.php.net/viewvc.cgi/phpdoc-de/features/http-auth.xml?r1=1.19&r2=1.20&diff_format=u Index: phpdoc-de/features/http-auth.xml diff -u phpdoc-de/features/http-auth.xml:1.19 phpdoc-de/features/http-auth.xml:1.20 --- phpdoc-de/features/http-auth.xml:1.19 Mon Nov 26 21:45:24 2007 +++ phpdoc-de/features/http-auth.xml Wed Mar 12 15:38:13 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.19 $ --> -<!-- EN-Revision: 1.50 Maintainer: samesch Status: ready --> +<!-- $Revision: 1.20 $ --> +<!-- EN-Revision: 1.51 Maintainer: samesch Status: ready --> <chapter xml:id="features.http-auth" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>HTTP-Authentifizierung mit PHP</title> @@ -29,7 +29,6 @@ <link linkend="language.variables.superglobals">Superglobale</link>, wie <link linkend="reserved.variables.server">$_SERVER</link>, sind seit PHP <link xlink:href="&url.php.release4.1.0;">4.1.0</link> verfügbar. - <varname>$HTTP_SERVER_VARS</varname> steht seit PHP 3 zur Verfügung. </para> </note> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/pcre/pattern.modifiers.xml?r1=1.10&r2=1.11&diff_format=u Index: phpdoc-de/reference/pcre/pattern.modifiers.xml diff -u phpdoc-de/reference/pcre/pattern.modifiers.xml:1.10 phpdoc-de/reference/pcre/pattern.modifiers.xml:1.11 --- phpdoc-de/reference/pcre/pattern.modifiers.xml:1.10 Fri Jan 4 21:32:08 2008 +++ phpdoc-de/reference/pcre/pattern.modifiers.xml Wed Mar 12 15:38:13 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.14 Maintainer: samesch Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.15 Maintainer: samesch Status: ready --> <!-- splitted from ./en/functions/pcre.xml, last change in rev 1.2 --> <article xml:id="reference.pcre.pattern.modifiers" xmlns="http://docbook.org/ns/docbook"> <title>Suchmuster-Modifikatoren</title> @@ -92,11 +92,6 @@ <para> Dieser Modifikator wird nur von <function>preg_replace</function> verwendet; von anderen PCRE-Funktionen wird er ignoriert. - <note> - <simpara> - Dieser Modifikator steht in PHP 3 nicht zur Verfügung. - </simpara> - </note> </para> </listitem> </varlistentry> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/pcre/functions/preg-match-all.xml?r1=1.14&r2=1.15&diff_format=u Index: phpdoc-de/reference/pcre/functions/preg-match-all.xml diff -u phpdoc-de/reference/pcre/functions/preg-match-all.xml:1.14 phpdoc-de/reference/pcre/functions/preg-match-all.xml:1.15 --- phpdoc-de/reference/pcre/functions/preg-match-all.xml:1.14 Sat Aug 18 16:19:11 2007 +++ phpdoc-de/reference/pcre/functions/preg-match-all.xml Wed Mar 12 15:38:13 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.14 $ --> -<!-- EN-Revision: 1.25 Maintainer: samesch Status: ready --> +<!-- $Revision: 1.15 $ --> +<!-- EN-Revision: 1.26 Maintainer: samesch Status: ready --> <refentry xml:id="function.preg-match-all" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>preg_match_all</refname> @@ -275,6 +275,71 @@ </screen> </example> </para> + <para> + <example> + <title>Benannte Teilsuchmuster (named subpatterns)</title> + <programlisting role="php"> +<![CDATA[ +<?php + +$str = <<<FOO +a: 1 +b: 2 +c: 3 +FOO; + +preg_match_all('/(?<name>\w+): (?<zahl>\d+)/', $str, $treffer); + +print_r($treffer); + +?> +]]> + </programlisting> + &example.outputs; + <screen role="html"> +<![CDATA[ +Array +( + [0] => Array + ( + [0] => a: 1 + [1] => b: 2 + [2] => c: 3 + ) + + [name] => Array + ( + [0] => a + [1] => b + [2] => c + ) + + [1] => Array + ( + [0] => a + [1] => b + [2] => c + ) + + [zahl] => Array + ( + [0] => 1 + [1] => 2 + [2] => 3 + ) + + [2] => Array + ( + [0] => 1 + [1] => 2 + [2] => 3 + ) + +) +]]> + </screen> + </example> + </para> </refsect1> <refsect1 role="seealso"> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/pcre/functions/preg-match.xml?r1=1.13&r2=1.14&diff_format=u Index: phpdoc-de/reference/pcre/functions/preg-match.xml diff -u phpdoc-de/reference/pcre/functions/preg-match.xml:1.13 phpdoc-de/reference/pcre/functions/preg-match.xml:1.14 --- phpdoc-de/reference/pcre/functions/preg-match.xml:1.13 Sat Aug 18 16:19:11 2007 +++ phpdoc-de/reference/pcre/functions/preg-match.xml Wed Mar 12 15:38:13 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.13 $ --> -<!-- EN-Revision: 1.26 Maintainer: samesch Status: ready --> +<!-- $Revision: 1.14 $ --> +<!-- EN-Revision: 1.27 Maintainer: samesch Status: ready --> <refentry xml:id="function.preg-match" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>preg_match</refname> @@ -267,6 +267,37 @@ </screen> </example> </para> + <para> + <example> + <title>Benannte Teilsuchmuster (named subpatterns)</title> + <programlisting role="php"> +<![CDATA[ +<?php + +$str = 'foobar: 2008'; + +preg_match('/(?<name>\w+): (?<zahl>\d+)/', $str, $treffer); + +print_r($treffer); + +?> +]]> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +Array +( + [0] => foobar: 2008 + [name] => foobar + [1] => foobar + [zahl] => 2008 + [2] => 2008 +) +]]> + </screen> + </example> + </para> </refsect1> <refsect1 role="notes"> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/pcre/functions/preg-replace.xml?r1=1.10&r2=1.11&diff_format=u Index: phpdoc-de/reference/pcre/functions/preg-replace.xml diff -u phpdoc-de/reference/pcre/functions/preg-replace.xml:1.10 phpdoc-de/reference/pcre/functions/preg-replace.xml:1.11 --- phpdoc-de/reference/pcre/functions/preg-replace.xml:1.10 Sat Jun 23 13:21:44 2007 +++ phpdoc-de/reference/pcre/functions/preg-replace.xml Wed Mar 12 15:38:13 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.26 Maintainer: samesch Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.27 Maintainer: samesch Status: ready --> <refentry xml:id="function.preg-replace" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>preg_replace</refname> @@ -150,7 +150,8 @@ <para> Falls Übereinstimmungen gefunden wurden, wird die neue <parameter>Zeichenkette</parameter> zurückgegeben, andernfalls wird - <parameter>Zeichenkette</parameter> unverändert zurückgegeben. + <parameter>Zeichenkette</parameter> unverändert zurückgegeben oder &null;, + falls ein Fehler auftrat. </para> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/posix/book.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-de/reference/posix/book.xml diff -u phpdoc-de/reference/posix/book.xml:1.1 phpdoc-de/reference/posix/book.xml:1.2 --- phpdoc-de/reference/posix/book.xml:1.1 Fri Dec 28 08:39:52 2007 +++ phpdoc-de/reference/posix/book.xml Wed Mar 12 15:38:13 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.2 Maintainer: samesch Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.3 Maintainer: samesch Status: ready --> <!-- Purpose: fileprocess.process --> <!-- Membership: bundled --> @@ -13,11 +13,7 @@ <para> Dieses Modul enthält eine Schnittstelle zu den im IEEE 1003.1 (POSIX.1) Standards Dokument definierten Funktionen, die auf einem anderen Weg nicht - erreichbar sind. POSIX.1 definierte zum Beispiel auch die open(), read(), - write() und close() Funktionen, die seit langer Zeit Bestandteil von PHP 3 - sind. Trotzdem standen einige andere systemspezifische Funktionen bisher - nicht zur Verfügung. Dieses Modul versucht hier Abhilfe zu schaffen, indem - es einen einfachen Zugang zu diesen Funktionen bereitstellt. + erreichbar sind. </para> <warning> <para>