svn: /phpdoc/de/trunk/ faq/using.xml install/ini.xml install/macos/client.xml install/macos/index.xml install/macos/server.xml language/oop5/basic.xml reference/array/functions/array-key-exists.xml reference/array/functions/array-map.xml reference/array/functions/array-rand.xml reference/array/functions/array-unique.xml reference/array/functions/array-walk.xml reference/filesystem/functions/file-get-contents.xml reference/filesystem/functions/is-dir.xml reference/filesystem/functions/is-executab
[email protected] (Mark Wiesemann)
| Newsgroups | php.doc.de |
|---|---|
| Message-ID | <[email protected]> |
wiesemann Sun, 26 Dec 2010 20:58:37 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=306703
Log:
sync to EN
Changed paths:
U phpdoc/de/trunk/faq/using.xml
U phpdoc/de/trunk/install/ini.xml
D phpdoc/de/trunk/install/macos/client.xml
U phpdoc/de/trunk/install/macos/index.xml
D phpdoc/de/trunk/install/macos/server.xml
U phpdoc/de/trunk/language/oop5/basic.xml
U phpdoc/de/trunk/reference/array/functions/array-key-exists.xml
U phpdoc/de/trunk/reference/array/functions/array-map.xml
U phpdoc/de/trunk/reference/array/functions/array-rand.xml
U phpdoc/de/trunk/reference/array/functions/array-unique.xml
U phpdoc/de/trunk/reference/array/functions/array-walk.xml
U phpdoc/de/trunk/reference/filesystem/functions/file-get-contents.xml
U phpdoc/de/trunk/reference/filesystem/functions/is-dir.xml
U phpdoc/de/trunk/reference/filesystem/functions/is-executable.xml
U phpdoc/de/trunk/reference/filesystem/functions/is-file.xml
U phpdoc/de/trunk/reference/filesystem/functions/is-link.xml
U phpdoc/de/trunk/reference/filesystem/functions/is-readable.xml
U phpdoc/de/trunk/reference/filesystem/functions/is-uploaded-file.xml
U phpdoc/de/trunk/reference/filesystem/functions/is-writable.xml
U phpdoc/de/trunk/reference/filesystem/functions/lstat.xml
U phpdoc/de/trunk/reference/filesystem/functions/pathinfo.xml
U phpdoc/de/trunk/reference/filesystem/functions/stat.xml
U phpdoc/de/trunk/reference/filesystem/ini.xml
U phpdoc/de/trunk/reference/filesystem/setup.xml
U phpdoc/de/trunk/reference/mail/ini.xml
svn-diffs-306703.txt
(text/x-diff, 35.5 KB)
Modified: phpdoc/de/trunk/faq/using.xml
===================================================================
--- phpdoc/de/trunk/faq/using.xml 2010-12-26 20:55:20 UTC (rev 306702)
+++ phpdoc/de/trunk/faq/using.xml 2010-12-26 20:58:37 UTC (rev 306703)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297557 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 304574 Maintainer: wiesemann Status: ready -->
<chapter xml:id="faq.using" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>PHP benutzen</title>
<titleabbrev>PHP benutzen</titleabbrev>
@@ -497,9 +497,36 @@
<function>ini_get</function> für ein Beispiel, wie diese
Werte konvertiert werden.
</para>
+ <note>
+ <title>Kilobyte versus Kibibyte</title>
+ <para>
+ Die PHP-Notation beschreibt ein Kilobyte als Entsprechung von 1024
+ Bytes, während der <acronym>IEC</acronym>-Standard dies als Kibibyte
+ bezeichnet.
+ Zusammenfassung: k und K = 1024 Bytes.
+ </para>
+ </note>
</answer>
</qandaentry>
+ <qandaentry xml:id="faq.using.windowslocalhostissue">
+ <question>
+ <para>
+ Windows: Ich bekomme Verbindungs-Timeouts, wenn ich <literal>localhost</literal>
+ nutze, während <literal>"127.0.0.1"</literal> aber funktioniert?
+ </para>
+ </question>
+ <answer>
+ <para>
+ Vor PHP 5.3.4 gab es einen Bug im Netzwerk-Auflösungs-Code von PHP, der
+ dazu führte, dass <literal>localhost</literal> im Zusammenhang mit Streams
+ fehlschlug, wenn IPv6 aktiviert war. Um dieses Problem zu umgehen, können
+ Sie entweder <literal>"127.0.0.1"</literal> verwenden oder die Auflösung
+ von IPv6 in der <filename>hosts</filename>-Datei deaktivieren.
+ </para>
+ </answer>
+ </qandaentry>
+
</qandaset>
</chapter>
Modified: phpdoc/de/trunk/install/ini.xml
===================================================================
--- phpdoc/de/trunk/install/ini.xml 2010-12-26 20:55:20 UTC (rev 306702)
+++ phpdoc/de/trunk/install/ini.xml 2010-12-26 20:58:37 UTC (rev 306703)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 305653 Maintainer: wiesemann Status: ready -->
<chapter xml:id="configuration" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Laufzeiteinstellungen</title>
@@ -146,6 +146,10 @@
in Verzeichnissen, die oberhalb des Verzeichnisses der gerade
angeforderten PHP-Datei liegen - bis hin zum aktuellen "document root"
(wie in <varname>$_SERVER['DOCUMENT_ROOT']</varname> konfiguriert).
+ Falls sich die PHP-Datei außerhalb des "document root" befindet, wird
+ nur das Verzeichnis, in dem sich die Datei befindet, gescannt.
+ </simpara>
+ <simpara>
Nur INI-Einstellungen mit den Modi <constant>PHP_INI_PERDIR</constant>
und <constant>PHP_INI_USER</constant> werden als .user.ini-INI-Dateien
erkannt.
@@ -355,11 +359,11 @@
<![CDATA[
<IfModule mod_php5.c>
php_value include_path ".:/usr/local/lib/php"
- php_admin_flag safe_mode on
+ php_admin_flag engine on
</IfModule>
<IfModule mod_php4.c>
php_value include_path ".:/usr/local/lib/php"
- php_admin_flag safe_mode on
+ php_admin_flag engine on
</IfModule>
]]>
</programlisting>
Deleted: phpdoc/de/trunk/install/macos/client.xml
===================================================================
--- phpdoc/de/trunk/install/macos/client.xml 2010-12-26 20:55:20 UTC (rev 306702)
+++ phpdoc/de/trunk/install/macos/client.xml 2010-12-26 20:58:37 UTC (rev 306703)
@@ -1,89 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 297028 Maintainer: wiesemann Status: ready -->
-<!-- $Revision$ -->
- <sect1 xml:id="install.macosx.client" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
- <title>Kompilieren unter Mac OS X Client</title>
- <simpara>
- Die folgende Anleitung erklärt, wie ein PHP-Modul im bereits in Mac OS X
- enthalten Apache-Webserver installiert werden kann. Diese Version enthält
- bereits Unterstützung für die Datenbanksysteme MySQL, PostgreSQL und iODBC,
- für cURL, GD, PDFLib, LDAP und vieles mehr. Diese Anleitung wurde
- bereitgestellt von <link xlink:href="&url.macosx;">Marc Liyanage</link>.
- </simpara>
- <warning>
- <para>
- Seien Sie vorsichtig während der folgenden Schritte. Sie könnten dadurch
- den Apache-Webserver zerstören.
- </para>
- </warning>
- <note>
- <para>
- Die folgenden Anweisungen funktionieren nur mit dem Apache-Webserver,
- der von Apple ausgeliefert wird. Falls Sie Ihren Apache selbst kompiliert
- oder aktualisiert haben, müssen Sie Ihr eigenes PHP-Modul kompilieren.
- </para>
- </note>
- <para>
- Installieren Sie wie folgt:
- <orderedlist>
- <listitem>
- <simpara>
- Für Apache 1.3 laden Sie folgende Datei:
- <userinput>http://www2.entropy.ch/download/entropy-php-5.2.4-1.tar.gz</userinput>
- </simpara>
- </listitem>
- <listitem>
- <simpara>
- Für Apache 2 laden Sie folgende Datei:
- <userinput>wget
- http://www2.entropy.ch/download/entropy-php-5.2.4-1-apache2.tar.gz</userinput>
- </simpara>
- </listitem>
- <listitem>
- <simpara>
- Entpacken Sie die komprimierte .tar.gz-Datei, aber nutzen Sie dazu nicht
- den Stuffit Expander. Nutzn Sie stattdessen den BOMArchiveHelper von
- Apple oder die Kommandozeile.
- </simpara>
- </listitem>
- <listitem>
- <simpara>
- Nach einem Doppelklick auf das Installationspaket können Sie den
- Anweisungen des Installationsprogramms folgen.
- </simpara>
- </listitem>
- </orderedlist>
- </para>
- <para>
- PHP sollte nun zur Verfügung stehen. Sie können es testen, indem Sie eine
- Datei mit dem Namen <filename>test.php</filename> in Ihrem Home-Verzeichnis
- in den Ordner <filename class="directory">Sites</filename> legen. Schreiben
- Sie folgende Zeile in diese Datei: <literal><?php phpinfo() ?></literal>.
- </para>
- <para>
- Öffnen Sie dann <literal>127.0.0.1/~ihr_benutzername/test.php</literal> in Ihrem
- Web-Browser eingeben. Sie sollten nun eine Tabelle mit Informationen über das
- PHP-Modul sehen.
- </para>
- </sect1>
-
-<!-- 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:"~/.phpdoc/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
--->
Modified: phpdoc/de/trunk/install/macos/index.xml
===================================================================
--- phpdoc/de/trunk/install/macos/index.xml 2010-12-26 20:55:20 UTC (rev 306702)
+++ phpdoc/de/trunk/install/macos/index.xml 2010-12-26 20:58:37 UTC (rev 306703)
@@ -1,18 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 297028 Maintainer: wiesemann Status: ready -->
<!-- $Revision$ -->
+<!-- EN-Revision: 304566 Maintainer: wiesemann Status: ready -->
<chapter xml:id="install.macosx" xmlns="http://docbook.org/ns/docbook">
<title>Installation unter Mac OS X</title>
<para>
Diese Kapitel beschreibt die Installation von PHP unter Mac OS X.
- Es gibt zwei unterschiedliche Versionen für Mac OS X: Client und Server.
- Die Anleitung geht auf beide Versionen ein. PHP ist nicht verfügbar
- für Mac OS 9 oder ältere Versionen.
+ PHP wird auf Macs ausgeliefert; das Kompilieren ist ähnlich zur
+ <link linkend="install.unix">Installation unter Unix</link>.
</para>
&install.macos.packages;
&install.macos.bundled;
- &install.macos.server;
- &install.macos.client;
+ &install.macos.compile;
</chapter>
<!-- Keep this comment at the end of the file
Deleted: phpdoc/de/trunk/install/macos/server.xml
===================================================================
--- phpdoc/de/trunk/install/macos/server.xml 2010-12-26 20:55:20 UTC (rev 306702)
+++ phpdoc/de/trunk/install/macos/server.xml 2010-12-26 20:58:37 UTC (rev 306703)
@@ -1,148 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: wiesemann Status: ready -->
- <sect1 xml:id="install.macosx.server" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
- <title>Kompilieren für OS X Server</title>
-
- <formalpara xml:id="install.macosx.server.compile">
- <title>Mac OS X Server-Installation</title>
- <para>
- <orderedlist>
- <listitem>
- <simpara>Holen Sie sich die aktuellsten Versionen von Apache und PHP.</simpara>
- </listitem>
- <listitem>
- <para>
- Entpacken Sie diese, und starten Sie das <command>configure</command>-Programm
- für Apache.
- <programlisting role="shell">
-<![CDATA[
-./configure --exec-prefix=/usr \
---localstatedir=/var \
---mandir=/usr/share/man \
---libexecdir=/System/Library/Apache/Modules \
---iconsdir=/System/Library/Apache/Icons \
---includedir=/System/Library/Frameworks/Apache.framework/Versions/1.3/Headers \
---enable-shared=max \
---enable-module=most \
---target=apache
-]]>
- </programlisting>
- </para>
- </listitem>
- <listitem>
- <para>
- Wenn Sie möchten, dass der Kompilierer einige Optimierungen vornimmt, können
- Sie z.B. die folgende Zeile hinzufügen:
- <programlisting role="shell">
-<![CDATA[
-setenv OPTIM=-O2
-]]>
- </programlisting>
- </para>
- </listitem>
- <listitem>
- <para>
- Als nächstes wechseln Sie in das PHP-4-Quellverzeichnis und konfigurieren es.
- <programlisting role="shell">
-<![CDATA[
-./configure --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/share/man \
- --with-xml \
- --with-apache=/src/apache_1.3.12
-]]>
- </programlisting>
- Stellen Sie sicher, dass eventuell zusätzlich benötigte Erweiterungen
- (MySQL, GD, usw.) an dieser Stelle hinzugefügt werden. Zum Hinzufügen des
- Apaches kann die Option <option role="configure">--with-apache</option>
- mit Angabe des Pfades zu den Quelldateien, z.B.
- <filename class="directory">/src/apache_1.3.12</filename>, verwendet
- werden.
- </para>
- </listitem>
- <listitem>
- <simpara>
- Geben Sie <command>make</command> und <command>make install</command> ein. Diese
- Aufrufe fügt ein Verzeichnis <filename class="directory">src/modules/php4</filename>
- in das Apache-Quellverzeichnis ein.
- </simpara>
- </listitem>
- <listitem>
- <para>
- Jetzt muss Apache konfiguriert werden, um PHP 4 mit einzubinden.
- <programlisting role="shell">
-<![CDATA[
-./configure --exec-prefix=/usr \
---localstatedir=/var \
---mandir=/usr/share/man \
---libexecdir=/System/Library/Apache/Modules \
---iconsdir=/System/Library/Apache/Icons \
---includedir=/System/Library/Frameworks/Apache.framework/Versions/1.3/Headers \
---enable-shared=max \
---enable-module=most \
---target=apache \
---activate-module=src/modules/php4/libphp4.a
-]]>
- </programlisting>
- Es kann sein, dass Sie eine Meldung erhalten, dass <filename>libmodphp4.a</filename>
- veraltet ist. In diesem Fall sollten Sie im Apache-Quellverzeichnis in
- das Verzeichnis <filename class="directory">src/modules/php4</filename>
- wechseln und den folgenden Befehl aufrufen: <command>ranlib libmodphp4.a</command>.
- Danach gehen Sie zurück ins Wurzelverzeichnis des Apache-Quellverzeichnisses
- und starten erneut den <command>configure</command>-Aufruf, um die
- Verlinkungstabelle auf den aktuellen Stand zu bringen. Rufen Sie jetzt
- <command>make</command> und <command>make install</command> erneut auf.
- </para>
- </listitem>
- <listitem>
- <simpara>
- Kopieren sie die Datei <filename>php.ini-development</filename> aus Ihrem
- PHP-4-Quellverzeichnis unter <filename class="directory">bin</filename>
- und benennen Sie diese um:
- <userinput>cp php.ini-development /usr/local/bin/php.ini</userinput>
- oder (wenn Sie kein local-Verzeichnis haben)
- <userinput>cp php.ini-development /usr/bin/php.ini</userinput>.
- </simpara>
- </listitem>
- </orderedlist>
- </para>
- </formalpara>
- <!--
- <simpara>
- TODO: Someone with Mac OS X skills needs to improve this DOC
- Also, these links are 404 and outdated anyways and
- stepwise doesn't support PHP anymore.
-
- See also bug #14732
-
- Other examples for
- <link xlink:href="&url.stepwise.macosx-client;">Mac OS X client</link>
- and
- <link xlink:href="&url.stepwise.macosx-client;">Mac OS X server</link>
- are available at <link xlink:href="&url.stepwise;">Stepwise</link>.
- </simpara>
- -->
- </sect1>
-
-<!-- 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:"~/.phpdoc/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
--->
Modified: phpdoc/de/trunk/language/oop5/basic.xml
===================================================================
--- phpdoc/de/trunk/language/oop5/basic.xml 2010-12-26 20:55:20 UTC (rev 306702)
+++ phpdoc/de/trunk/language/oop5/basic.xml 2010-12-26 20:58:37 UTC (rev 306703)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297948 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 306693 Maintainer: wiesemann Status: ready -->
<sect1 xml:id="language.oop5.basic" xmlns="http://docbook.org/ns/docbook">
<title>Die Grundlagen</title>
@@ -115,14 +115,18 @@
<sect2 xml:id="language.oop5.basic.new">
<title>new</title>
<para>
- Um eine Instanz einer Klasse zu erzeugen, muss ein neues Objekt erzeugt
- und einer Variablen zugewiesen werden. Bei der Erzeugung wird das Objekt
- immer zugewiesen, außer wenn das Objekt einen definierten
+ Um eine Instanz einer Klasse zu erzeugen, muss das <literal>new</literal>-Schlüsselwort
+ verwendet werden. Ein Objekt wird immer erzeugt, außer wenn das Objekt einen definierten
<link linkend="language.oop5.decon">Konstruktor</link> besitzt, der
aufgrund eines Fehlers eine <link linkend="language.exceptions">Exception</link>
wirft. Klassen sollten vor ihrer Instantiierung definiert werden (in manchen
Fällen ist dies eine Notwendigkeit).
</para>
+ <para>
+ Wenn ein <type>string</type> mit dem Namen einer Klasse mit <literal>new</literal>
+ genutzt wird, wird eine neue Instanz dieser Klasse erzeugt. Falls sich die Klasse
+ in einem Namensraum befindet, muss der vollqualifizierte Name hierfür genutzt werden.
+ </para>
<example>
<title>Eine Instanz erzeugen</title>
<programlisting role="php">
@@ -182,6 +186,47 @@
]]>
</screen>
</example>
+ <para>
+ Mit PHP 5.3.0 wurden neue Möglichkeiten zur Erzeugung von Instanzen eines
+ Objekts eingeführt:
+ </para>
+ <example>
+ <title>Erzeugen neuer Objekte</title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+class Test
+{
+ static public function getNew()
+ {
+ return new static;
+ }
+}
+
+class Child extends Test
+{}
+
+$obj1 = new Test();
+$obj2 = new $obj1;
+var_dump($obj1 !== $obj2);
+
+$obj3 = Test::getNew();
+var_dump($obj3 instanceof Test);
+
+$obj4 = Child::getNew();
+var_dump($obj4 instanceof Child);
+?>
+]]>
+ </programlisting>
+ &example.outputs;
+ <screen>
+<![CDATA[
+bool(true)
+bool(true)
+bool(true)
+]]>
+ </screen>
+ </example>
</sect2>
<sect2 xml:id="language.oop5.basic.extends">
Modified: phpdoc/de/trunk/reference/array/functions/array-key-exists.xml
===================================================================
--- phpdoc/de/trunk/reference/array/functions/array-key-exists.xml 2010-12-26 20:55:20 UTC (rev 306702)
+++ phpdoc/de/trunk/reference/array/functions/array-key-exists.xml 2010-12-26 20:58:37 UTC (rev 306703)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 303248 Maintainer: wiesemann Status: ready -->
<!-- CREDITS: tom -->
<refentry xml:id="function.array-key-exists" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -96,12 +96,6 @@
</programlisting>
</example>
</para>
- <note>
- <simpara>
- Der Name dieser Funktion ist in PHP 4.0.6
- <function>key_exists</function>.
- </simpara>
- </note>
<example>
<title><function>array_key_exists</function> vs. <function>isset</function></title>
<para>
@@ -125,6 +119,16 @@
</example>
</refsect1>
+ <refsect1 role="notes">
+ &reftitle.notes;
+ <note>
+ <para>
+ &info.deprecated.alias;
+ <function>key_exists</function>
+ </para>
+ </note>
+ </refsect1>
+
<refsect1 role="seealso">
&reftitle.seealso;
<para>
Modified: phpdoc/de/trunk/reference/array/functions/array-map.xml
===================================================================
--- phpdoc/de/trunk/reference/array/functions/array-map.xml 2010-12-26 20:55:20 UTC (rev 306702)
+++ phpdoc/de/trunk/reference/array/functions/array-map.xml 2010-12-26 20:58:37 UTC (rev 306703)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 304438 Maintainer: wiesemann Status: ready -->
<!-- CREDITS: tom -->
<refentry xml:id="function.array-map" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -106,6 +106,8 @@
]]>
</screen>
</example>
+ </para>
+ <para>
<example>
<title><function>array_map</function> mit einer Lambda-Funktion
(seit PHP 5.3.0)</title>
@@ -136,10 +138,6 @@
</screen>
</example>
</para>
- </refsect1>
-
- <refsect1 role="examples">
- &reftitle.examples;
<para>
<example>
<title>
Modified: phpdoc/de/trunk/reference/array/functions/array-rand.xml
===================================================================
--- phpdoc/de/trunk/reference/array/functions/array-rand.xml 2010-12-26 20:55:20 UTC (rev 306702)
+++ phpdoc/de/trunk/reference/array/functions/array-rand.xml 2010-12-26 20:58:37 UTC (rev 306703)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 302055 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 304976 Maintainer: wiesemann Status: ready -->
<!-- CREDITS: tom -->
<refentry xml:id="function.array-rand" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
Modified: phpdoc/de/trunk/reference/array/functions/array-unique.xml
===================================================================
--- phpdoc/de/trunk/reference/array/functions/array-unique.xml 2010-12-26 20:55:20 UTC (rev 306702)
+++ phpdoc/de/trunk/reference/array/functions/array-unique.xml 2010-12-26 20:58:37 UTC (rev 306703)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 301582 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 302524 Maintainer: wiesemann Status: ready -->
<!-- CREDITS: tom -->
<refentry xml:id="function.array-unique" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -128,13 +128,6 @@
wurde die Sortierung intern mit SORT_STRING durchgeführt.
</entry>
</row>
- <row>
- <entry>5.0.2</entry>
- <entry>
- <parameter>sort_flags</parameter> akzeptiert nun
- <constant>SORT_LOCALE_STRING</constant>.
- </entry>
- </row>
</tbody>
</tgroup>
</informaltable>
Modified: phpdoc/de/trunk/reference/array/functions/array-walk.xml
===================================================================
--- phpdoc/de/trunk/reference/array/functions/array-walk.xml 2010-12-26 20:55:20 UTC (rev 306702)
+++ phpdoc/de/trunk/reference/array/functions/array-walk.xml 2010-12-26 20:58:37 UTC (rev 306703)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 303045 Maintainer: wiesemann Status: ready -->
<!-- CREDITS: tom -->
<refentry xml:id="function.array-walk" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -58,12 +58,12 @@
</para>
</note>
<para>
- Das <parameter>array</parameter> sollte nicht innerhalb der
- Callbackfunktion geändert werden, d.h. es sollten keine Elemente
- hinzufügt oder gelöscht werden etc. Wenn das Array, auf das
- <function>array_walk</function> angewendet wird, geändert wird,
- ist der Verhalten dieser Funktion nicht definiert und auch nicht
- vorhersagbar.
+ Nur die Werte von <parameter>array</parameter> können geändert werden.
+ Die Struktur des Arrays kann nicht geändert werden, d.h. dass der
+ Programmierer keine Elemente hinzufügen oder löschen kann und dass
+ die Reihenfolge der Elemente nicht geändert werden kann. Falls die
+ Callback-Funktion diese Anforderung nicht beachtet, ist der Verhalten
+ dieser Funktion nicht definiert und auch nicht vorhersagbar.
</para>
</listitem>
</varlistentry>
Modified: phpdoc/de/trunk/reference/filesystem/functions/file-get-contents.xml
===================================================================
--- phpdoc/de/trunk/reference/filesystem/functions/file-get-contents.xml 2010-12-26 20:55:20 UTC (rev 306702)
+++ phpdoc/de/trunk/reference/filesystem/functions/file-get-contents.xml 2010-12-26 20:58:37 UTC (rev 306703)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 298681 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 305078 Maintainer: wiesemann Status: ready -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.file-get-contents">
<refnamediv>
<refname>file_get_contents</refname>
@@ -15,7 +15,7 @@
<methodparam choice="opt"><type>bool</type><parameter>use_include_path</parameter><initializer>false</initializer></methodparam>
<methodparam choice="opt"><type>resource</type><parameter>context</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>offset</parameter><initializer>-1</initializer></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>maxlen</parameter><initializer>-1</initializer></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>maxlen</parameter></methodparam>
</methodsynopsis>
<para>
Diese Funktion ist mit <function>file</function> identisch,
@@ -36,15 +36,6 @@
müssen den URI mittels <function>urlencode</function> enkodieren.
</para>
</note>
- <note>
- <para>
- Der Standardwert von <parameter>maxlen</parameter> ist eigentlich nicht
- <literal>-1</literal>; stattdessen handelt es sich um einen internen
- PHP-Wert, der angibt, dass der gesamte Stream bis zum Ende der Datei
- ("end-of-file") kopiert werden soll. Der einzige Weg zur Angabe dieses
- Standardwerts ist, ihn in der Parameterliste nicht anzugeben.
- </para>
- </note>
</refsect1>
<refsect1 role="parameters">
@@ -297,6 +288,7 @@
<member><function>file_put_contents</function></member>
<member><function>stream_get_contents</function></member>
<member><function>stream_context_create</function></member>
+ <member><link linkend="reserved.variables.httpresponseheader">$http_response_header</link></member>
</simplelist>
</para>
</refsect1>
Modified: phpdoc/de/trunk/reference/filesystem/functions/is-dir.xml
===================================================================
--- phpdoc/de/trunk/reference/filesystem/functions/is-dir.xml 2010-12-26 20:55:20 UTC (rev 306702)
+++ phpdoc/de/trunk/reference/filesystem/functions/is-dir.xml 2010-12-26 20:58:37 UTC (rev 306703)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 306338 Maintainer: wiesemann Status: ready -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.is-dir">
<refnamediv>
<refname>is_dir</refname>
@@ -74,6 +74,11 @@
</para>
</refsect1>
+ <refsect1 role="errors">
+ &reftitle.errors;
+ &fs.emits.warning.on.failure;
+ </refsect1>
+
<refsect1 role="notes">
&reftitle.notes;
¬e.clearstatcache;
Modified: phpdoc/de/trunk/reference/filesystem/functions/is-executable.xml
===================================================================
--- phpdoc/de/trunk/reference/filesystem/functions/is-executable.xml 2010-12-26 20:55:20 UTC (rev 306702)
+++ phpdoc/de/trunk/reference/filesystem/functions/is-executable.xml 2010-12-26 20:58:37 UTC (rev 306703)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 306338 Maintainer: wiesemann Status: ready -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.is-executable">
<refnamediv>
<refname>is_executable</refname>
@@ -91,6 +91,11 @@
</para>
</refsect1>
+ <refsect1 role="errors">
+ &reftitle.errors;
+ &fs.emits.warning.on.failure;
+ </refsect1>
+
<refsect1 role="notes">
&reftitle.notes;
¬e.clearstatcache;
Modified: phpdoc/de/trunk/reference/filesystem/functions/is-file.xml
===================================================================
--- phpdoc/de/trunk/reference/filesystem/functions/is-file.xml 2010-12-26 20:55:20 UTC (rev 306702)
+++ phpdoc/de/trunk/reference/filesystem/functions/is-file.xml 2010-12-26 20:58:37 UTC (rev 306703)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 306338 Maintainer: wiesemann Status: ready -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.is-file">
<refnamediv>
<refname>is_file</refname>
@@ -66,6 +66,11 @@
</para>
</refsect1>
+ <refsect1 role="errors">
+ &reftitle.errors;
+ &fs.emits.warning.on.failure;
+ </refsect1>
+
<refsect1 role="notes">
&reftitle.notes;
¬e.clearstatcache;
Modified: phpdoc/de/trunk/reference/filesystem/functions/is-link.xml
===================================================================
--- phpdoc/de/trunk/reference/filesystem/functions/is-link.xml 2010-12-26 20:55:20 UTC (rev 306702)
+++ phpdoc/de/trunk/reference/filesystem/functions/is-link.xml 2010-12-26 20:58:37 UTC (rev 306703)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 306338 Maintainer: wiesemann Status: ready -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.is-link">
<refnamediv>
<refname>is_link</refname>
@@ -64,6 +64,11 @@
</para>
</refsect1>
+ <refsect1 role="errors">
+ &reftitle.errors;
+ &fs.emits.warning.on.failure;
+ </refsect1>
+
<refsect1 role="notes">
&reftitle.notes;
¬e.clearstatcache;
Modified: phpdoc/de/trunk/reference/filesystem/functions/is-readable.xml
===================================================================
--- phpdoc/de/trunk/reference/filesystem/functions/is-readable.xml 2010-12-26 20:55:20 UTC (rev 306702)
+++ phpdoc/de/trunk/reference/filesystem/functions/is-readable.xml 2010-12-26 20:58:37 UTC (rev 306703)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 306338 Maintainer: wiesemann Status: ready -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.is-readable">
<refnamediv>
<refname>is_readable</refname>
@@ -63,6 +63,11 @@
</para>
</refsect1>
+ <refsect1 role="errors">
+ &reftitle.errors;
+ &fs.emits.warning.on.failure;
+ </refsect1>
+
<refsect1 role="notes">
&reftitle.notes;
<para>
Modified: phpdoc/de/trunk/reference/filesystem/functions/is-uploaded-file.xml
===================================================================
--- phpdoc/de/trunk/reference/filesystem/functions/is-uploaded-file.xml 2010-12-26 20:55:20 UTC (rev 306702)
+++ phpdoc/de/trunk/reference/filesystem/functions/is-uploaded-file.xml 2010-12-26 20:58:37 UTC (rev 306703)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 305278 Maintainer: wiesemann Status: ready -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.is-uploaded-file">
<refnamediv>
<refname>is_uploaded_file</refname>
Modified: phpdoc/de/trunk/reference/filesystem/functions/is-writable.xml
===================================================================
--- phpdoc/de/trunk/reference/filesystem/functions/is-writable.xml 2010-12-26 20:55:20 UTC (rev 306702)
+++ phpdoc/de/trunk/reference/filesystem/functions/is-writable.xml 2010-12-26 20:58:37 UTC (rev 306703)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 306338 Maintainer: wiesemann Status: ready -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.is-writable">
<refnamediv>
<refname>is_writable</refname>
@@ -71,6 +71,11 @@
</para>
</refsect1>
+ <refsect1 role="errors">
+ &reftitle.errors;
+ &fs.emits.warning.on.failure;
+ </refsect1>
+
<refsect1 role="notes">
&reftitle.notes;
Modified: phpdoc/de/trunk/reference/filesystem/functions/lstat.xml
===================================================================
--- phpdoc/de/trunk/reference/filesystem/functions/lstat.xml 2010-12-26 20:55:20 UTC (rev 306702)
+++ phpdoc/de/trunk/reference/filesystem/functions/lstat.xml 2010-12-26 20:58:37 UTC (rev 306703)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 306338 Maintainer: wiesemann Status: ready -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.lstat">
<refnamediv>
<refname>lstat</refname>
@@ -87,6 +87,11 @@
</para>
</refsect1>
+ <refsect1 role="errors">
+ &reftitle.errors;
+ &fs.emits.warning.on.failure;
+ </refsect1>
+
<refsect1 role="notes">
&reftitle.notes;
¬e.clearstatcache;
Modified: phpdoc/de/trunk/reference/filesystem/functions/pathinfo.xml
===================================================================
--- phpdoc/de/trunk/reference/filesystem/functions/pathinfo.xml 2010-12-26 20:55:20 UTC (rev 306702)
+++ phpdoc/de/trunk/reference/filesystem/functions/pathinfo.xml 2010-12-26 20:58:37 UTC (rev 306703)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 299134 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 306483 Maintainer: wiesemann Status: ready -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.pathinfo">
<refnamediv>
<refname>pathinfo</refname>
@@ -130,6 +130,13 @@
Vordefinierte Variablen</link>.
</para>
</note>
+ <note>
+ <para>
+ <function>pathinfo</function> berücksichtigt die locale-Einstellung. Um den
+ Pfad mit Multibyte-Zeichen korrekt parsen zu können, muss die entsprechende
+ locale mit der <function>setlocale</function>-Funktion gesetzt werden.
+ </para>
+ </note>
</refsect1>
<refsect1 role="seealso">
Modified: phpdoc/de/trunk/reference/filesystem/functions/stat.xml
===================================================================
--- phpdoc/de/trunk/reference/filesystem/functions/stat.xml 2010-12-26 20:55:20 UTC (rev 306702)
+++ phpdoc/de/trunk/reference/filesystem/functions/stat.xml 2010-12-26 20:58:37 UTC (rev 306703)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 302986 Maintainer: wiesemann Status: ready -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.stat">
<refnamediv>
<refname>stat</refname>
@@ -213,7 +213,7 @@
echo 'stat()-Aufruf schlug fehl ...';
} else {
/*
- * Wir wollen den Zugriffszeitpunkt auf eine Woche vor dem aktuellen
+ * Wir wollen den Zugriffszeitpunkt auf eine Woche nach dem aktuellen
* Zugriffszeitpunkt setzen.
*/
$atime = $stat['atime'] + 604800;
Modified: phpdoc/de/trunk/reference/filesystem/ini.xml
===================================================================
--- phpdoc/de/trunk/reference/filesystem/ini.xml 2010-12-26 20:55:20 UTC (rev 306702)
+++ phpdoc/de/trunk/reference/filesystem/ini.xml 2010-12-26 20:58:37 UTC (rev 306703)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 304986 Maintainer: wiesemann Status: ready -->
<!-- Rev-Revision: 1.18 Reviewer: sammywg -->
<section xml:id="filesystem.configuration" xmlns="http://docbook.org/ns/docbook">
@@ -168,8 +168,8 @@
</term>
<listitem>
<para>
- Legt das Kennwort für anonyme FTP-Zugriffe (Ihre Email-Adresse)
- fest.
+ Bei Nutzung der FTP- bzw. HTTP-Wrapper: E-Mail-Adresse für nicht-authentifizierte
+ FTP-Verbindungen bzw. From-Header in HTTP-Verbindungen.
</para>
</listitem>
</varlistentry>
Modified: phpdoc/de/trunk/reference/filesystem/setup.xml
===================================================================
--- phpdoc/de/trunk/reference/filesystem/setup.xml 2010-12-26 20:55:20 UTC (rev 306702)
+++ phpdoc/de/trunk/reference/filesystem/setup.xml 2010-12-26 20:58:37 UTC (rev 306703)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 288721 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 304502 Maintainer: wiesemann Status: ready -->
<chapter xml:id="filesystem.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.setup;
@@ -26,7 +26,10 @@
<!-- {{{ Resources -->
<section xml:id="filesystem.resources">
&reftitle.resources;
- &no.resource;
+ <para>
+ Das Dateisystem nutzt <literal>Streams</literal> als Ressourcentyp. Streams
+ sind in einem eigenen Kapitel dokumentiert: <link linkend="book.stream">Streams</link>.
+ </para>
</section>
<!-- }}} -->
Modified: phpdoc/de/trunk/reference/mail/ini.xml
===================================================================
--- phpdoc/de/trunk/reference/mail/ini.xml 2010-12-26 20:55:20 UTC (rev 306702)
+++ phpdoc/de/trunk/reference/mail/ini.xml 2010-12-26 20:58:37 UTC (rev 306703)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 305812 Maintainer: wiesemann Status: ready -->
<section xml:id="mail.configuration" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.runtime;
&extension.runtime;
@@ -83,9 +83,9 @@
</term>
<listitem>
<para>
- Loggt alle <function>mail</function>-Aufrufe mit dem vollen Pfad
- des Skripts, der Zeilennummer, der <literal>To</literal>-Adresse
- und der Header.
+ Der Pfad zur Log-Datei, in der <function>mail</function>-Aufrufe geloggt
+ werden. Die Log-Einträge enthalten den vollen Pfad des Skripts, die Zeilennummer,
+ die <literal>To</literal>-Adresse und alle Header.
</para>
</listitem>
</varlistentry>