svn: /phpdoc/de/trunk/ language/predefined/arrayaccess.xml reference/curl/curlfile/construct.xml reference/curl/functions/curl-setopt.xml reference/exec/functions/proc-open.xml reference/mysqli/mysqli_driver.xml reference/readline/functions/readline.xml reference/var/functions/is-numeric.xml reference/zip/ziparchive/extractto.xml reference/zip/ziparchive/open.xml
[email protected] (Christoph Michael Becker)
| Newsgroups | php.doc.de |
|---|---|
| Message-ID | <[email protected]> |
cmb Sun, 22 Mar 2020 13:24:13 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=349513
Log:
Sync with EN
Changed paths:
U phpdoc/de/trunk/language/predefined/arrayaccess.xml
U phpdoc/de/trunk/reference/curl/curlfile/construct.xml
U phpdoc/de/trunk/reference/curl/functions/curl-setopt.xml
U phpdoc/de/trunk/reference/exec/functions/proc-open.xml
U phpdoc/de/trunk/reference/mysqli/mysqli_driver.xml
U phpdoc/de/trunk/reference/readline/functions/readline.xml
U phpdoc/de/trunk/reference/var/functions/is-numeric.xml
U phpdoc/de/trunk/reference/zip/ziparchive/extractto.xml
U phpdoc/de/trunk/reference/zip/ziparchive/open.xml
svn-diffs-349513.txt
(text/x-diff, 24.2 KB)
Modified: phpdoc/de/trunk/language/predefined/arrayaccess.xml
===================================================================
--- phpdoc/de/trunk/language/predefined/arrayaccess.xml 2020-03-22 08:41:42 UTC (rev 349512)
+++ phpdoc/de/trunk/language/predefined/arrayaccess.xml 2020-03-22 13:24:13 UTC (rev 349513)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 335080 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 349446 Maintainer: sammywg Status: ready -->
<phpdoc:classref xml:id="class.arrayaccess" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
@@ -46,7 +46,7 @@
<programlisting role="php">
<![CDATA[
<?php
-class obj implements ArrayAccess {
+class Obj implements ArrayAccess {
private $container = array();
public function __construct() {
@@ -78,7 +78,7 @@
}
}
-$obj = new obj;
+$obj = new Obj;
var_dump(isset($obj["zwei"]));
var_dump($obj["zwei"]);
Modified: phpdoc/de/trunk/reference/curl/curlfile/construct.xml
===================================================================
--- phpdoc/de/trunk/reference/curl/curlfile/construct.xml 2020-03-22 08:41:42 UTC (rev 349512)
+++ phpdoc/de/trunk/reference/curl/curlfile/construct.xml 2020-03-22 13:24:13 UTC (rev 349513)
@@ -23,8 +23,8 @@
<methodsynopsis>
<type>CURLFile</type><methodname>curl_file_create</methodname>
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
- <methodparam choice="opt"><type>string</type><parameter>mimetype</parameter></methodparam>
- <methodparam choice="opt"><type>string</type><parameter>postname</parameter></methodparam>
+ <methodparam choice="opt"><type>string</type><parameter>mimetype</parameter><initializer>""</initializer></methodparam>
+ <methodparam choice="opt"><type>string</type><parameter>postname</parameter><initializer>""</initializer></methodparam>
</methodsynopsis>
<para>
Erstellt ein <classname>CURLFile</classname>, welches zum Upload einer Datei
Modified: phpdoc/de/trunk/reference/curl/functions/curl-setopt.xml
===================================================================
--- phpdoc/de/trunk/reference/curl/functions/curl-setopt.xml 2020-03-22 08:41:42 UTC (rev 349512)
+++ phpdoc/de/trunk/reference/curl/functions/curl-setopt.xml 2020-03-22 13:24:13 UTC (rev 349513)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 349197 Maintainer: jaenecke Status: ready -->
+<!-- EN-Revision: 349505 Maintainer: jaenecke Status: ready -->
<refentry xml:id="function.curl-setopt" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -197,7 +197,7 @@
&true; um zu versuchen, das Änderungsdatum des serverseitigen Dokuments
zu ermitteln. Der Wert kann über die Funktion
<function>curl_getinfo</function> unter Verwendung des Parameters
- <parameter>CURLINFO_FILETIME</parameter> ermittelt werden.
+ <constant>CURLINFO_FILETIME</constant> ermittelt werden.
</entry>
<entry valign="top">
</entry>
@@ -763,10 +763,14 @@
<row>
<entry valign="top"><constant>CURLOPT_HTTP_VERSION</constant></entry>
<entry valign="top">
- <parameter>CURL_HTTP_VERSION_NONE</parameter> (Standard, lässt cURL
+ <constant>CURL_HTTP_VERSION_NONE</constant> (Standard, lässt cURL
entscheiden, welche Version genutzt werden soll),
- <parameter>CURL_HTTP_VERSION_1_0</parameter> (nutze HTTP/1.0),
- or <parameter>CURL_HTTP_VERSION_1_1</parameter> (nutze HTTP/1.1).
+ <constant>CURL_HTTP_VERSION_1_0</constant> (nutze HTTP/1.0),
+ <constant>CURL_HTTP_VERSION_1_1</constant> (nutze HTTP/1.1),
+ <constant>CURL_HTTP_VERSION_2_0</constant> (versucht HTTP 2),
+ <constant>CURL_HTTP_VERSION_2 </constant> (Alias von <constant>CURL_HTTP_VERSION_2_0</constant>),
+ <constant>CURL_HTTP_VERSION_2TLS</constant> (versucht HTTP 2 nur über TLS (HTTPS)) oder
+ <constant>CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE</constant> (stellt nicht-TLS HTTP Anfragen unter Verwendung von HTTP/2 ohne HTTP/1.1 Upgrade).
</entry>
<entry valign="top">
</entry>
@@ -776,12 +780,12 @@
<entry valign="top">
<para>
Die zu nutzende HTTP-Authentisierungsmethode; zur Verfügung stehen:
- <parameter>CURLAUTH_BASIC</parameter>,
- <parameter>CURLAUTH_DIGEST</parameter>,
- <parameter>CURLAUTH_GSSNEGOTIATE</parameter>,
- <parameter>CURLAUTH_NTLM</parameter>,
- <parameter>CURLAUTH_ANY</parameter>, und
- <parameter>CURLAUTH_ANYSAFE</parameter>.
+ <constant>CURLAUTH_BASIC</constant>,
+ <constant>CURLAUTH_DIGEST</constant>,
+ <constant>CURLAUTH_GSSNEGOTIATE</constant>,
+ <constant>CURLAUTH_NTLM</constant>,
+ <constant>CURLAUTH_ANY</constant>, und
+ <constant>CURLAUTH_ANYSAFE</constant>.
</para>
<para>
Um mehrere Methoden zu kombinieren kann der
@@ -790,11 +794,11 @@
auswählen.
</para>
<para>
- <parameter>CURLAUTH_ANY</parameter> ist ein Alias für
+ <constant>CURLAUTH_ANY</constant> ist ein Alias für
<literal>CURLAUTH_BASIC | CURLAUTH_DIGEST | CURLAUTH_GSSNEGOTIATE | CURLAUTH_NTLM</literal>.
</para>
<para>
- <parameter>CURLAUTH_ANYSAFE</parameter> ist ein Alias für
+ <constant>CURLAUTH_ANYSAFE</constant> ist ein Alias für
<literal>CURLAUTH_DIGEST | CURLAUTH_GSSNEGOTIATE | CURLAUTH_NTLM</literal>.
</para>
</entry>
@@ -888,19 +892,19 @@
</para>
<para>
Zulässige Optionen:
- <parameter>CURLPROTO_HTTP</parameter>,
- <parameter>CURLPROTO_HTTPS</parameter>,
- <parameter>CURLPROTO_FTP</parameter>,
- <parameter>CURLPROTO_FTPS</parameter>,
- <parameter>CURLPROTO_SCP</parameter>,
- <parameter>CURLPROTO_SFTP</parameter>,
- <parameter>CURLPROTO_TELNET</parameter>,
- <parameter>CURLPROTO_LDAP</parameter>,
- <parameter>CURLPROTO_LDAPS</parameter>,
- <parameter>CURLPROTO_DICT</parameter>,
- <parameter>CURLPROTO_FILE</parameter>,
- <parameter>CURLPROTO_TFTP</parameter>,
- <parameter>CURLPROTO_ALL</parameter>
+ <constant>CURLPROTO_HTTP</constant>,
+ <constant>CURLPROTO_HTTPS</constant>,
+ <constant>CURLPROTO_FTP</constant>,
+ <constant>CURLPROTO_FTPS</constant>,
+ <constant>CURLPROTO_SCP</constant>,
+ <constant>CURLPROTO_SFTP</constant>,
+ <constant>CURLPROTO_TELNET</constant>,
+ <constant>CURLPROTO_LDAP</constant>,
+ <constant>CURLPROTO_LDAPS</constant>,
+ <constant>CURLPROTO_DICT</constant>,
+ <constant>CURLPROTO_FILE</constant>,
+ <constant>CURLPROTO_TFTP</constant>,
+ <constant>CURLPROTO_ALL</constant>
</para>
</entry>
<entry valign="top">
@@ -912,8 +916,8 @@
<entry valign="top">
Die HTTP-Authentisierungsmethode(n) für die Proxy-Verbindung. Nutzt
die gleiche Bitmaske wie in <constant>CURLOPT_HTTPAUTH</constant>
- beschrieben. Nur <parameter>CURLAUTH_BASIC</parameter> und
- <parameter>CURLAUTH_NTLM</parameter> sind momentan für
+ beschrieben. Nur <constant>CURLAUTH_BASIC</constant> und
+ <constant>CURLAUTH_NTLM</constant> sind momentan für
Proxy-Verbindungen zulässig.
</entry>
<entry valign="top">
@@ -973,9 +977,9 @@
<entry valign="top">
<para>
Die zu verwendende SOCK5-Authentifizierungsmethode. Die Optionen sind:
- <parameter>CURLAUTH_BASIC</parameter>,
- <parameter>CURLAUTH_GSSAPI</parameter>,
- <parameter>CURLAUTH_NONE</parameter>.
+ <constant>CURLAUTH_BASIC</constant>,
+ <constant>CURLAUTH_GSSAPI</constant>,
+ <constant>CURLAUTH_NONE</constant>.
</para>
<para>
Der bitweise <literal>|</literal> (oder) Operator kann verwendet werden, um
@@ -983,13 +987,13 @@
um zu sehen, welche Methoden unterstützt werden, und die beste zu wählen.
</para>
<para>
- <parameter>CURLAUTH_BASIC</parameter> erlaubt Benutzernamen/Passwort Authentifizierung.
+ <constant>CURLAUTH_BASIC</constant> erlaubt Benutzernamen/Passwort Authentifizierung.
</para>
<para>
- <parameter>CURLAUTH_GSSAPI</parameter> erlaubt GSS-API Authentifizierung.
+ <constant>CURLAUTH_GSSAPI</constant> erlaubt GSS-API Authentifizierung.
</para>
<para>
- <parameter>CURLAUTH_NONE</parameter> erlaubt keine Authentifizierung.
+ <constant>CURLAUTH_NONE</constant> erlaubt keine Authentifizierung.
</para>
<para>
Voreinstellung ist <literal>CURLAUTH_BASIC|CURLAUTH_GSSAPI</literal>.
@@ -1043,6 +1047,14 @@
<constant>CURL_SSLVERSION_TLSv1_0</constant> (4),
<constant>CURL_SSLVERSION_TLSv1_1</constant> (5) oder
<constant>CURL_SSLVERSION_TLSv1_2</constant> (6).
+ Die maximale TLS-Version kann durch Verwendung einer der <constant>CURL_SSLVERSION_MAX_*</constant>
+ Konstanten spezifiziert werden. Es ist ebenfalls möglich eine der <constant>CURL_SSLVERSION_*</constant>
+ Konstanten mit einer der <constant>CURL_SSLVERSION_MAX_*</constant> Konstanten ODER zu verknüpfen.
+ <constant>CURL_SSLVERSION_MAX_DEFAULT</constant> (die maximale Version, die von der Bibliothek unterstützt wird),
+ <constant>CURL_SSLVERSION_MAX_TLSv1_0</constant>,
+ <constant>CURL_SSLVERSION_MAX_TLSv1_1</constant>,
+ <constant>CURL_SSLVERSION_MAX_TLSv1_2</constant>, oder
+ <constant>CURL_SSLVERSION_MAX_TLSv1_3</constant>.
<note>
<para>
Am besten ist es diese Option nicht zu setzen, und den Default zu verwenden.
@@ -1102,8 +1114,8 @@
<constant>CURL_SSLVERSION_TLSv1_3</constant>,
<constant>CURL_SSLVERSION_MAX_DEFAULT</constant>,
<constant>CURL_SSLVERSION_MAX_TLSv1_0</constant>,
+ <constant>CURL_SSLVERSION_MAX_TLSv1_1</constant>,
<constant>CURL_SSLVERSION_MAX_TLSv1_2</constant>,
- <constant>CURL_SSLVERSION_MAX_TLSv1_2</constant>,
<constant>CURL_SSLVERSION_MAX_TLSv1_3</constant> oder
<constant>CURL_SSLVERSION_SSLv3</constant>.
<note>
@@ -1128,16 +1140,53 @@
</entry>
</row>
<row>
+ <entry valign="top"><constant>CURLOPT_TCP_KEEPALIVE</constant></entry>
+ <entry valign="top">
+ Wenn auf <literal>1</literal> gesetzt, werden TCP-Keepalive-Sonden gesendet. Die Verzögerung und
+ Häufigkeit dieser Sonden kann mit den <constant>CURLOPT_TCP_KEEPIDLE</constant>
+ und <constant>CURLOPT_TCP_KEEPINTVL</constant> Optionen festgelegt werden, falls das Betriebssystem
+ diese unterstützt. Wenn auf <literal>0</literal> gesetzt (Voreinstellung), sind Keepalive-Sonden
+ deaktiviert.
+ </entry>
+ <entry valign="top">
+ Hinzugefügt in cURL 7.25.0. Verfügbar seit PHP 5.5.0.
+ </entry>
+ </row>
+ <row>
+ <entry valign="top"><constant>CURLOPT_TCP_KEEPIDLE</constant></entry>
+ <entry valign="top">
+ Gibt die Verzögerung in Sekunden an, die das Betriebssystem im Fall, dass die Verbindung inaktiv ist,
+ wartet bevor Keepalive-Sonden gesendet werden, wenn <constant>CURLOPT_TCP_KEEPALIVE</constant>
+ aktiviert ist. Nicht alle Betriebssysteme unterstützen diese Option.
+ Die Voreinstelung ist <literal>60</literal>.
+ </entry>
+ <entry valign="top">
+ Hinzugefügt in cURL 7.25.0. Verfügbar seit PHP 5.5.0.
+ </entry>
+ </row>
+ <row>
+ <entry valign="top"><constant>CURLOPT_TCP_KEEPINTVL</constant></entry>
+ <entry valign="top">
+ Gibt den Zeitraum in Sekunden an, den das Betriebssystem zwischen dem Senden von
+ Keepalive-Sonden warten wird, wenn <constant>CURLOPT_TCP_KEEPALIVE</constant> aktiviert ist.
+ Nicht alle Betriebssysteme unterstützen diese Option.
+ Die Voreinstelung ist <literal>60</literal>.
+ </entry>
+ <entry valign="top">
+ Hinzugefügt in cURL 7.25.0. Verfügbar seit PHP 5.5.0.
+ </entry>
+ </row>
+ <row>
<entry valign="top"><constant>CURLOPT_TIMECONDITION</constant></entry>
<entry valign="top">
Dieser Wert gibt an, wie <constant>CURLOPT_TIMEVALUE</constant>
behandelt werden soll. Mögliche Werte sind
- <parameter>CURL_TIMECOND_IFMODSINCE</parameter> (Standard) und
- <parameter>CURL_TIMECOND_ISUNMODSINCE</parameter>. Im ersten Fall
+ <constant>CURL_TIMECOND_IFMODSINCE</constant> (Standard) und
+ <constant>CURL_TIMECOND_ISUNMODSINCE</constant>. Im ersten Fall
wird geprüft, ob die Seite seit <constant>CURLOPT_TIMEVALUE</constant>
geändert wurde; andernfalls wird ein <literal>"304 Not Modified"</literal>-Header
zurückgegeben (vorausgesetzt <constant>CURLOPT_HEADER</constant> ist
- &true;). <parameter>CURL_TIMECOND_ISUNMODSINCE</parameter> bewirkt
+ &true;). <constant>CURL_TIMECOND_ISUNMODSINCE</constant> bewirkt
das gegenteilige Verhalten.
</entry>
<entry valign="top">
@@ -1168,7 +1217,7 @@
<entry valign="top">
Zeit in Sekunden seit dem 1. Januar 1970. Dieser Wert wird von
<constant>CURLOPT_TIMECONDITION</constant> genutzt. Als Standard wird
- <parameter>CURL_TIMECOND_IFMODSINCE</parameter> genutzt.
+ <constant>CURL_TIMECOND_IFMODSINCE</constant> genutzt.
</entry>
<entry valign="top">
</entry>
@@ -1338,6 +1387,20 @@
</entry>
</row>
<row>
+ <entry valign="top"><constant>CURLOPT_COOKIELIST</constant></entry>
+ <entry valign="top">
+ Eine Cookie-Zeichenkette (d.h. eine einzelne Zeile im Netscape/Mozilla-Format, oder ein regulärer
+ Set-Cookie-Header im HTTP-Stil), die dieses einzelne Cookie dem internen Cookie-Speicher hinzufügt.
+ <literal>"ALL"</literal> löscht alle Cookies, die im Speicher vorgehalten werden.
+ <literal>"SESS"</literal> löscht alle Sitzungscookies, die im Speicher vorgehalten werden.
+ <literal>"FLUSH"</literal> schreibt alle bekannten Cookies in die durch <constant>CURLOPT_COOKIEJAR</constant> angegebene Datei.
+ <literal>"RELOAD"</literal> lädt alle Cookies aus der durch <constant>CURLOPT_COOKIEFILE</constant> angegebenen Datei.
+ </entry>
+ <entry valign="top">
+ Verfügbar seit PHP 5.5.0 und cURL 7.14.1.
+ </entry>
+ </row>
+ <row>
<entry valign="top"><constant>CURLOPT_CUSTOMREQUEST</constant></entry>
<entry valign="top"><para>
Eine benutzerdefinierte Request-Methode, die anstelle von
@@ -1879,6 +1942,8 @@
<entry valign="top">
Das Format des Zertifikats. Unterstützt werden <literal>PEM</literal>
(Standard), <literal>DER</literal> und <literal>ENG</literal>.
+ Von OpenSSL 0.9.3 an wird <literal>"P12"</literal> (für PKCS#12-kodierte Dateien)
+ ebenfalls unterstützt.
</entry>
<entry valign="top">
Hinzugefügt in cURL 7.9.3.
Modified: phpdoc/de/trunk/reference/exec/functions/proc-open.xml
===================================================================
--- phpdoc/de/trunk/reference/exec/functions/proc-open.xml 2020-03-22 08:41:42 UTC (rev 349512)
+++ phpdoc/de/trunk/reference/exec/functions/proc-open.xml 2020-03-22 13:24:13 UTC (rev 349513)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 349246 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 349498 Maintainer: sammywg Status: ready -->
<refentry xml:id='function.proc-open' xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>proc_open</refname>
@@ -168,6 +168,10 @@
<literal>create_process_group</literal> (nur unter Windows): ermöglicht dem Kindprozess
<literal>CTRL</literal> Ereignisse zu behandeln, wenn der Wert auf &true; gesetzt wurde.
</member>
+ <member>
+ <literal>create_new_console</literal> (nur unter Windows): der neue Prozess hat
+ eine neue Konsole anstatt die Konsole des Elternprozesses zu erben
+ </member>
</simplelist>
</para>
</listitem>
@@ -198,6 +202,13 @@
</thead>
<tbody>
<row>
+ <entry>7.4.4</entry>
+ <entry>
+ Die Option <literal>create_new_console</literal> wurde dem Parameter
+ <parameter>other_options</parameter> hinzugefügt.
+ </entry>
+ </row>
+ <row>
<entry>7.4.0</entry>
<entry>
<function>proc_open</function> akzeptiert nun ebenfalls ein &array;
Modified: phpdoc/de/trunk/reference/mysqli/mysqli_driver.xml
===================================================================
--- phpdoc/de/trunk/reference/mysqli/mysqli_driver.xml 2020-03-22 08:41:42 UTC (rev 349512)
+++ phpdoc/de/trunk/reference/mysqli/mysqli_driver.xml 2020-03-22 13:24:13 UTC (rev 349513)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 349423 Maintainer:tihox Status: ready -->
+<!-- EN-Revision: 349454 Maintainer:tihox Status: ready -->
<!-- Reviewed: no -->
<phpdoc:classref xmlns:phpdoc="http://php.net/ns/phpdoc" xml:id="class.mysqli-driver" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
@@ -14,7 +14,7 @@
&reftitle.intro;
<para>
Die <classname>mysqli_driver</classname> Klasse ist ein Exemplar des Monostate-Entwurfsmusters,
- d.h. es gibt nur einen Treiber, auf den durch eine beliebige Menge von mysqli_driver Exemplaren
+ d.h. es gibt nur einen Treiber, auf den durch eine beliebige Menge von <classname>mysqli_driver</classname> Exemplaren
zugegriffen werden kann.
</para>
</section>
Modified: phpdoc/de/trunk/reference/readline/functions/readline.xml
===================================================================
--- phpdoc/de/trunk/reference/readline/functions/readline.xml 2020-03-22 08:41:42 UTC (rev 349512)
+++ phpdoc/de/trunk/reference/readline/functions/readline.xml 2020-03-22 13:24:13 UTC (rev 349513)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 346943 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 349481 Maintainer: sammywg Status: ready -->
<refentry xml:id="function.readline" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>readline</refname>
@@ -39,8 +39,9 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Gibt eine einzelne Zeile des Benutzers zurück. Der Zeile, die Sie erhalten,
+ Gibt eine einzelne Zeile des Benutzers zurück. Der Zeile, die zurückgegeben wird,
fehlt das abschließende Zeichen für einen Zeilenvorschub.
+ Können keine weiteren Daten gelesen werden, wird &false; zurückgegeben.
</para>
</refsect1>
Modified: phpdoc/de/trunk/reference/var/functions/is-numeric.xml
===================================================================
--- phpdoc/de/trunk/reference/var/functions/is-numeric.xml 2020-03-22 08:41:42 UTC (rev 349512)
+++ phpdoc/de/trunk/reference/var/functions/is-numeric.xml 2020-03-22 13:24:13 UTC (rev 349513)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 348339 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 349477 Maintainer: sammywg Status: ready -->
<refentry xml:id="function.is-numeric" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -18,7 +18,7 @@
</methodsynopsis>
<para>
Prüft, ob die gegebene Variable numerisch ist. Numerische Strings bestehen
- aus einem optionalen Vorzeichen, einer Anzahl Ziffern, einem optionalen
+ aus optionalen Whitespace-Zeichen, einem optionalen Vorzeichen, einer Anzahl Ziffern, einem optionalen
Dezimalteil und einem optionalen Exponentialteil. Folglich ist
<literal>+0123.45e6</literal> ein gültiger numerischer Wert.
Hexadezimale (z.B. <literal>0xf4c3b00c</literal>) und binäre (z.B. <literal>0b10100111001</literal>) Schreibweise sind nicht erlaubt.
Modified: phpdoc/de/trunk/reference/zip/ziparchive/extractto.xml
===================================================================
--- phpdoc/de/trunk/reference/zip/ziparchive/extractto.xml 2020-03-22 08:41:42 UTC (rev 349512)
+++ phpdoc/de/trunk/reference/zip/ziparchive/extractto.xml 2020-03-22 13:24:13 UTC (rev 349513)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 322115 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 349463 Maintainer: sammywg Status: ready -->
<refentry xml:id="ziparchive.extractto" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -19,6 +19,14 @@
Extrahiert das komplette Archiv oder die gegebenen Dateien in das angegebene
Ziel.
</para>
+ <warning>
+ <para>
+ Die Standardberechtigungen für extrahierte Dateien und Verzeichnisse
+ sind maximal großzügig ausgelegt. Dies kann eingeschränkt werden, wenn
+ die aktuelle umask durch Verwendung von <function>umask</function> gesetzt
+ wird.
+ </para>
+ </warning>
</refsect1>
<refsect1 role="parameters">
Modified: phpdoc/de/trunk/reference/zip/ziparchive/open.xml
===================================================================
--- phpdoc/de/trunk/reference/zip/ziparchive/open.xml 2020-03-22 08:41:42 UTC (rev 349512)
+++ phpdoc/de/trunk/reference/zip/ziparchive/open.xml 2020-03-22 13:24:13 UTC (rev 349513)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 336969 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 349502 Maintainer: sammywg Status: ready -->
<refentry xml:id="ziparchive.open" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
@@ -15,8 +15,11 @@
<methodparam choice="opt"><type>int</type><parameter>flags</parameter></methodparam>
</methodsynopsis>
<para>
- Öffnet ein neues ZIP-Archiv für Lese-, Schreib- und Veränderungszugriffe.
+ Öffnet ein neues oder existierendes ZIP-Archiv für Lese-, Schreib- und Veränderungszugriffe.
</para>
+ <para>
+ Seit libzip 1.6.0 wird eine leere Datei nicht länger als gültiges Archiv angesehen.
+ </para>
</refsect1>
<refsect1 role="parameters">
@@ -49,6 +52,11 @@
</listitem>
<listitem>
<para>
+ <constant><link linkend="ziparchive.constants.rdonly">ZipArchive::RDONLY</link></constant>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
<constant><link linkend="ziparchive.constants.excl">ZipArchive::EXCL</link></constant>
</para>
</listitem>
@@ -194,6 +202,25 @@
]]>
</programlisting>
</example>
+ <example>
+ <title>Erstellen eines temporären Archivs</title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+$name = tempnam(sys_get_temp_dir(), "FOO");
+$zip = new ZipArchive;
+$res = $zip->open($name, ZipArchive::OVERWRITE); /* trunkieren, da eine leere Datei nicht gültig ist */
+if ($res === TRUE) {
+ $zip->addFile('data.txt', 'eintragsname.txt');
+ $zip->close();
+ echo 'ok';
+} else {
+ echo 'Fehler';
+}
+?>
+]]>
+ </programlisting>
+ </example>
</refsect1>
</refentry>