svn: /phpdoc/de/trunk/reference/ array/functions/array-map.xml classobj/functions/get-object-vars.xml datetime/functions/date.xml filter/filters.xml info/functions/assert-options.xml outcontrol/functions/ob-start.xml sqlite3/sqlite3/close.xml strings/functions/substr.xml
[email protected] (Christoph Michael Becker)
| Newsgroups | php.doc.de |
|---|---|
| Message-ID | <[email protected]> |
cmb Sun, 15 Dec 2019 17:56:51 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=348524
Log:
Sync with EN
Changed paths:
U phpdoc/de/trunk/reference/array/functions/array-map.xml
U phpdoc/de/trunk/reference/classobj/functions/get-object-vars.xml
U phpdoc/de/trunk/reference/datetime/functions/date.xml
U phpdoc/de/trunk/reference/filter/filters.xml
U phpdoc/de/trunk/reference/info/functions/assert-options.xml
U phpdoc/de/trunk/reference/outcontrol/functions/ob-start.xml
U phpdoc/de/trunk/reference/sqlite3/sqlite3/close.xml
U phpdoc/de/trunk/reference/strings/functions/substr.xml
svn-diffs-348524.txt
(text/x-diff, 11.2 KB)
Modified: phpdoc/de/trunk/reference/array/functions/array-map.xml
===================================================================
--- phpdoc/de/trunk/reference/array/functions/array-map.xml 2019-12-15 17:41:30 UTC (rev 348523)
+++ phpdoc/de/trunk/reference/array/functions/array-map.xml 2019-12-15 17:56:51 UTC (rev 348524)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 347465 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 348465 Maintainer: wiesemann Status: ready -->
<!-- CREDITS: tom -->
<refentry xml:id="function.array-map" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -25,6 +25,11 @@
<parameter>callback</parameter> akzeptiert, sollte der Anzahl der an
<function>array_map</function> übergebenen Arrays entsprechen.
</para>
+ <para>
+ Das zurückgelieferte Array erhält die Schlüssel des Array-Arguments nur,
+ wenn genau ein Array übergeben wurde. Wird mehr als ein Array übergeben,
+ hat das zurückgelieferte Array sequentielle Integer-Schlüssel.
+ </para>
</refsect1>
<refsect1 role="parameters">
@@ -293,11 +298,6 @@
</example>
</para>
<para>
- Das zurückgelieferte Array erhält die Schlüssel des Array-Arguments nur,
- wenn genau ein Array übergeben wurde. Wird mehr als ein Array übergeben,
- hat das zurückgelieferte Array sequentielle Integer-Schlüssel.
- </para>
- <para>
<example>
<title>
&null; <parameter>callback</parameter> nur mit <parameter>array1</parameter>
Modified: phpdoc/de/trunk/reference/classobj/functions/get-object-vars.xml
===================================================================
--- phpdoc/de/trunk/reference/classobj/functions/get-object-vars.xml 2019-12-15 17:41:30 UTC (rev 348523)
+++ phpdoc/de/trunk/reference/classobj/functions/get-object-vars.xml 2019-12-15 17:56:51 UTC (rev 348524)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 343199 Maintainer: cmb Status: ready -->
+<!-- EN-Revision: 348498 Maintainer: cmb Status: ready -->
<refentry xml:id="function.get-object-vars" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>get_object_vars</refname>
@@ -39,8 +39,6 @@
Elemente des mit <parameter>object</parameter> spezifizierten
Objekts zurück, auf die im aktuellen Gültigkeitsbereich
zugegriffen werden kann.
- Wenn einem Element kein Wert zugewiesen wurde, wird es mit
- einem &null;-Wert zurückgegeben.
</para>
</refsect1>
<refsect1 role="changelog">
Modified: phpdoc/de/trunk/reference/datetime/functions/date.xml
===================================================================
--- phpdoc/de/trunk/reference/datetime/functions/date.xml 2019-12-15 17:41:30 UTC (rev 348523)
+++ phpdoc/de/trunk/reference/datetime/functions/date.xml 2019-12-15 17:56:51 UTC (rev 348524)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 347543 Maintainer: simp Status: ready -->
+<!-- EN-Revision: 348466 Maintainer: simp Status: ready -->
<!-- Credits: sammywg -->
<refentry xml:id="function.date" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
@@ -260,7 +260,8 @@
</row>
<row>
<entry><literal>O</literal></entry>
- <entry>Zeitunterschied zur Greenwich time (GMT) in Stunden</entry>
+ <entry>Zeitunterschied zur Greenwich time (GMT) in Stunden ohne Doppelpunkt
+ zwischen Stunden und Minuten</entry>
<entry>Beispiel: <literal>+0200</literal></entry>
</row>
<row>
Modified: phpdoc/de/trunk/reference/filter/filters.xml
===================================================================
--- phpdoc/de/trunk/reference/filter/filters.xml 2019-12-15 17:41:30 UTC (rev 348523)
+++ phpdoc/de/trunk/reference/filter/filters.xml 2019-12-15 17:56:51 UTC (rev 348524)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 346911 Maintainer: nobody Status: ready -->
+<!-- EN-Revision: 348513 Maintainer: nobody Status: ready -->
<!-- Reviewed: no -->
<chapter xml:id="filter.filters" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -92,12 +92,14 @@
<entry>"float"</entry>
<entry>
<parameter>default</parameter>,
- <parameter>decimal</parameter>
+ <parameter>decimal</parameter>,
+ <parameter>min_range</parameter>,
+ <parameter>max_range</parameter>
</entry>
<entry>
<constant>FILTER_FLAG_ALLOW_THOUSAND</constant>
</entry>
- <entry>Prüft ob der Wert ein Float Wert ist, und konvertiert im Erfolgsfall zu float.</entry>
+ <entry>Prüft ob der Wert ein Float Wert ist, optional ob der Wert in der definierten Spanne liegt, und konvertiert im Erfolgsfall zu float.</entry>
</row>
<row>
<entry><constant>FILTER_VALIDATE_INT</constant></entry>
@@ -196,6 +198,13 @@
</thead>
<tbody>
<row>
+ <entry>7.4.0</entry>
+ <entry>
+ <parameter>min_range</parameter> und <parameter>max_range</parameter> Optionen
+ für <constant>FILTER_VALIDATE_FLOAT</constant> hinzugefügt.
+ </entry>
+ </row>
+ <row>
<entry>7.0.0</entry>
<entry>
<constant>FILTER_FLAG_HOSTNAME</constant> hinzugefügt
Modified: phpdoc/de/trunk/reference/info/functions/assert-options.xml
===================================================================
--- phpdoc/de/trunk/reference/info/functions/assert-options.xml 2019-12-15 17:41:30 UTC (rev 348523)
+++ phpdoc/de/trunk/reference/info/functions/assert-options.xml 2019-12-15 17:56:51 UTC (rev 348524)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 348227 Maintainer: cmb Status: ready -->
+<!-- EN-Revision: 348468 Maintainer: cmb Status: ready -->
<refentry xml:id="function.assert-options" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -98,11 +98,58 @@
<term><parameter>value</parameter></term>
<listitem>
<para>
- An optional new value for the option.
+ Ein optionaler neuer Wert für die Option.
</para>
+ <para>
+ Die Rückruffunktion, die per <constant>ASSERT_CALLBACK</constant> oder assert.callback
+ gesetzt wurde, sollte folgende Signatur haben:
+ <methodsynopsis role="procedural">
+ <type>void</type><methodname>assert_callback</methodname>
+ <methodparam><type>string</type><parameter>file</parameter></methodparam>
+ <methodparam><type>int</type><parameter>line</parameter></methodparam>
+ <methodparam><type>string</type><parameter>assertion</parameter></methodparam>
+ <methodparam choice="opt"><type>string</type><parameter>description</parameter></methodparam>
+ </methodsynopsis>
+ <variablelist>
+ <varlistentry>
+ <term><parameter>file</parameter></term>
+ <listitem>
+ <simpara>
+ Die Datei, in der <function>assert</function> aufgerufen wurde.
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter>line</parameter></term>
+ <listitem>
+ <simpara>
+ Die Zeile, in der <function>assert</function> aufgerufen wurde.
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter>assertion</parameter></term>
+ <listitem>
+ <simpara>
+ Die Zusicherung, die an <function>assert</function> übergeben wurde,
+ zu einer Zeichenkette konvertiert.
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter>description</parameter></term>
+ <listitem>
+ <simpara>
+ Die Beschreibung, die an <function>assert</function> übergeben wurde.
+ </simpara>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </para>
</listitem>
</varlistentry>
</variablelist>
+ Die Übergabe einer leeren Zeichenkette als <parameter>value</parameter> setzt den Assert-Rückruf zurück.
</para>
</refsect1>
@@ -125,9 +172,9 @@
<?php
// Das ist unsere Funktion zur Behandlung von
// fehlgeschlagenen Überprüfungen
-function assert_failure()
+function assert_failure($file, $line, $assertion, $message)
{
- echo 'Überprüfung fehlgeschlagen';
+ echo "Die Zusicherung $assertion in $file in Zeile $line schlug fehl: $message';
}
// Das ist unsere Testfunktion
Modified: phpdoc/de/trunk/reference/outcontrol/functions/ob-start.xml
===================================================================
--- phpdoc/de/trunk/reference/outcontrol/functions/ob-start.xml 2019-12-15 17:41:30 UTC (rev 348523)
+++ phpdoc/de/trunk/reference/outcontrol/functions/ob-start.xml 2019-12-15 17:56:51 UTC (rev 348524)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 347555 Maintainer: nobody Status: ready -->
+<!-- EN-Revision: 348463 Maintainer: nobody Status: ready -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.ob-start">
<refnamediv>
@@ -90,7 +90,7 @@
<term><parameter>phase</parameter></term>
<listitem>
<simpara>
- Bitmaske von <constant>PHP_OUTPUT_HANDLER_*</constant> Konstanten.
+ Bitmaske von <link linkend="outcontrol.constants"><constant>PHP_OUTPUT_HANDLER_*</constant> Konstanten</link>.
</simpara>
</listitem>
</varlistentry>
Modified: phpdoc/de/trunk/reference/sqlite3/sqlite3/close.xml
===================================================================
--- phpdoc/de/trunk/reference/sqlite3/sqlite3/close.xml 2019-12-15 17:41:30 UTC (rev 348523)
+++ phpdoc/de/trunk/reference/sqlite3/sqlite3/close.xml 2019-12-15 17:56:51 UTC (rev 348524)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 348420 Maintainer: lapistano Status: ready -->
+<!-- EN-Revision: 348460 Maintainer: lapistano Status: ready -->
<refentry xml:id="sqlite3.close" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
@@ -27,7 +27,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Gibt bei Erfolg &true; zurück. &return.falseforfailure;
+ &return.success;
</para>
</refsect1>
Modified: phpdoc/de/trunk/reference/strings/functions/substr.xml
===================================================================
--- phpdoc/de/trunk/reference/strings/functions/substr.xml 2019-12-15 17:41:30 UTC (rev 348523)
+++ phpdoc/de/trunk/reference/strings/functions/substr.xml 2019-12-15 17:56:51 UTC (rev 348524)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 337321 Maintainer: cmb Status: ready -->
+<!-- EN-Revision: 348487 Maintainer: cmb Status: ready -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.substr">
<refnamediv>
@@ -31,7 +31,7 @@
<term><parameter>string</parameter></term>
<listitem>
<para>
- Die Eingabezeichenkette. Muss mindestens ein Zeichen lang sein.
+ Die Eingabezeichenkette.
</para>
</listitem>
</varlistentry>