svn: /phpdoc/de/trunk/ language/functions.xml language/oop5/traits.xml reference/filesystem/functions/fgetcsv.xml reference/image/functions/imagecopyresized.xml reference/json/functions/json-encode.xml reference/ldap/functions/ldap-mod-replace.xml reference/strings/functions/str-getcsv.xml reference/strings/functions/stripos.xml reference/strings/functions/stristr.xml reference/strings/functions/strpos.xml reference/strings/functions/strrchr.xml reference/strings/functions/strripos.xml reference
[email protected] (Christoph Michael Becker)
| Newsgroups | php.doc.de |
|---|---|
| Message-ID | <[email protected]> |
cmb Tue, 18 Dec 2018 16:42:28 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=346381
Log:
Sync with EN
Changed paths:
U phpdoc/de/trunk/language/functions.xml
U phpdoc/de/trunk/language/oop5/traits.xml
U phpdoc/de/trunk/reference/filesystem/functions/fgetcsv.xml
U phpdoc/de/trunk/reference/image/functions/imagecopyresized.xml
U phpdoc/de/trunk/reference/json/functions/json-encode.xml
U phpdoc/de/trunk/reference/ldap/functions/ldap-mod-replace.xml
U phpdoc/de/trunk/reference/strings/functions/str-getcsv.xml
U phpdoc/de/trunk/reference/strings/functions/stripos.xml
U phpdoc/de/trunk/reference/strings/functions/stristr.xml
U phpdoc/de/trunk/reference/strings/functions/strpos.xml
U phpdoc/de/trunk/reference/strings/functions/strrchr.xml
U phpdoc/de/trunk/reference/strings/functions/strripos.xml
U phpdoc/de/trunk/reference/strings/functions/strrpos.xml
U phpdoc/de/trunk/reference/strings/functions/strstr.xml
svn-diffs-346381.txt
(text/x-diff, 16.9 KB)
Modified: phpdoc/de/trunk/language/functions.xml
===================================================================
--- phpdoc/de/trunk/language/functions.xml 2018-12-18 16:15:56 UTC (rev 346380)
+++ phpdoc/de/trunk/language/functions.xml 2018-12-18 16:42:28 UTC (rev 346381)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 346044 Maintainer: cmb Status: ready -->
+<!-- EN-Revision: 346309 Maintainer: cmb Status: ready -->
<!-- Credits: hholzgra, tom, updated to fix build by theseer -->
<chapter xml:id="language.functions" xmlns="http://docbook.org/ns/docbook">
@@ -597,6 +597,36 @@
</example>
<example>
+ <title>Typisierte Referenzparameter</title>
+ <simpara>
+ Deklarierte Typen von Referenzparametern werden nur beim Betreten der Funktion
+ geprüft, nicht aber beim Verlassen derselben, so dass sich der Typ des Arguments
+ nach dem Verlassen geändert haben kann.
+ </simpara>
+ <programlisting role="php">
+<![CDATA[
+<?php
+function array_baz(array &$param)
+{
+ $param = 1;
+}
+$var = [];
+array_baz($var);
+var_dump($var);
+array_baz($var);
+?>
+]]>
+ </programlisting>
+ &example.outputs.similar;
+ <screen>
+<![CDATA[
+int(1)
+
+Fatal error: Uncaught TypeError: Argument 1 passed to array_baz() must be of the type array, int given, called in %s on line %d
+]]>
+ </screen>
+ </example>
+ <example>
<title>Nullable Typdeklaration</title>
<programlisting role="php">
<![CDATA[
Modified: phpdoc/de/trunk/language/oop5/traits.xml
===================================================================
--- phpdoc/de/trunk/language/oop5/traits.xml 2018-12-18 16:15:56 UTC (rev 346380)
+++ phpdoc/de/trunk/language/oop5/traits.xml 2018-12-18 16:42:28 UTC (rev 346381)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 346114 Maintainer: simp Status: ready -->
+<!-- EN-Revision: 346323 Maintainer: simp Status: ready -->
<sect1 xml:id="language.oop5.traits" xmlns="http://docbook.org/ns/docbook">
<title>Traits</title>
<para>
Modified: phpdoc/de/trunk/reference/filesystem/functions/fgetcsv.xml
===================================================================
--- phpdoc/de/trunk/reference/filesystem/functions/fgetcsv.xml 2018-12-18 16:15:56 UTC (rev 346380)
+++ phpdoc/de/trunk/reference/filesystem/functions/fgetcsv.xml 2018-12-18 16:42:28 UTC (rev 346381)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 344983 Maintainer: simp Status: ready -->
+<!-- EN-Revision: 346346 Maintainer: simp Status: ready -->
<!-- Credits: khp -->
<refentry xml:id="function.fgetcsv" xmlns="http://docbook.org/ns/docbook">
@@ -84,7 +84,9 @@
<listitem>
<para>
Der optionale Parameter <parameter>enclosure</parameter> setzt das
- Feld-Begrenzungs Zeichen (nur ein Zeichen).
+ Feld-Begrenzungs Zeichen (höchstens ein Zeichen).
+ Eine leere Zeichenkette (<literal>""</literal>) deaktiviert den proprietären
+ Maskierungsmechanismus.
</para>
</listitem>
</varlistentry>
@@ -148,6 +150,13 @@
</thead>
<tbody>
<row>
+ <entry>7.4.0</entry>
+ <entry>
+ Der <parameter>escape</parameter> Parameter akzeptiert nun auch eine leere
+ Zeichenkette, um den proprietären Maskierungsmechanismus zu deaktivieren.
+ </entry>
+ </row>
+ <row>
<entry>5.3.0</entry>
<entry>
Der <parameter>escape</parameter> Parameter wurde ergänzt
Modified: phpdoc/de/trunk/reference/image/functions/imagecopyresized.xml
===================================================================
--- phpdoc/de/trunk/reference/image/functions/imagecopyresized.xml 2018-12-18 16:15:56 UTC (rev 346380)
+++ phpdoc/de/trunk/reference/image/functions/imagecopyresized.xml 2018-12-18 16:42:28 UTC (rev 346381)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 333203 Maintainer: simp Status: ready -->
+<!-- EN-Revision: 346311 Maintainer: simp Status: ready -->
<refentry xml:id="function.imagecopyresized" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>imagecopyresized</refname>
@@ -205,6 +205,7 @@
&reftitle.seealso;
<para>
<function>imagecopyresampled</function>
+ <function>imagescale</function>
</para>
</refsect1>
</refentry>
Modified: phpdoc/de/trunk/reference/json/functions/json-encode.xml
===================================================================
--- phpdoc/de/trunk/reference/json/functions/json-encode.xml 2018-12-18 16:15:56 UTC (rev 346380)
+++ phpdoc/de/trunk/reference/json/functions/json-encode.xml 2018-12-18 16:42:28 UTC (rev 346381)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 345753 Maintainer: simp Status: ready -->
+<!-- EN-Revision: 346377 Maintainer: simp Status: ready -->
<!-- Credits: sammywg -->
<refentry xml:id="function.json-encode" xmlns="http://docbook.org/ns/docbook">
@@ -60,6 +60,7 @@
<constant>JSON_PRESERVE_ZERO_FRACTION</constant>,
<constant>JSON_UNESCAPED_UNICODE</constant>,
<constant>JSON_PARTIAL_OUTPUT_ON_ERROR</constant>,
+ <constant>JSON_UNESCAPED_LINE_TERMINATORS</constant>,
<constant>JSON_THROW_ON_ERROR</constant>.
Das Verhalten dieser Konstanten ist auf der Seite über die
<link linkend="json.constants">JSON Konstanten</link>
Modified: phpdoc/de/trunk/reference/ldap/functions/ldap-mod-replace.xml
===================================================================
--- phpdoc/de/trunk/reference/ldap/functions/ldap-mod-replace.xml 2018-12-18 16:15:56 UTC (rev 346380)
+++ phpdoc/de/trunk/reference/ldap/functions/ldap-mod-replace.xml 2018-12-18 16:42:28 UTC (rev 346381)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 343898 Maintainer: nobody Status: ready -->
+<!-- EN-Revision: 346169 Maintainer: nobody Status: ready -->
<refentry xml:id="function.ldap-mod-replace" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -15,7 +15,7 @@
<methodparam><type>resource</type><parameter>link_identifier</parameter></methodparam>
<methodparam><type>string</type><parameter>dn</parameter></methodparam>
<methodparam><type>array</type><parameter>entry</parameter></methodparam>
- <methodparam choice="opt"><type>array</type><parameter>serverctrls</parameter></methodparam>
+ <methodparam choice="opt"><type>array</type><parameter>serverctrls</parameter><initializer>array()</initializer></methodparam>
</methodsynopsis>
<para>
Ersetzt ein oder mehrere Merkmale des angegeben <parameter>dn</parameter>. Es
@@ -54,6 +54,15 @@
</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><parameter>serverctrls</parameter></term>
+ <listitem>
+ <para>
+ Array von <link linkend="ldap.controls">LDAP-Steuerbefehlen</link>,
+ die mit der Anfrage versendet werden sollen.
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
</para>
</refsect1>
@@ -65,6 +74,30 @@
</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>7.3</entry>
+ <entry>
+ Unterstützung für <parameter>serverctrls</parameter> hinzugefügt.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </refsect1>
+
<refsect1 role="notes">
&reftitle.notes;
¬e.bin-safe;
@@ -74,6 +107,7 @@
&reftitle.seealso;
<para>
<simplelist>
+ <member><function>ldap_mod_replace_ext</function></member>
<member><function>ldap_mod_del</function></member>
<member><function>ldap_mod_add</function></member>
<member><function>ldap_modify_batch</function></member>
Modified: phpdoc/de/trunk/reference/strings/functions/str-getcsv.xml
===================================================================
--- phpdoc/de/trunk/reference/strings/functions/str-getcsv.xml 2018-12-18 16:15:56 UTC (rev 346380)
+++ phpdoc/de/trunk/reference/strings/functions/str-getcsv.xml 2018-12-18 16:42:28 UTC (rev 346381)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 345681 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 346346 Maintainer: sammywg Status: ready -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.str-getcsv">
<refnamediv>
@@ -65,8 +65,10 @@
<term><parameter>escape</parameter></term>
<listitem>
<para>
- Bestimmt das Maskierungszeichen (nur ein Zeichen). Standardmäßig wird
+ Bestimmt das Maskierungszeichen (höchstens ein Zeichen). Standardmäßig wird
ein Backslash (<literal>\</literal>) verwendet.
+ Eine leere Zeichenkette (<literal>""</literal>) deaktiviert den proprietären
+ Maskierungsmechanismus.
</para>
<note>
<simpara>
@@ -93,6 +95,33 @@
</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>7.4.0</entry>
+ <entry>
+ Der <parameter>escape</parameter> Parameter interpretiert nun eine leere
+ Zeichenkette als Signal, um den proprietären Maskierungsmechanismus zu
+ deaktivieren. Zuvor wurde eine leere Zeichenkette wie der Vorgabewert
+ behandelt.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </refsect1>
+
<refsect1 role="seealso">
&reftitle.seealso;
<para>
Modified: phpdoc/de/trunk/reference/strings/functions/stripos.xml
===================================================================
--- phpdoc/de/trunk/reference/strings/functions/stripos.xml 2018-12-18 16:15:56 UTC (rev 346380)
+++ phpdoc/de/trunk/reference/strings/functions/stripos.xml 2018-12-18 16:42:28 UTC (rev 346381)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 345530 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 346302 Maintainer: sammywg Status: ready -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.stripos">
<refnamediv>
@@ -48,10 +48,7 @@
Beachten Sie, dass <parameter>needle</parameter> eine Zeichenkette von
einem oder mehreren Zeichen sein kann.
</para>
- <para>
- Ist <parameter>needle</parameter> kein String, wird der Parameter in einen
- Integerwert konvertiert, der dem Ordinalwert des Zeichens entspricht.
- </para>
+ &strings.parameter.needle.non-string;
</listitem>
</varlistentry>
<varlistentry>
Modified: phpdoc/de/trunk/reference/strings/functions/stristr.xml
===================================================================
--- phpdoc/de/trunk/reference/strings/functions/stristr.xml 2018-12-18 16:15:56 UTC (rev 346380)
+++ phpdoc/de/trunk/reference/strings/functions/stristr.xml 2018-12-18 16:42:28 UTC (rev 346381)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 343899 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 346302 Maintainer: sammywg Status: ready -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.stristr">
<refnamediv>
@@ -38,10 +38,7 @@
<varlistentry>
<term><parameter>needle</parameter></term>
<listitem>
- <para>
- Ist <parameter>needle</parameter> kein String, wird der Parameter in einen
- Integerwert konvertiert, der dem Ordinalwert des Zeichens entspricht.
- </para>
+ &strings.parameter.needle.non-string;
</listitem>
</varlistentry>
<varlistentry>
Modified: phpdoc/de/trunk/reference/strings/functions/strpos.xml
===================================================================
--- phpdoc/de/trunk/reference/strings/functions/strpos.xml 2018-12-18 16:15:56 UTC (rev 346380)
+++ phpdoc/de/trunk/reference/strings/functions/strpos.xml 2018-12-18 16:42:28 UTC (rev 346381)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 343898 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 346302 Maintainer: sammywg Status: ready -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.strpos">
<refnamediv>
@@ -38,10 +38,7 @@
<varlistentry>
<term><parameter>needle</parameter></term>
<listitem>
- <para>
- Ist <parameter>needle</parameter> kein String, wird der Parameter in einen
- Integerwert konvertiert, der dem Ordinalwert des Zeichens entspricht.
- </para>
+ &strings.parameter.needle.non-string;
</listitem>
</varlistentry>
<varlistentry>
Modified: phpdoc/de/trunk/reference/strings/functions/strrchr.xml
===================================================================
--- phpdoc/de/trunk/reference/strings/functions/strrchr.xml 2018-12-18 16:15:56 UTC (rev 346380)
+++ phpdoc/de/trunk/reference/strings/functions/strrchr.xml 2018-12-18 16:42:28 UTC (rev 346381)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 321865 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 346302 Maintainer: sammywg Status: ready -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.strrchr">
<refnamediv>
<refname>strrchr</refname>
@@ -41,10 +41,7 @@
erste Zeichen verwendet. Damit unterscheidet sich das Verhalten der
Funktion gegenüber <function>strstr</function>.
</para>
- <para>
- Ist <parameter>needle</parameter> kein String, wird der Parameter in einen
- Integerwert konvertiert, der dem Ordinalwert des Zeichens entspricht.
- </para>
+ &strings.parameter.needle.non-string;
</listitem>
</varlistentry>
</variablelist>
Modified: phpdoc/de/trunk/reference/strings/functions/strripos.xml
===================================================================
--- phpdoc/de/trunk/reference/strings/functions/strripos.xml 2018-12-18 16:15:56 UTC (rev 346380)
+++ phpdoc/de/trunk/reference/strings/functions/strripos.xml 2018-12-18 16:42:28 UTC (rev 346381)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 345530 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 346302 Maintainer: sammywg Status: ready -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.strripos">
<refnamediv>
@@ -38,10 +38,7 @@
<varlistentry>
<term><parameter>needle</parameter></term>
<listitem>
- <para>
- Ist <parameter>needle</parameter> kein String, wird der Parameter in einen
- Integerwert konvertiert, der dem Ordinalwert des Zeichens entspricht.
- </para>
+ &strings.parameter.needle.non-string;
</listitem>
</varlistentry>
<varlistentry>
Modified: phpdoc/de/trunk/reference/strings/functions/strrpos.xml
===================================================================
--- phpdoc/de/trunk/reference/strings/functions/strrpos.xml 2018-12-18 16:15:56 UTC (rev 346380)
+++ phpdoc/de/trunk/reference/strings/functions/strrpos.xml 2018-12-18 16:42:28 UTC (rev 346381)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 345530 Maintainer: simp Status: ready -->
+<!-- EN-Revision: 346302 Maintainer: simp Status: ready -->
<!-- Credits: sammywg -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.strrpos">
@@ -39,10 +39,7 @@
<varlistentry>
<term><parameter>needle</parameter></term>
<listitem>
- <para>
- Ist <parameter>needle</parameter> kein String, wird der Parameter in einen
- Integerwert konvertiert, der dem Ordinalwert des Zeichens entspricht.
- </para>
+ &strings.parameter.needle.non-string;
</listitem>
</varlistentry>
<varlistentry>
Modified: phpdoc/de/trunk/reference/strings/functions/strstr.xml
===================================================================
--- phpdoc/de/trunk/reference/strings/functions/strstr.xml 2018-12-18 16:15:56 UTC (rev 346380)
+++ phpdoc/de/trunk/reference/strings/functions/strstr.xml 2018-12-18 16:42:28 UTC (rev 346381)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 343899 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 346302 Maintainer: sammywg Status: ready -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.strstr">
<refnamediv>
@@ -54,10 +54,7 @@
<varlistentry>
<term><parameter>needle</parameter></term>
<listitem>
- <para>
- Ist <parameter>needle</parameter> kein String, wird der Parameter in einen
- Integerwert konvertiert, der dem Ordinalwert des Zeichens entspricht.
- </para>
+ &strings.parameter.needle.non-string;
</listitem>
</varlistentry>
<varlistentry>