svn: /phpdoc/de/trunk/ appendices/ini.list.xml reference/dba/functions/dba-open.xml reference/filesystem/functions/glob.xml reference/filesystem/functions/stat.xml reference/filesystem/ini.xml reference/imap/functions/imap-delete.xml reference/info/functions/get-magic-quotes-gpc.xml reference/info/functions/get-magic-quotes-runtime.xml reference/strings/functions/money-format.xml reference/strings/functions/strripos.xml reference/strings/functions/strrpos.xml reference/var/functions/is-numeric.x
[email protected] (Christoph Michael Becker)
| Newsgroups | php.doc.de |
|---|---|
| Message-ID | <[email protected]> |
cmb Sun, 01 Dec 2019 10:47:10 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=348380
Log:
Sync with EN
Changed paths:
U phpdoc/de/trunk/appendices/ini.list.xml
U phpdoc/de/trunk/reference/dba/functions/dba-open.xml
U phpdoc/de/trunk/reference/filesystem/functions/glob.xml
U phpdoc/de/trunk/reference/filesystem/functions/stat.xml
U phpdoc/de/trunk/reference/filesystem/ini.xml
U phpdoc/de/trunk/reference/imap/functions/imap-delete.xml
U phpdoc/de/trunk/reference/info/functions/get-magic-quotes-gpc.xml
U phpdoc/de/trunk/reference/info/functions/get-magic-quotes-runtime.xml
U phpdoc/de/trunk/reference/strings/functions/money-format.xml
U phpdoc/de/trunk/reference/strings/functions/strripos.xml
U phpdoc/de/trunk/reference/strings/functions/strrpos.xml
U phpdoc/de/trunk/reference/var/functions/is-numeric.xml
svn-diffs-348380.txt
(text/x-diff, 18.4 KB)
Modified: phpdoc/de/trunk/appendices/ini.list.xml
===================================================================
--- phpdoc/de/trunk/appendices/ini.list.xml 2019-12-01 08:32:02 UTC (rev 348379)
+++ phpdoc/de/trunk/appendices/ini.list.xml 2019-12-01 10:47:10 UTC (rev 348380)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 348210 Maintainer: nikic Status: ready -->
+<!-- EN-Revision: 348373 Maintainer: nikic Status: ready -->
<section xml:id="ini.list" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>Liste der &php.ini;-Direktiven</title>
@@ -41,7 +41,7 @@
<entry><link linkend="ini.allow-url-include">allow_url_include</link></entry>
<entry>"0"</entry>
<entry>PHP_INI_SYSTEM</entry>
- <entry>Verfügbar seit PHP 5.2.0.</entry>
+ <entry>Verfügbar seit PHP 5.2.0. Missbilligt von PHP 7.4.0 an.</entry>
</row>
<row>
<entry><link linkend="ini.always-populate-raw-post-data">always_populate_raw_post_data</link></entry>
Modified: phpdoc/de/trunk/reference/dba/functions/dba-open.xml
===================================================================
--- phpdoc/de/trunk/reference/dba/functions/dba-open.xml 2019-12-01 08:32:02 UTC (rev 348379)
+++ phpdoc/de/trunk/reference/dba/functions/dba-open.xml 2019-12-01 10:47:10 UTC (rev 348380)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 347555 Maintainer: samesch Status: ready -->
+<!-- EN-Revision: 348374 Maintainer: samesch Status: ready -->
<refentry xml:id="function.dba-open" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>dba_open</refname>
@@ -14,7 +14,7 @@
<methodparam><type>string</type><parameter>path</parameter></methodparam>
<methodparam><type>string</type><parameter>mode</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>handler</parameter></methodparam>
- <methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
+ <methodparam choice="opt"><type>string</type><parameter>...</parameter></methodparam>
</methodsynopsis>
<para>
<function>dba_open</function> stellt eine Datenbankinstanz für
@@ -169,6 +169,26 @@
</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><parameter>...</parameter></term>
+ <listitem>
+ <para>
+ Optionale &string; Parameter, die an den Treiber übergeben werden.
+ </para>
+ <para>
+ Die <literal>cdb</literal>, <literal>cdb_make</literal>, <literal>flatfile</literal>,
+ <literal>inifile</literal>, <literal>qdbm</literal> and <literal>tcadb</literal> Treiber
+ unterstützen keine zusätzlichen Parameter.
+ </para>
+ <para>
+ Die <literal>db1</literal>, <literal>db2</literal>, <literal>db3</literal>,
+ <literal>db4</literal>, <literal>dbm</literal>, <literal>gdbm</literal>, <literal>lmdb</literal>,
+ and <literal>ndbm</literal> Treiber unterstützen einen einzigen zusätzlichen Parameter <literal>$filemode</literal>,
+ der dieselbe Bedeutung wie der <literal>$mode</literal> Parameter von <function>chmod</function> hat,
+ und dessen Standardwert <literal>0644</literal> ist.
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
</para>
</refsect1>
Modified: phpdoc/de/trunk/reference/filesystem/functions/glob.xml
===================================================================
--- phpdoc/de/trunk/reference/filesystem/functions/glob.xml 2019-12-01 08:32:02 UTC (rev 348379)
+++ phpdoc/de/trunk/reference/filesystem/functions/glob.xml 2019-12-01 10:47:10 UTC (rev 348380)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 347740 Maintainer: hholzgra Status: ready -->
+<!-- EN-Revision: 348336 Maintainer: hholzgra Status: ready -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.glob">
<refnamediv>
<refname>glob</refname>
Modified: phpdoc/de/trunk/reference/filesystem/functions/stat.xml
===================================================================
--- phpdoc/de/trunk/reference/filesystem/functions/stat.xml 2019-12-01 08:32:02 UTC (rev 348379)
+++ phpdoc/de/trunk/reference/filesystem/functions/stat.xml 2019-12-01 10:47:10 UTC (rev 348380)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 334605 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 348349 Maintainer: wiesemann Status: ready -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.stat">
<refnamediv>
<refname>stat</refname>
@@ -132,6 +132,47 @@
Systeme (z.B. Windows) geben -1 zurück.
</para>
<para>
+ Der Wert von <literal>mode</literal> enthält Informationen, die von mehreren Funktionen
+ gelesen werden. Wenn als Oktalzahl dargestellt und von rechts betrachtet, werden die
+ ersten drei Ziffern von <function>chmod</function> zurückgegeben. Die nächste Ziffer
+ wird von PHP ignoriert. Die nächsten beiden Ziffern geben den Dateityp an:
+ <table>
+ <title><literal>mode</literal> Dateitypen</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry><literal>mode</literal> als Oktalzahl</entry>
+ <entry>Bedeutung</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry><constant>0120000</constant></entry>
+ <entry>Verknüpfung</entry>
+ </row>
+ <row>
+ <entry><constant>0100000</constant></entry>
+ <entry>reguläre Datei</entry>
+ </row>
+ <row>
+ <entry><constant>0060000</constant></entry>
+ <entry>Block-Gerät</entry>
+ </row>
+ <row>
+ <entry><constant>0040000</constant></entry>
+ <entry>Verzeichnis</entry>
+ </row>
+ <row>
+ <entry><constant>0010000</constant></entry>
+ <entry>FIFO</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ So könnte beispielsweise eine reguläre Datei <constant>0100644</constant>, und ein
+ Verzeichnis <constant>0040755</constant> sein.
+ </para>
+ <para>
Im Fehlerfall gibt <function>stat</function> &false; zurück.
</para>
&fs.file.32bit;
Modified: phpdoc/de/trunk/reference/filesystem/ini.xml
===================================================================
--- phpdoc/de/trunk/reference/filesystem/ini.xml 2019-12-01 08:32:02 UTC (rev 348379)
+++ phpdoc/de/trunk/reference/filesystem/ini.xml 2019-12-01 10:47:10 UTC (rev 348380)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 345558 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 348 Maintainer: wiesemann Status: ready -->
<section xml:id="filesystem.configuration" xmlns="http://docbook.org/ns/docbook">
&reftitle.runtime;
@@ -28,7 +28,7 @@
<entry><link linkend="ini.allow-url-include">allow_url_include</link></entry>
<entry>"0"</entry>
<entry>PHP_INI_SYSTEM</entry>
- <entry>Verfügbar seit PHP 5.2.0.</entry>
+ <entry>Verfügbar seit PHP 5.2.0. Missbilligt von PHP 7.4.0 an.</entry>
</row>
<row>
<entry><link linkend="ini.user-agent">user_agent</link></entry>
Modified: phpdoc/de/trunk/reference/imap/functions/imap-delete.xml
===================================================================
--- phpdoc/de/trunk/reference/imap/functions/imap-delete.xml 2019-12-01 08:32:02 UTC (rev 348379)
+++ phpdoc/de/trunk/reference/imap/functions/imap-delete.xml 2019-12-01 10:47:10 UTC (rev 348380)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 331926 Maintainer: hholzgra Status: ready -->
+<!-- EN-Revision: 348340 Maintainer: hholzgra Status: ready -->
<refentry xml:id="function.imap-delete" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>imap_delete</refname>
Modified: phpdoc/de/trunk/reference/info/functions/get-magic-quotes-gpc.xml
===================================================================
--- phpdoc/de/trunk/reference/info/functions/get-magic-quotes-gpc.xml 2019-12-01 08:32:02 UTC (rev 348379)
+++ phpdoc/de/trunk/reference/info/functions/get-magic-quotes-gpc.xml 2019-12-01 10:47:10 UTC (rev 348380)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 325516 Maintainer: nobody Status: ready -->
+<!-- EN-Revision: 348353 Maintainer: nobody Status: ready -->
<refentry xml:id="function.get-magic-quotes-gpc" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -8,6 +8,10 @@
<refpurpose>Ermittelt die aktuelle Konfiguration von magic_quotes_gpc</refpurpose>
</refnamediv>
+ <refsynopsisdiv>
+ &warn.deprecated.function-7-4-0;
+ </refsynopsisdiv>
+
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
@@ -49,6 +53,12 @@
</thead>
<tbody>
<row>
+ <entry>7.4.0</entry>
+ <entry>
+ Diese Funktion wurde missbilligt.
+ </entry>
+ </row>
+ <row>
<entry>5.4.0</entry>
<entry>
Gibt immer &false; zurück, weil das magic quotes Feature von PHP
Modified: phpdoc/de/trunk/reference/info/functions/get-magic-quotes-runtime.xml
===================================================================
--- phpdoc/de/trunk/reference/info/functions/get-magic-quotes-runtime.xml 2019-12-01 08:32:02 UTC (rev 348379)
+++ phpdoc/de/trunk/reference/info/functions/get-magic-quotes-runtime.xml 2019-12-01 10:47:10 UTC (rev 348380)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 325516 Maintainer: nobody Status: ready -->
+<!-- EN-Revision: 348353 Maintainer: nobody Status: ready -->
<refentry xml:id="function.get-magic-quotes-runtime" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -10,6 +10,10 @@
</refpurpose>
</refnamediv>
+ <refsynopsisdiv>
+ &warn.deprecated.function-7-4-0;
+ </refsynopsisdiv>
+
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
@@ -43,6 +47,12 @@
</thead>
<tbody>
<row>
+ <entry>7.4.0</entry>
+ <entry>
+ Diese Funktion wurde missbilligt.
+ </entry>
+ </row>
+ <row>
<entry>5.4.0</entry>
<entry>
Gibt immer &false; zurück, weil das magic quotes Feature von PHP
Modified: phpdoc/de/trunk/reference/strings/functions/money-format.xml
===================================================================
--- phpdoc/de/trunk/reference/strings/functions/money-format.xml 2019-12-01 08:32:02 UTC (rev 348379)
+++ phpdoc/de/trunk/reference/strings/functions/money-format.xml 2019-12-01 10:47:10 UTC (rev 348380)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 346848 Maintainer: nobody Status: ready -->
+<!-- EN-Revision: 348336 Maintainer: nobody Status: ready -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.money-format">
<refnamediv>
Modified: phpdoc/de/trunk/reference/strings/functions/strripos.xml
===================================================================
--- phpdoc/de/trunk/reference/strings/functions/strripos.xml 2019-12-01 08:32:02 UTC (rev 348379)
+++ phpdoc/de/trunk/reference/strings/functions/strripos.xml 2019-12-01 10:47:10 UTC (rev 348380)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 346302 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 347318 Maintainer: sammywg Status: ready -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.strripos">
<refnamediv>
@@ -47,11 +47,21 @@
<varlistentry>
<term><parameter>offset</parameter></term>
<listitem>
+ <para>
+ Wenn null (<literal>0</literal>) oder positiv, wird die Suche von links
+ nach rechts durchgeführt, wobei die ersten <parameter>offset</parameter>
+ Bytes des <parameter>haystack</parameter> übersprungen werden.
+ </para>
<para>
- Wenn angegeben, wird die Suche diese Anzahl an Buchstaben vom Anfang des
- Strings gezählt starten. Wenn der Wert negativ ist, startet die Suche
- stattdessen diese Anzahl an Zeichen vom Ende des Strings aus,
- wobei rückwärts gesucht wird.
+ Wenn negativ, wird die Suche von rechts nach links durchgeführt, wobei die
+ letzten <parameter>offset</parameter> Bytes des <parameter>haystack</parameter>
+ übersprungen werden.
+ <note>
+ <para>
+ Dies bedeutet, dass das letzte Vorkommen von <parameter>needle</parameter>
+ vor den letzten <parameter>offset</parameter> Bytes gesucht wird.
+ </para>
+ </note>
</para>
</listitem>
</varlistentry>
@@ -65,8 +75,11 @@
Gibt die Position zurück, an der <parameter>needle</parameter> relativ zum
Beginn von der <parameter>haystack</parameter> Zeichenkette vorkommt (unabhängig
von Suchrichtung oder Offset).
- Es ist ebenfalls zu beachten, dass Zeichenkettenpositionen bei 0 beginnen,
- nicht bei 1.
+ <note>
+ <simpara>
+ Positionen in Zeichenketten werden ab 0 gezählt, und nicht ab 1.
+ </simpara>
+ </note>
</para>
<para>
Wenn <parameter>needle</parameter> nicht gefunden wird, gibt die Funktion
Modified: phpdoc/de/trunk/reference/strings/functions/strrpos.xml
===================================================================
--- phpdoc/de/trunk/reference/strings/functions/strrpos.xml 2019-12-01 08:32:02 UTC (rev 348379)
+++ phpdoc/de/trunk/reference/strings/functions/strrpos.xml 2019-12-01 10:47:10 UTC (rev 348380)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 346302 Maintainer: simp Status: ready -->
+<!-- EN-Revision: 347577 Maintainer: simp Status: ready -->
<!-- Credits: sammywg -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.strrpos">
@@ -45,10 +45,21 @@
<varlistentry>
<term><parameter>offset</parameter></term>
<listitem>
+ <para>
+ Wenn null (<literal>0</literal>) oder positiv, wird die Suche von links
+ nach rechts durchgeführt, wobei die ersten <parameter>offset</parameter>
+ Bytes des <parameter>haystack</parameter> übersprungen werden.
+ </para>
<para>
- Wenn angegeben, wird die Suche diese Anzahl an Buchstaben vom Anfang des
- Strings gezählt stoppen. Wenn der Wert negativ ist, startet die Suche
- stattdessen diese Anzahl an Zeichen vom Ende des Strings aus.
+ Wenn negativ, wird die Suche von rechts nach links durchgeführt, wobei die
+ letzten <parameter>offset</parameter> Bytes des <parameter>haystack</parameter>
+ übersprungen werden.
+ <note>
+ <para>
+ Dies bedeutet, dass das letzte Vorkommen von <parameter>needle</parameter>
+ vor den letzten <parameter>offset</parameter> Bytes gesucht wird.
+ </para>
+ </note>
</para>
</listitem>
</varlistentry>
@@ -62,8 +73,11 @@
Gibt die Position des Vorkommens des gesuchten Teilstrings relativ
zum Anfang der Zeichenkette <parameter>haystack</parameter> (unabhängig
von Suchrichtung oder Offset) zurück.
- Beachten Sie bitte, dass Positionen in Zeichenketten ab 0 gezählt werden
- und nicht ab 1.
+ <note>
+ <simpara>
+ Positionen in Zeichenketten werden ab 0 gezählt, und nicht ab 1.
+ </simpara>
+ </note>
</para>
<para>
Gibt &false; zurück, falls der gesuchte teilstring nicht gefunden wurde.
@@ -71,31 +85,6 @@
&return.falseproblem;
</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.0.0</entry>
- <entry>
- <parameter>needle</parameter> kann nun aus mehr als
- einem Buchstaben bestehen.
- </entry>
- </row>
- </tbody>
- </tgroup>
- </informaltable>
- </para>
- </refsect1>
-
<refsect1 role="examples">
&reftitle.examples;
<para>
@@ -128,16 +117,41 @@
<?php
$foo = "0123456789a123456789b123456789c";
-var_dump(strrpos($foo, '7', -5)); // Beginnt die Suche fünf Zeichen
- // vom Ende aus. Ergebnis: int(17)
+// Sucht '0' ab dem nullten Byte (vom Anfang an)
+var_dump(strrpos($foo, '0', 0));
-var_dump(strrpos($foo, '7', 20)); // Beginnt die Suche zwanzig Zeichen
- // vom Anfang aus. Ergebnis: int(27)
+// Sucht '0' ab dem ersten Byte (nach Byte "0")
+var_dump(strrpos($foo, '0', 1));
-var_dump(strrpos($foo, '7', 28)); // Ergebnis: bool(false)
+// Sucht '7' ab dem 21ten Byte (nach Byte 20)
+var_dump(strrpos($foo, '7', 20));
+
+// Sucht '7' ab dem 29ten Byte (nach Byte 28)
+var_dump(strrpos($foo, '7', 28));
+
+// Sucht '7' von rechts nach links ab dem fünften Byte vom Ende
+var_dump(strrpos($foo, '7', -5));
+
+// Sucht 'c' von rechts nach links ab dem zweiten Byte vom Ende
+var_dump(strrpos($foo, 'c', -2));
+
+// Sucht '9c' von rechts nach links ab dem zweiten Byte vom Ende
+var_dump(strrpos($foo, '9c', -2));
?>
]]>
</programlisting>
+ &example.outputs;
+ <screen>
+<![CDATA[
+int(0)
+bool(false)
+int(27)
+bool(false)
+int(17)
+bool(false)
+int(29)
+]]>
+ </screen>
</example>
</para>
</refsect1>
Modified: phpdoc/de/trunk/reference/var/functions/is-numeric.xml
===================================================================
--- phpdoc/de/trunk/reference/var/functions/is-numeric.xml 2019-12-01 08:32:02 UTC (rev 348379)
+++ phpdoc/de/trunk/reference/var/functions/is-numeric.xml 2019-12-01 10:47:10 UTC (rev 348380)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 343341 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 348339 Maintainer: sammywg Status: ready -->
<refentry xml:id="function.is-numeric" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -64,6 +64,10 @@
02471,
0b10100111001,
1337e0,
+ "0x539",
+ "02471",
+ "0b10100111001",
+ "1337e0",
"nicht numerisch",
array(),
9.1,
@@ -88,10 +92,15 @@
1337 ist numerisch
1337 ist numerisch
1337 ist numerisch
-1337 ist numerisch
+1337.0 ist numerisch
+'0x539' ist NICHT numerisch
+'02471' ist NICHT numerisch
+'0b10100111001' ist NICHT numerisch
+'1337e0' ist numerisch
'nicht numerisch' ist NICHT numerisch
-array () ist NICHT numerisch
-9.0999999999999996447286321199499070644378662109375 ist numerisch
+array (
+) ist NICHT numerisch
+9.1 ist numerisch
NULL ist NICHT numerisch
]]>
</screen>