derick Mon May 20 12:40:00 2002 EDT
Modified files:
/phpdoc-nl/reference/strings/functions count-chars.xml crc32.xml
ltrim.xml md5.xml
metaphone.xml rtrim.xml
str-repeat.xml
str-replace.xml
strcasecmp.xml
strip-tags.xml strpos.xml
strtr.xml substr-replace.xml
trim.xml wordwrap.xml
Log:
- Typoes and whitespace
Index: phpdoc-nl/reference/strings/functions/count-chars.xml
diff -u phpdoc-nl/reference/strings/functions/count-chars.xml:1.1
phpdoc-nl/reference/strings/functions/count-chars.xml:1.2
--- phpdoc-nl/reference/strings/functions/count-chars.xml:1.1 Sun Apr 14 21:37:33
2002
+++ phpdoc-nl/reference/strings/functions/count-chars.xml Mon May 20 12:39:41
+2002
@@ -56,7 +56,7 @@
</para>
<note>
<para>
- Deze functie was toegevoegd in PHP 4.0.
+ Deze functie is toegevoegd in PHP 4.0.0.
</para>
</note>
</refsect1>
Index: phpdoc-nl/reference/strings/functions/crc32.xml
diff -u phpdoc-nl/reference/strings/functions/crc32.xml:1.2
phpdoc-nl/reference/strings/functions/crc32.xml:1.3
--- phpdoc-nl/reference/strings/functions/crc32.xml:1.2 Mon May 20 07:32:22 2002
+++ phpdoc-nl/reference/strings/functions/crc32.xml Mon May 20 12:39:42 2002
@@ -14,7 +14,7 @@
<para>
Genereert de cyclische redundancy checksum polynoom van 32-bit lengtes
van de <parameter>str</parameter>. Dit wordt doorgaans toegepast
- om de integreteit van de verzonden data te controleren.
+ om de integriteit van de verzonden data te controleren.
</para>
<para>
Zie ook: <function>md5</function>
Index: phpdoc-nl/reference/strings/functions/ltrim.xml
diff -u phpdoc-nl/reference/strings/functions/ltrim.xml:1.2
phpdoc-nl/reference/strings/functions/ltrim.xml:1.3
--- phpdoc-nl/reference/strings/functions/ltrim.xml:1.2 Mon May 20 07:32:22 2002
+++ phpdoc-nl/reference/strings/functions/ltrim.xml Mon May 20 12:39:42 2002
@@ -3,9 +3,7 @@
<refentry id="function.ltrim">
<refnamediv>
<refname>ltrim</refname>
- <refpurpose>
- Verwijdert whitespace van het begin van een string
- </refpurpose>
+ <refpurpose>Verwijdert whitespace van het begin van een string</refpurpose>
</refnamediv>
<refsect1>
<title>Omschrijving</title>
Index: phpdoc-nl/reference/strings/functions/md5.xml
diff -u phpdoc-nl/reference/strings/functions/md5.xml:1.2
phpdoc-nl/reference/strings/functions/md5.xml:1.3
--- phpdoc-nl/reference/strings/functions/md5.xml:1.2 Mon May 20 07:32:22 2002
+++ phpdoc-nl/reference/strings/functions/md5.xml Mon May 20 12:39:42 2002
@@ -18,7 +18,7 @@
De hash is een 32 tekens lang hexadecimaal nummer.
</para>
<para>
- Zie ook: <function>crc32</function> en <function>md5_file</function>
+ Zie ook: <function>crc32</function> en <function>md5_file</function>.
</para>
</refsect1>
</refentry>
Index: phpdoc-nl/reference/strings/functions/metaphone.xml
diff -u phpdoc-nl/reference/strings/functions/metaphone.xml:1.1
phpdoc-nl/reference/strings/functions/metaphone.xml:1.2
--- phpdoc-nl/reference/strings/functions/metaphone.xml:1.1 Sun Apr 14 21:37:34
2002
+++ phpdoc-nl/reference/strings/functions/metaphone.xml Mon May 20 12:39:42 2002
@@ -29,7 +29,7 @@
Binstock & Rex, Addison Wesley, 1995].
<note>
<para>
- Deze functie was toegevoegd in PHP 4.0.
+ Deze functie is toegevoegd in PHP 4.0.0.
</para>
</note>
</para>
Index: phpdoc-nl/reference/strings/functions/rtrim.xml
diff -u phpdoc-nl/reference/strings/functions/rtrim.xml:1.2
phpdoc-nl/reference/strings/functions/rtrim.xml:1.3
--- phpdoc-nl/reference/strings/functions/rtrim.xml:1.2 Mon May 20 07:32:22 2002
+++ phpdoc-nl/reference/strings/functions/rtrim.xml Mon May 20 12:39:42 2002
@@ -3,9 +3,7 @@
<refentry id="function.rtrim">
<refnamediv>
<refname>rtrim</refname>
- <refpurpose>
- Verwijdert whitespace van het eind van een string
- </refpurpose>
+ <refpurpose>Verwijdert whitespace van het eind van een string</refpurpose>
</refnamediv>
<refsect1>
<title>Omschrijving</title>
Index: phpdoc-nl/reference/strings/functions/str-repeat.xml
diff -u phpdoc-nl/reference/strings/functions/str-repeat.xml:1.1
phpdoc-nl/reference/strings/functions/str-repeat.xml:1.2
--- phpdoc-nl/reference/strings/functions/str-repeat.xml:1.1 Sun Apr 14 21:37:36
2002
+++ phpdoc-nl/reference/strings/functions/str-repeat.xml Mon May 20 12:39:42
+2002
@@ -21,7 +21,11 @@
<example>
<title><function>str_repeat</function> voorbeeld</title>
<programlisting role="php">
-echo str_repeat ("-=", 10);
+<![CDATA[
+<?php
+echo str_repeat ('-=', 10);
+?>
+]]>
</programlisting>
</example>
<para>
@@ -29,7 +33,7 @@
</para>
<note>
<para>
- Deze functie was toegevoegd in PHP 4.0.
+ Deze functie is toegevoegd in PHP 4.0.0.
</para>
</note>
</refsect1>
Index: phpdoc-nl/reference/strings/functions/str-replace.xml
diff -u phpdoc-nl/reference/strings/functions/str-replace.xml:1.1
phpdoc-nl/reference/strings/functions/str-replace.xml:1.2
--- phpdoc-nl/reference/strings/functions/str-replace.xml:1.1 Sun Apr 14 21:37:37
2002
+++ phpdoc-nl/reference/strings/functions/str-replace.xml Mon May 20 12:39:42
+2002
@@ -35,7 +35,7 @@
</para>
<note>
<para>
- <function>str_replace</function> was toegevoegd in PHP 3.0.6, maar
+ <function>str_replace</function> is toegevoegd in PHP 3.0.6, maar
was buggy tot PHP 3.0.8.
</para>
</note>
Index: phpdoc-nl/reference/strings/functions/strcasecmp.xml
diff -u phpdoc-nl/reference/strings/functions/strcasecmp.xml:1.2
phpdoc-nl/reference/strings/functions/strcasecmp.xml:1.3
--- phpdoc-nl/reference/strings/functions/strcasecmp.xml:1.2 Mon May 20 07:32:22
2002
+++ phpdoc-nl/reference/strings/functions/strcasecmp.xml Mon May 20 12:39:42
+2002
@@ -23,11 +23,13 @@
<title><function>strcasecmp</function> voorbeeld</title>
<programlisting role="php">
<![CDATA[
-$var1 = "Hallo";;
+<?php
+$var1 = "Hallo";
$var2 = "hallo";
if (!strcasecmp ($var1, $var2)) {
echo '$var1 is gelijk aan $var2 in een hoofdletter ongevoelige string
vergelijking';
}
+?>
]]>
</programlisting>
</example>
Index: phpdoc-nl/reference/strings/functions/strip-tags.xml
diff -u phpdoc-nl/reference/strings/functions/strip-tags.xml:1.1
phpdoc-nl/reference/strings/functions/strip-tags.xml:1.2
--- phpdoc-nl/reference/strings/functions/strip-tags.xml:1.1 Sun Apr 14 21:37:38
2002
+++ phpdoc-nl/reference/strings/functions/strip-tags.xml Mon May 20 12:39:42
+2002
@@ -23,8 +23,8 @@
die niet gestript moeten worden.
<note>
<para>
- <parameter>Allowable_tags</parameter> was toegevoegd in PHP 3.0.13,
- PHP4B3.
+ De <parameter>allowable_tags</parameter> parameter is toegevoegd in PHP
+ 3.0.13, PHP4B3.
</para>
</note>
</para>
Index: phpdoc-nl/reference/strings/functions/strpos.xml
diff -u phpdoc-nl/reference/strings/functions/strpos.xml:1.2
phpdoc-nl/reference/strings/functions/strpos.xml:1.3
--- phpdoc-nl/reference/strings/functions/strpos.xml:1.2 Mon May 20 07:32:22
2002
+++ phpdoc-nl/reference/strings/functions/strpos.xml Mon May 20 12:39:42 2002
@@ -33,6 +33,7 @@
<informalexample>
<programlisting role="php">
<![CDATA[
+<?php
// in PHP 4.0b3 en nieuwer:
$pos = strpos ($mystring, "b");
if ($pos === false) { // opmerking: drie gelijk aan tekens
@@ -44,6 +45,7 @@
if (!is_integer($pos)) {
// niet gevonden...
}
+?>
]]>
</programlisting>
</informalexample>
Index: phpdoc-nl/reference/strings/functions/strtr.xml
diff -u phpdoc-nl/reference/strings/functions/strtr.xml:1.1
phpdoc-nl/reference/strings/functions/strtr.xml:1.2
--- phpdoc-nl/reference/strings/functions/strtr.xml:1.1 Sun Apr 14 21:37:41 2002
+++ phpdoc-nl/reference/strings/functions/strtr.xml Mon May 20 12:39:42 2002
@@ -45,15 +45,19 @@
Examples:
<informalexample>
<programlisting role="php">
-$trans = array ("hello" => "hi", "hi" =>
"hello");
-echo strtr("hi all, I said hello", $trans) . "\n";
+<![CDATA[
+<?php
+$trans = array ('hello' => 'hi', 'hi' => 'hello');
+echo strtr('hi all, I said hello', $trans) . "\n";
+?>
+]]>
</programlisting>
</informalexample>
Dit geeft weer: "hello all, I said hi",
</para>
<note>
<simpara>
- Deze feature (twee argumenten) was toegevoegd in PHP 4.0.
+ Deze feature (twee argumenten) is toegevoegd in PHP 4.0.
</simpara>
</note>
<para>
Index: phpdoc-nl/reference/strings/functions/substr-replace.xml
diff -u phpdoc-nl/reference/strings/functions/substr-replace.xml:1.1
phpdoc-nl/reference/strings/functions/substr-replace.xml:1.2
--- phpdoc-nl/reference/strings/functions/substr-replace.xml:1.1 Sun Apr 14
21:37:41 2002
+++ phpdoc-nl/reference/strings/functions/substr-replace.xml Mon May 20 12:39:42
+2002
@@ -73,7 +73,7 @@
</para>
<note>
<simpara>
- <function>substr_replace</function> was toegevoegd in PHP 4.0.
+ <function>substr_replace</function> is toegevoegd in PHP 4.0.0.
</simpara>
</note>
</refsect1>
Index: phpdoc-nl/reference/strings/functions/trim.xml
diff -u phpdoc-nl/reference/strings/functions/trim.xml:1.2
phpdoc-nl/reference/strings/functions/trim.xml:1.3
--- phpdoc-nl/reference/strings/functions/trim.xml:1.2 Mon May 20 07:32:22 2002
+++ phpdoc-nl/reference/strings/functions/trim.xml Mon May 20 12:39:42 2002
@@ -3,9 +3,7 @@
<refentry id="function.trim">
<refnamediv>
<refname>trim</refname>
- <refpurpose>
- Verwijdert whitespace van het begin en eind van een string
- </refpurpose>
+ <refpurpose>Verwijdert whitespace van het begin en eind van een
+string</refpurpose>
</refnamediv>
<refsect1>
<title>Omschrijving</title>
@@ -16,12 +14,12 @@
</methodsynopsis>
<note>
<simpara>
- Het optionele <parameter>charlist</parameter> parameter was
- toegevoegd in PHP 4.1.0
+ De optionele <parameter>charlist</parameter> parameter is
+ toegevoegd in PHP 4.1.0.
</simpara>
</note>
<para>
- Deze functie verwijdert whitespace van het begin en einde van een
+ Deze functie verwijdert whitespace aan het begin en einde van een
string en geeft de nieuwe string terug.
Zonder het tweede parameter zal <function>trim</function> de volgende
tekens verwijderen:
Index: phpdoc-nl/reference/strings/functions/wordwrap.xml
diff -u phpdoc-nl/reference/strings/functions/wordwrap.xml:1.2
phpdoc-nl/reference/strings/functions/wordwrap.xml:1.3
--- phpdoc-nl/reference/strings/functions/wordwrap.xml:1.2 Mon May 20 07:32:22
2002
+++ phpdoc-nl/reference/strings/functions/wordwrap.xml Mon May 20 12:39:42 2002
@@ -4,8 +4,8 @@
<refnamediv>
<refname>wordwrap</refname>
<refpurpose>
- Wrapt een string tot een gegeven aantal karakters gebruikmakend van een string
- break karakter.
+ Wrapt een string tot een gegeven aantal karakters gebruikmakend van een
+ string break karakter.
</refpurpose>
</refnamediv>
<refsect1>
@@ -34,7 +34,7 @@
is dan de gegeven width, wordt die gebroken (zie tweede voorbeeld).
<note>
<para>
- Het optionele parameter <parameter>cut</parameter> was toegevoegd in
+ De optionele parameter <parameter>cut</parameter> is toegevoegd in
PHP 4.0.3
</para>
</note>
@@ -44,10 +44,12 @@
<title><function>wordwrap</function> voorbeeld</title>
<programlisting role="php">
<![CDATA[
-$text = "The quick brown fox jumped over the lazy dog.";
-$newtext = wordwrap( $text, 20 );
+<?php
+$text = "De snelle vos springt over de luie hond.";
+$newtext = wordwrap ($text, 20 );
echo "$newtext\n";
+?>
]]>
</programlisting>
</example>
@@ -59,8 +61,9 @@
<informalexample>
<programlisting>
<![CDATA[
-The quick brown fox
-jumped over the lazy dog.
+De snelle vos
+springt over de
+luie hond.
]]>
</programlisting>
</informalexample>
@@ -70,10 +73,12 @@
<title><function>wordwrap</function> example</title>
<programlisting role="php">
<![CDATA[
+<?php
$text = "Een heel lang woooooooooooord.";
-$newtext = wordwrap( $text, 8, "\n", 1);
+$nieuw = wordwrap($text, 8, "\n", 1);
-echo "$newtext\n";
+echo "$nieuw\n";
+?>
]]>
</programlisting>
</example>