svn: /phpdoc/de/trunk/ appendices/debugger.xml appendices/transports.xml appendices/userlandnaming.xml language/types.xml reference/filesystem/functions/chown.xml reference/filesystem/functions/delete.xml reference/filesystem/functions/fgetss.xml reference/mysql/functions/mysql-fetch-field.xml reference/nis/configure.xml reference/nis/constants.xml reference/outcontrol/book.xml reference/outcontrol/examples.xml reference/outcontrol/functions/ob-implicit-flush.xml reference/pcntl/examples.xml ref

[email protected] (Hartmut Holzgraefe)
Newsgroups php.doc.de
Message-ID <[email protected]>
hholzgra                                 Sun, 26 Jun 2011 11:50:25 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=312492

Log:
translation updates

Changed paths:
    U   phpdoc/de/trunk/appendices/debugger.xml
    U   phpdoc/de/trunk/appendices/transports.xml
    U   phpdoc/de/trunk/appendices/userlandnaming.xml
    U   phpdoc/de/trunk/language/types.xml
    U   phpdoc/de/trunk/reference/filesystem/functions/chown.xml
    U   phpdoc/de/trunk/reference/filesystem/functions/delete.xml
    U   phpdoc/de/trunk/reference/filesystem/functions/fgetss.xml
    U   phpdoc/de/trunk/reference/mysql/functions/mysql-fetch-field.xml
    U   phpdoc/de/trunk/reference/nis/configure.xml
    U   phpdoc/de/trunk/reference/nis/constants.xml
    U   phpdoc/de/trunk/reference/outcontrol/book.xml
    U   phpdoc/de/trunk/reference/outcontrol/examples.xml
    U   phpdoc/de/trunk/reference/outcontrol/functions/ob-implicit-flush.xml
    U   phpdoc/de/trunk/reference/pcntl/examples.xml
    U   phpdoc/de/trunk/reference/sem/functions/msg-get-queue.xml
    U   phpdoc/de/trunk/reference/sem/functions/sem-get.xml
    U   phpdoc/de/trunk/reference/sem/functions/sem-remove.xml
    U   phpdoc/de/trunk/reference/sem/functions/shm-attach.xml
svn-diffs-312492.txt (text/x-diff, 22.5 KB)
Modified: phpdoc/de/trunk/appendices/debugger.xml
===================================================================
--- phpdoc/de/trunk/appendices/debugger.xml	2011-06-26 11:44:42 UTC (rev 312491)
+++ phpdoc/de/trunk/appendices/debugger.xml	2011-06-26 11:50:25 UTC (rev 312492)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: hholzgra  Status: ready -->
+<!-- EN-Revision: 312380 Maintainer: hholzgra  Status: ready -->
  <appendix xml:id="debugger" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
   <title>PHP Debugging</title>


Modified: phpdoc/de/trunk/appendices/transports.xml
===================================================================
--- phpdoc/de/trunk/appendices/transports.xml	2011-06-26 11:44:42 UTC (rev 312491)
+++ phpdoc/de/trunk/appendices/transports.xml	2011-06-26 11:50:25 UTC (rev 312492)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: hholzgra  Status: ready -->
+<!-- EN-Revision: 297557 Maintainer: hholzgra  Status: ready -->
 <appendix xml:id="transports" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <title>Liste der unterstützten Socket-Transporter</title>
  <para>
@@ -19,10 +19,11 @@
   <function>stream_get_transports</function>.
  </para>

+ <!-- FIXME PHP_6 Mentioned PHP 6, but let's explore not hard coding PHP versions like this -->
  <section xml:id="transports.inet">
   <title>Internet Domain: TCP, UDP, SSL und TLS</title>
   <simpara>
-   PHP 4, PHP 5, PHP 6.
+   PHP 4, PHP 5.
    <literal>ssl://</literal> &amp; <literal>tls://</literal> since PHP 4.3.0
    <literal>sslv2://</literal> &amp; <literal>sslv3://</literal> since PHP 5.0.2
   </simpara>

Modified: phpdoc/de/trunk/appendices/userlandnaming.xml
===================================================================
--- phpdoc/de/trunk/appendices/userlandnaming.xml	2011-06-26 11:44:42 UTC (rev 312491)
+++ phpdoc/de/trunk/appendices/userlandnaming.xml	2011-06-26 11:50:25 UTC (rev 312492)
@@ -1,14 +1,13 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 288721 Maintainer: hholzgra  Status: working -->
+<!-- EN-Revision: 304887 Maintainer: hholzgra  Status: working -->
 <appendix xml:id="userlandnaming" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <title>Userland Naming Guide</title>
  <para>
-  The following is a guide for how to best choose names for identifiers
-  in userland PHP code. When choosing names for any code that creates symbols
-  in the global namespace, it is important to take into account the following
-  guidelines to prevent future versions of PHP from clashing with your
-  symbols.
+  Es folgen einige Vorgaben zur Namensgebung für Bezeichner in PHP Code.
+  Diese Vorgaben sollten zumindest immer dann beachtet werden wenn Code
+  Symbole im globalen Namensraum anleget um Konflikte zwischen
+  ihrem Code und zukünftigen Versionen von PHP zu vermeiden.
  </para>

  <section xml:id="userlandnaming.globalnamespace">
@@ -50,9 +49,9 @@
    <listitem>
     <para>
      Funktionsnamen benutzten Unterstriche als Trennzeichen zwischen
-     Worten während Klassennamen der "CamelCase" Regel folgen
-     (die Benennung älterer Funktionen und Klassen kann hiervon
-     abweichen).
+     Worten während Klassennamen den <literal>camelCase</literal> und
+     <literal>PascalCase</literal> Regeln folgen  (die Benennung
+     älterer Funktionen und Klassen kann hiervon abweichen).
     </para>
    </listitem>
    <listitem>

Modified: phpdoc/de/trunk/language/types.xml
===================================================================
--- phpdoc/de/trunk/language/types.xml	2011-06-26 11:44:42 UTC (rev 312491)
+++ phpdoc/de/trunk/language/types.xml	2011-06-26 11:50:25 UTC (rev 312492)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: hholzgra Status: ready -->
+<!-- EN-Revision: 308160 Maintainer: hholzgra Status: ready -->
 <!-- CREDITS: samesch, betz -->
 <chapter xml:id="language.types" xmlns="http://docbook.org/ns/docbook">
  <title>Typen</title>
@@ -163,7 +163,7 @@
     $an_int += 4;
 }

-// Falls $bool ein String ist, gib ihn aus
+// Falls $a_bool ein String ist, gib ihn aus
 // (gibt überhaupt nichts aus)
 if (is_string($a_bool)) {
     echo "String: $a_bool";

Modified: phpdoc/de/trunk/reference/filesystem/functions/chown.xml
===================================================================
--- phpdoc/de/trunk/reference/filesystem/functions/chown.xml	2011-06-26 11:44:42 UTC (rev 312491)
+++ phpdoc/de/trunk/reference/filesystem/functions/chown.xml	2011-06-26 11:50:25 UTC (rev 312492)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 288721 Maintainer: hholzgra Status: ready -->
+<!-- EN-Revision: 308757 Maintainer: hholzgra Status: ready -->
 <refentry xml:id="function.chown" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>chown</refname>
@@ -63,7 +63,7 @@

 // Datei- und Benutzernamen setzen
 $file_name= "foo.php";
-$path = "/home/sites/php.net/public_html/sandbox" . $file_name ;
+$path = "/home/sites/php.net/public_html/sandbox/" . $file_name ;
 $user_name = "root";

 // Benutzer setzen
@@ -79,22 +79,16 @@
     &example.outputs.similar;
     <screen>
 <![CDATA[
-array(7) {
-  ["name"]=>
-  string(13) "php.net"
-  ["passwd"]=>
-  string(1) "x"
-  ["uid"]=>
-  int(148864)
-  ["gid"]=>
-  int(148910)
-  ["gecos"]=>
-  string(13) "php.net"
-  ["dir"]=>
-  string(25) "/home/sites/php.net"
-  ["shell"]=>
-  string(13) "/sbin/nologin"
-}
+Array
+(
+    [name] => root
+    [passwd] => x
+    [uid] => 0
+    [gid] => 0
+    [gecos] => root
+    [dir] => /root
+    [shell] => /bin/bash
+)
 ]]>
     </screen>
    </example>

Modified: phpdoc/de/trunk/reference/filesystem/functions/delete.xml
===================================================================
--- phpdoc/de/trunk/reference/filesystem/functions/delete.xml	2011-06-26 11:44:42 UTC (rev 312491)
+++ phpdoc/de/trunk/reference/filesystem/functions/delete.xml	2011-06-26 11:50:25 UTC (rev 312492)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 283810 Maintainer: hholzgra Status: ready -->
+<!-- EN-Revision: 297028 Maintainer: hholzgra Status: ready -->
 <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.delete" role="noversion">
  <refnamediv>
   <refname>delete</refname>
@@ -31,8 +31,8 @@
   &reftitle.seealso;
   <para>
    <simplelist>
-    <member><function>unlink</function> to delete files</member>
-    <member><function>unset</function> to delete variables</member>
+    <member><function>unlink</function></member>
+    <member><function>unset</function></member>
    </simplelist>
   </para>
  </refsect1>
@@ -50,7 +50,7 @@
 sgml-indent-data:t
 indent-tabs-mode:nil
 sgml-parent-document:nil
-sgml-default-dtd-file:"../../../../manual.ced"
+sgml-default-dtd-file:"~/.phpdoc/manual.ced"
 sgml-exposed-tags:nil
 sgml-local-catalogs:nil
 sgml-local-ecat-files:nil

Modified: phpdoc/de/trunk/reference/filesystem/functions/fgetss.xml
===================================================================
--- phpdoc/de/trunk/reference/filesystem/functions/fgetss.xml	2011-06-26 11:44:42 UTC (rev 312491)
+++ phpdoc/de/trunk/reference/filesystem/functions/fgetss.xml	2011-06-26 11:50:25 UTC (rev 312492)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 283810 Maintainer: hholzgra Status: ready -->
+<!-- EN-Revision: 297028 Maintainer: hholzgra Status: ready -->
   <refentry xml:id="function.fgetss" xmlns="http://docbook.org/ns/docbook">
    <refnamediv>
     <refname>fgetss</refname>
@@ -20,7 +20,7 @@
     <para>
      Diese Funktion ist identisch mit der Funktion
      <function>fgets</function>, außer dass
-     <function>fgetss</function> versucht, vorhandene HTML und
+     <function>fgetss</function> versucht, vorhandene NUL-Bytes sowie HTML und
      PHP-Tags aus dem gelesenen Text zu entfernen.
     </para>
  </refsect1>
@@ -86,12 +86,6 @@
         Der Parameter <parameter>length</parameter> ist nun optional
        </entry>
       </row>
-      <row>
-       <entry>3.0.13 and 4.0.0</entry>
-       <entry>
-        Der <parameter>allowable_tags</parameter> wurde hinzugefügt
-       </entry>
-      </row>
      </tbody>
     </tgroup>
    </informaltable>
@@ -135,7 +129,7 @@
    </example>
   </para>
  </refsect1>
-
+
  <refsect1 role="notes">
   &reftitle.notes;
   &note.line-endings;
@@ -167,7 +161,7 @@
 sgml-indent-data:t
 indent-tabs-mode:nil
 sgml-parent-document:nil
-sgml-default-dtd-file:"../../../../manual.ced"
+sgml-default-dtd-file:"~/.phpdoc/manual.ced"
 sgml-exposed-tags:nil
 sgml-local-catalogs:nil
 sgml-local-ecat-files:nil

Modified: phpdoc/de/trunk/reference/mysql/functions/mysql-fetch-field.xml
===================================================================
--- phpdoc/de/trunk/reference/mysql/functions/mysql-fetch-field.xml	2011-06-26 11:44:42 UTC (rev 312491)
+++ phpdoc/de/trunk/reference/mysql/functions/mysql-fetch-field.xml	2011-06-26 11:50:25 UTC (rev 312492)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: hholzgra Status: working -->
+<!-- EN-Revision: 302439 Maintainer: hholzgra Status: working -->

 <refentry xml:id="function.mysql-fetch-field" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -47,6 +47,8 @@
   <para>
    Liefert ein <type>object</type> mit Feldinformationen.
    Die Eigenschaften des Objekts sind:
+  </para>
+  <para>
    <itemizedlist>
     <listitem>
      <simpara>
@@ -55,11 +57,6 @@
     </listitem>
     <listitem>
      <simpara>
-      def - Vorgabewert des Feldes
-     </simpara>
-    </listitem>
-    <listitem>
-     <simpara>
        table - Name der Tabelle zu der das Feld gehört
      </simpara>
     </listitem>
@@ -152,7 +149,6 @@
 primary_key:  $meta->primary_key
 table:        $meta->table
 type:         $meta->type
-default:      $meta->def
 unique_key:   $meta->unique_key
 unsigned:     $meta->unsigned
 zerofill:     $meta->zerofill

Modified: phpdoc/de/trunk/reference/nis/configure.xml
===================================================================
--- phpdoc/de/trunk/reference/nis/configure.xml	2011-06-26 11:44:42 UTC (rev 312491)
+++ phpdoc/de/trunk/reference/nis/configure.xml	2011-06-26 11:50:25 UTC (rev 312492)
@@ -1,12 +1,11 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 288721 Maintainer: hholzgra Status: ready -->
-<section xml:id="nis.installation" xmlns="http://docbook.org/ns/docbook">
+<!-- EN-Revision: 297028 Maintainer: hholzgra Status: ready -->
+<section xml:id="nis.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  &reftitle.install;
  <para>
-  Um diese Funktionen zu aktivieren, müssen Sie PHP mit der
-  <option role="configure">--enable-yp</option>-configure-Option
-  kompilieren.
+  &pecl.info.dead;
+  <link xlink:href="&url.pecl.vcs;yp">&url.pecl.vcs;yp</link>
  </para>
 </section>


Modified: phpdoc/de/trunk/reference/nis/constants.xml
===================================================================
--- phpdoc/de/trunk/reference/nis/constants.xml	2011-06-26 11:44:42 UTC (rev 312491)
+++ phpdoc/de/trunk/reference/nis/constants.xml	2011-06-26 11:50:25 UTC (rev 312492)
@@ -12,7 +12,7 @@
    </term>
    <listitem>
     <simpara>
-     Zugriffsfehler (diese Konstante wurde im PECL-CVS hinzugefügt)
+     Zugriffsfehler (diese Konstante wurde im PECL-SVN hinzugefügt)
     </simpara>
    </listitem>
   </varlistentry>
@@ -195,7 +195,7 @@
 sgml-indent-data:t
 indent-tabs-mode:nil
 sgml-parent-document:nil
-sgml-default-dtd-file:"../../../manual.ced"
+sgml-default-dtd-file:"~/.phpdoc/manual.ced"
 sgml-exposed-tags:nil
 sgml-local-catalogs:nil
 sgml-local-ecat-files:nil

Modified: phpdoc/de/trunk/reference/outcontrol/book.xml
===================================================================
--- phpdoc/de/trunk/reference/outcontrol/book.xml	2011-06-26 11:44:42 UTC (rev 312491)
+++ phpdoc/de/trunk/reference/outcontrol/book.xml	2011-06-26 11:50:25 UTC (rev 312492)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: hholzgra Status: ready -->
+<!-- EN-Revision: 307540 Maintainer: hholzgra Status: ready -->

 <book xml:id="book.outcontrol" xmlns="http://docbook.org/ns/docbook">
  <title>Ausgabepufferung</title>
@@ -22,7 +22,7 @@
     <para>
      Bei Upgrades von PHP 4.1.x (und 4.2.x) auf 4.3.x müssen Sie wegen
      eines Fehlers in früheren Versionen sicherstellen, dass
-     <literal>implict_flush</literal> in Ihrer &php.ini; auf
+     <literal>implicit_flush</literal> in Ihrer &php.ini; auf
      <literal>OFF</literal> gesetzt ist, anderenfalls werden
      Ausgaben auch nach Aufruf von <function>ob_start</function>
      noch an den Browser weitergegeben.

Modified: phpdoc/de/trunk/reference/outcontrol/examples.xml
===================================================================
--- phpdoc/de/trunk/reference/outcontrol/examples.xml	2011-06-26 11:44:42 UTC (rev 312491)
+++ phpdoc/de/trunk/reference/outcontrol/examples.xml	2011-06-26 11:50:25 UTC (rev 312492)
@@ -1,11 +1,11 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: hholzgra Status: ready -->
+<!-- EN-Revision: 310851 Maintainer: hholzgra Status: ready -->

 <appendix xml:id="outcontrol.examples" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
   &reftitle.examples;
   <section xml:id="outcontrol.examples.basic">
-  &reftitle.examples;
+  <title>Einsatzgrundlagen</title>
   <para>
    <example>
     <title>Output-Control-Beispiel</title>

Modified: phpdoc/de/trunk/reference/outcontrol/functions/ob-implicit-flush.xml
===================================================================
--- phpdoc/de/trunk/reference/outcontrol/functions/ob-implicit-flush.xml	2011-06-26 11:44:42 UTC (rev 312491)
+++ phpdoc/de/trunk/reference/outcontrol/functions/ob-implicit-flush.xml	2011-06-26 11:50:25 UTC (rev 312492)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 288721 Maintainer: hholzgra Status: ready -->
+<!-- EN-Revision: 297028 Maintainer: hholzgra Status: ready -->
   <refentry xml:id="function.ob-implicit-flush" xmlns="http://docbook.org/ns/docbook">
    <refnamediv>
     <refname>ob_implicit_flush</refname>
@@ -12,7 +12,7 @@
     &reftitle.description;
      <methodsynopsis>
       <type>void</type><methodname>ob_implicit_flush</methodname>
-      <methodparam choice="opt"><type>int</type><parameter>flag</parameter></methodparam>
+      <methodparam choice="opt"><type>int</type><parameter>flag</parameter><initializer>true</initializer></methodparam>
      </methodsynopsis>
     <para>
      <function>ob_implicit_flush</function> schaltet die implizite
@@ -32,7 +32,6 @@
        <listitem>
         <para>
          &true; schaltet implizite Ausgabe ein, &false; schaltet sie aus.
-         Vorgabewert ist &true;.
         </para>
        </listitem>
       </varlistentry>

Modified: phpdoc/de/trunk/reference/pcntl/examples.xml
===================================================================
--- phpdoc/de/trunk/reference/pcntl/examples.xml	2011-06-26 11:44:42 UTC (rev 312491)
+++ phpdoc/de/trunk/reference/pcntl/examples.xml	2011-06-26 11:50:25 UTC (rev 312492)
@@ -1,10 +1,11 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: hholzgra Status: ready -->
+<!-- EN-Revision: 2970282 Maintainer: hholzgra Status: ready -->
 <!-- Credits: simp -->
 <chapter xml:id="pcntl.examples" xmlns="http://docbook.org/ns/docbook">
  &reftitle.examples;
  <section xml:id="pcntl.example">
+  <title>Grundlegende Verwendung</title>
   <para>
    Dieses Beispiel zweigt einen Daemon Prozess mit Signalverarbeitung ab.
   </para>

Modified: phpdoc/de/trunk/reference/sem/functions/msg-get-queue.xml
===================================================================
--- phpdoc/de/trunk/reference/sem/functions/msg-get-queue.xml	2011-06-26 11:44:42 UTC (rev 312491)
+++ phpdoc/de/trunk/reference/sem/functions/msg-get-queue.xml	2011-06-26 11:50:25 UTC (rev 312492)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: hholzgra Status: ready -->
+<!-- EN-Revision: 311094 Maintainer: hholzgra Status: ready -->
 <refentry xml:id="function.msg-get-queue" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>msg_get_queue</refname>
@@ -14,7 +14,7 @@
   <methodsynopsis>
    <type>resource</type><methodname>msg_get_queue</methodname>
    <methodparam><type>int</type><parameter>key</parameter></methodparam>
-   <methodparam choice="opt"><type>int</type><parameter>perms</parameter></methodparam>
+   <methodparam choice="opt"><type>int</type><parameter>perms</parameter><initializer>0666</initializer></methodparam>
   </methodsynopsis>
   <para>
    <function>msg_get_queue</function> gibt eine ID zurück die für den

Modified: phpdoc/de/trunk/reference/sem/functions/sem-get.xml
===================================================================
--- phpdoc/de/trunk/reference/sem/functions/sem-get.xml	2011-06-26 11:44:42 UTC (rev 312491)
+++ phpdoc/de/trunk/reference/sem/functions/sem-get.xml	2011-06-26 11:50:25 UTC (rev 312492)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 288721 Maintainer: hholzgra Status: ready -->
+<!-- EN-Revision: 297028 Maintainer: hholzgra Status: ready -->
 <refentry xml:id="function.sem-get" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>sem_get</refname>
@@ -11,9 +11,9 @@
    <methodsynopsis>
     <type>resource</type><methodname>sem_get</methodname>
     <methodparam><type>int</type><parameter>key</parameter></methodparam>
-    <methodparam choice="opt"><type>int</type><parameter>max_acquire</parameter></methodparam>
-    <methodparam choice="opt"><type>int</type><parameter>perm</parameter></methodparam>
-    <methodparam choice="opt"><type>int</type><parameter>auto_release</parameter></methodparam>
+    <methodparam choice="opt"><type>int</type><parameter>max_acquire</parameter><initializer>1</initializer></methodparam>
+    <methodparam choice="opt"><type>int</type><parameter>perm</parameter><initializer>0666</initializer></methodparam>
+    <methodparam choice="opt"><type>int</type><parameter>auto_release</parameter><initializer>1</initializer></methodparam>
    </methodsynopsis>
   <para>
    <function>sem_get</function> liefert eine ID die für den Zugriff
@@ -46,7 +46,6 @@
        Die Anzahl der Prozesse die gleichzeitig Zugriff auf den
        Semaphor erhalten können wird durch den Parameter
        <parameter>max_acquire</parameter> festgelegt
-       (Vorgabewert ist 1).
       </para>
      </listitem>
     </varlistentry>
@@ -54,7 +53,7 @@
      <term><parameter>perm</parameter></term>
      <listitem>
       <para>
-       Die Zugriffsrechte für den Semaphore. Vorgabewert ist 0777.
+       Die Zugriffsrechte für den Semaphore.
        Der Wert wird nur gesetzt wenn der aktuelle Prozess der einzige
        ist der in diesem Augenblick mit dem Semaphor verknüpft ist.
       </para>

Modified: phpdoc/de/trunk/reference/sem/functions/sem-remove.xml
===================================================================
--- phpdoc/de/trunk/reference/sem/functions/sem-remove.xml	2011-06-26 11:44:42 UTC (rev 312491)
+++ phpdoc/de/trunk/reference/sem/functions/sem-remove.xml	2011-06-26 11:50:25 UTC (rev 312492)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: hholzgra Status: ready -->
+<!-- EN-Revision: 304383 Maintainer: hholzgra Status: ready -->
 <refentry xml:id="function.sem-remove" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>sem_remove</refname>

Modified: phpdoc/de/trunk/reference/sem/functions/shm-attach.xml
===================================================================
--- phpdoc/de/trunk/reference/sem/functions/shm-attach.xml	2011-06-26 11:44:42 UTC (rev 312491)
+++ phpdoc/de/trunk/reference/sem/functions/shm-attach.xml	2011-06-26 11:50:25 UTC (rev 312492)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: hholzgra Status: ready -->
+<!-- EN-Revision: 311151 Maintainer: hholzgra Status: ready -->
 <refentry xml:id="function.shm-attach" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>shm_attach</refname>
@@ -13,7 +13,7 @@
     <type>resource</type><methodname>shm_attach</methodname>
     <methodparam><type>int</type><parameter>key</parameter></methodparam>
     <methodparam choice="opt"><type>int</type><parameter>memsize</parameter></methodparam>
-    <methodparam choice="opt"><type>int</type><parameter>perm</parameter></methodparam>
+    <methodparam choice="opt"><type>int</type><parameter>perm</parameter><initializer>0666</initializer></methodparam>
    </methodsynopsis>
   <para>
    <function>shm_attach</function> liefert eine ID über die auf ein
@@ -76,6 +76,70 @@
   </para>
  </refsect1>

+ <refsect1 role="changelog">
+  &reftitle.changelog;
+  <para>
+   <informaltable>
+    <tgroup cols="2">
+     <thead>
+      <row>
+       <entry>&Version;</entry>
+       <entry>&Description;</entry>
+      </row>
+     </thead>
+     <tbody>
+      <row>
+       <entry>5.3.0</entry>
+       <entry>
+        Diese Funktion gibt nun eine &resource; anstatt eines
+        <link linkend="language.types.integer">Integer</link>
+        zurück.
+       </entry>
+      </row>
+     </tbody>
+    </tgroup>
+    </informaltable>
+  </para>
+ </refsect1>
+
+ <refsect1 role="notes">
+  &reftitle.notes;
+  <note>
+   <para>
+    Diese Funktion vor PHP 5.3.0 einen Integer-Wert zurück.
+    Dieses Verhalten kann durch einen Cast auf Integer simuliert
+    werden falls dies aus Portabilitätsgründen nötig sein sollte.
+   </para>
+   <para>
+    <example>
+     <programlisting role="php">
+<![CDATA[
+<?php
+// Temporäre Datei erstellen und Dateipfad speichern
+$tmp = tempnam('/tmp', 'PHP');
+
+// Dateitoken-Schlüssel ermitteln
+$key = ftok($tmp, 'a');
+
+// SHM-Resource anbinden, beachten Sie den weiter unten folgenden Cast
+$id = shm_attach($key);
+
+if ($id === false) {
+    die('SHM-Segment kann nicht erzeugt werden');
+}
+
+// Cast auf Integer, da vor PHP 5.3.0 die Resource-ID als
+// Integer zurückgegeben wurde. Der Cast simuliert dieses
+// Verhalten
+$id = (integer) $id;
+?>
+]]>
+     </programlisting>
+    </example>
+   </para>
+  </note>
+ </refsect1>
+
  <refsect1 role="seealso">
   &reftitle.seealso;
   <para>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.