svn: /phpdoc/ de/trunk/reference/hash/book.xml de/trunk/reference/var/functions/floatval.xml de/trunk/reference/var/functions/is-numeric.xml de/trunk/reference/var/functions/is-string.xml de/trunk/reference/var/functions/strval.xml de/trunk/reference/var/functions/unset.xml de/trunk/reference/var/functions/var-dump.xml en/trunk/reference/var/functions/is-numeric.xml
[email protected] (Nikita Popov)
| Newsgroups | php.doc.de,php.doc.cvs |
|---|---|
| Message-ID | <[email protected]> |
nikic Fri, 01 Jul 2011 16:40:14 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=312774
Log:
Sync some DE docs with EN
Changed paths:
UU phpdoc/de/trunk/reference/hash/book.xml
U phpdoc/de/trunk/reference/var/functions/floatval.xml
U phpdoc/de/trunk/reference/var/functions/is-numeric.xml
U phpdoc/de/trunk/reference/var/functions/is-string.xml
U phpdoc/de/trunk/reference/var/functions/strval.xml
U phpdoc/de/trunk/reference/var/functions/unset.xml
U phpdoc/de/trunk/reference/var/functions/var-dump.xml
U phpdoc/en/trunk/reference/var/functions/is-numeric.xml
svn-diffs-312774.txt
(text/x-diff, 9.6 KB)
Modified: phpdoc/de/trunk/reference/hash/book.xml
===================================================================
--- phpdoc/de/trunk/reference/hash/book.xml 2011-07-01 16:00:51 UTC (rev 312773)
+++ phpdoc/de/trunk/reference/hash/book.xml 2011-07-01 16:40:14 UTC (rev 312774)
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
+<!-- EN-Revision: 288721 Maintainer: nikic Status: ready -->
<!-- Purpose: mathcrypto.crypto -->
<!-- Membership: bundled, pecl -->
<!-- State: experimental -->
@@ -14,7 +15,7 @@
<para>
Funktionen zur Nutzung kryptographischer Hash-Algorithmen. Die
Erweiterung erlaubt direktes oder schrittweises Verarbeiten von
- Hashs beliebiger Länge unter Nutzung einer groÃen Auswahl von
+ Daten beliebiger Länge unter Nutzung einer groÃen Auswahl von
Hashing-Algorightmen.
</para>
</preface>
Property changes on: phpdoc/de/trunk/reference/hash/book.xml
___________________________________________________________________
Added: svn:eol-style
+ native
Modified: phpdoc/de/trunk/reference/var/functions/floatval.xml
===================================================================
--- phpdoc/de/trunk/reference/var/functions/floatval.xml 2011-07-01 16:00:51 UTC (rev 312773)
+++ phpdoc/de/trunk/reference/var/functions/floatval.xml 2011-07-01 16:40:14 UTC (rev 312774)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 288721 Maintainer: fa Status: ready -->
+<!-- EN-Revision: 297028 Maintainer: fa Status: ready -->
<refentry xml:id="function.floatval" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>floatval</refname>
Modified: phpdoc/de/trunk/reference/var/functions/is-numeric.xml
===================================================================
--- phpdoc/de/trunk/reference/var/functions/is-numeric.xml 2011-07-01 16:00:51 UTC (rev 312773)
+++ phpdoc/de/trunk/reference/var/functions/is-numeric.xml 2011-07-01 16:40:14 UTC (rev 312774)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 297477 Maintainer: sammywg Status: ready -->
<refentry xml:id="function.is-numeric" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -58,23 +58,19 @@
<programlisting role="php">
<![CDATA[
<?php
-$tests = Array(
+$tests = array(
"42",
1337,
"1e4",
"nicht numerisch",
- Array(),
+ array(),
9.1
- );
+);
-foreach($tests as $element)
-{
- if(is_numeric($element))
- {
+foreach($tests as $element) {
+ if (is_numeric($element)) {
echo "'{$element}' ist numerisch", PHP_EOL;
- }
- else
- {
+ } else {
echo "'{$element}' ist NICHT numerisch", PHP_EOL;
}
}
Modified: phpdoc/de/trunk/reference/var/functions/is-string.xml
===================================================================
--- phpdoc/de/trunk/reference/var/functions/is-string.xml 2011-07-01 16:00:51 UTC (rev 312773)
+++ phpdoc/de/trunk/reference/var/functions/is-string.xml 2011-07-01 16:40:14 UTC (rev 312774)
@@ -1,10 +1,10 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
+<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 310843 Maintainer: sammywg Status: ready -->
<refentry xml:id="function.is-string" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>is_string</refname>
- <refpurpose>Prüft, ob Variable vom Typ string ist</refpurpose>
+ <refpurpose>Prüft, ob Variable vom Typ string ist</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
@@ -13,7 +13,7 @@
<methodparam><type>mixed</type><parameter>var</parameter></methodparam>
</methodsynopsis>
<para>
- Prüft, ob die gegebene Variable vom Typ String ist.
+ Prüft, ob die gegebene Variable vom Typ String ist.
</para>
</refsect1>
@@ -36,7 +36,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Gibt &true; zurück, wenn <parameter>var</parameter> vom Typ
+ Gibt &true; zurück, wenn <parameter>var</parameter> vom Typ
<type>string</type> ist, andernfalls &false;.
</para>
</refsect1>
@@ -50,9 +50,9 @@
<![CDATA[
<?php
if (is_string("23")) {
- echo "is string\n";
+ echo "is string\n";
} else {
- echo "is not an string\n";
+ echo "is not an string\n";
}
var_dump(is_string('abc'));
var_dump(is_string("23"));
Modified: phpdoc/de/trunk/reference/var/functions/strval.xml
===================================================================
--- phpdoc/de/trunk/reference/var/functions/strval.xml 2011-07-01 16:00:51 UTC (rev 312773)
+++ phpdoc/de/trunk/reference/var/functions/strval.xml 2011-07-01 16:40:14 UTC (rev 312774)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 301421 Maintainer: sammywg Status: ready -->
<refentry xml:id="function.strval" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -38,9 +38,11 @@
Die nach <type>string</type> zu konvertierende Variable.
</para>
<para>
- <parameter>var</parameter> darf jeder skalare Datentyp sein. Sie können
- <function>strval</function> jedoch nicht auf Arrays oder Objekte
- anwenden.
+ <parameter>var</parameter> darf jeder skalare Datentyp sein oder ein Objekt,
+ das die <link linkend="language.oop5.magic.tostring">__toString</link> Methode
+ implementiert. Sie können <function>strval</function> jedoch nicht auf Arrays
+ oder Objekte, welche keine <link linkend="language.oop5.magic.tostring">__toString</link>
+ Methode implementieren, anwenden.
</para>
</listitem>
</varlistentry>
@@ -61,7 +63,7 @@
<para>
<example>
<title><function>strval</function>-Beispiel für die Verwendung der magischen
- PHP-Methode __toString</title>
+ <link linkend="language.oop5.magic.tostring">__toString</link> Methode</title>
<programlisting role="php">
<![CDATA[
<?php
@@ -92,6 +94,7 @@
<member><function>sprintf</function></member>
<member><function>number_format</function></member>
<member><link linkend="language.types.type-juggling">Typ-Veränderung</link></member>
+ <member><link linkend="language.oop5.magic.tostring">__toString</link></member>
</simplelist>
</para>
</refsect1>
Modified: phpdoc/de/trunk/reference/var/functions/unset.xml
===================================================================
--- phpdoc/de/trunk/reference/var/functions/unset.xml 2011-07-01 16:00:51 UTC (rev 312773)
+++ phpdoc/de/trunk/reference/var/functions/unset.xml 2011-07-01 16:40:14 UTC (rev 312774)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 311161 Maintainer: sammywg Status: ready -->
<refentry xml:id="function.unset" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -13,7 +13,6 @@
<methodsynopsis>
<type>void</type><methodname>unset</methodname>
<methodparam><type>mixed</type><parameter>var</parameter></methodparam>
- <methodparam choice="opt"><type>mixed</type><parameter>var</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
</methodsynopsis>
<para>
@@ -166,17 +165,10 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>var</parameter></term>
- <listitem>
- <para>
- Eine weitere Variable ...
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
<term><parameter>...</parameter></term>
<listitem>
<para>
+ Eine weitere zu löschende Variable ...
</para>
</listitem>
</varlistentry>
Modified: phpdoc/de/trunk/reference/var/functions/var-dump.xml
===================================================================
--- phpdoc/de/trunk/reference/var/functions/var-dump.xml 2011-07-01 16:00:51 UTC (rev 312773)
+++ phpdoc/de/trunk/reference/var/functions/var-dump.xml 2011-07-01 16:40:14 UTC (rev 312774)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 311886 Maintainer: sammywg Status: ready -->
<!-- splitted from ./de/functions/var.xml, last change in rev 1.5 -->
<refentry xml:id="function.var-dump" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -13,8 +13,7 @@
<methodsynopsis>
<type>void</type><methodname>var_dump</methodname>
<methodparam><type>mixed</type><parameter>expression</parameter></methodparam>
- <methodparam choice="opt"><type>mixed</type><parameter>expression</parameter></methodparam>
- <methodparam choice="opt"><parameter>...</parameter></methodparam>
+ <methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
</methodsynopsis>
<simpara>
Die Funktion gibt strukturierte Informationen über einen oder mehrere
Modified: phpdoc/en/trunk/reference/var/functions/is-numeric.xml
===================================================================
--- phpdoc/en/trunk/reference/var/functions/is-numeric.xml 2011-07-01 16:00:51 UTC (rev 312773)
+++ phpdoc/en/trunk/reference/var/functions/is-numeric.xml 2011-07-01 16:40:14 UTC (rev 312774)
@@ -56,13 +56,13 @@
<![CDATA[
<?php
$tests = array(
- "42",
- 1337,
- "1e4",
- "not numeric",
- Array(),
- 9.1
- );
+ "42",
+ 1337,
+ "1e4",
+ "not numeric",
+ array(),
+ 9.1
+);
foreach ($tests as $element) {
if (is_numeric($element)) {