cvs: phpdoc-de /reference/ctype/functions ctype-digit.xml ctype-graph.xml ctype-lower.xml ctype-print.xml ctype-punct.xml ctype-space.xml
ctype-upper.xml ctype-xdigit.xml
| From: | Hartmut Holzgraefe | Date: | Tue, 16 Jan 2007 10:28:47 +0000 |
| Subject: | cvs: phpdoc-de /reference/ctype/functions ctype-digit.xml ctype-graph.xml ctype-lower.xml ctype-print.xml ctype-punct.xml ctype-space.xml ctype-upper.xml ctype-xdigit.xml |
||
| Groups: | php.doc.de | ||
| Request: | Send a blank email to doc-de+get-1781@lists.php.net to get a copy of this message | ||
hholzgra Tue Jan 16 10:28:47 2007 UTC
Modified files:
/phpdoc-de/reference/ctype/functions ctype-digit.xml
ctype-graph.xml
ctype-lower.xml
ctype-print.xml
ctype-punct.xml
ctype-space.xml
ctype-upper.xml
ctype-xdigit.xml
Log:
new structure ...
http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/ctype/functions/ctype-digit.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-de/reference/ctype/functions/ctype-digit.xml diff -u phpdoc-de/reference/ctype/functions/ctype-digit.xml:1.4 phpdoc-de/reference/ctype/functions/ctype-digit.xml:1.5 --- phpdoc-de/reference/ctype/functions/ctype-digit.xml:1.4 Tue Jan 16 10:20:03 2007 +++ phpdoc-de/reference/ctype/functions/ctype-digit.xml Tue Jan 16 10:28:47 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- EN-Revision: 1.1 Maintainer: hholzgra Status: working --> <refentry id="function.ctype-digit"> <refnamediv> @@ -17,8 +17,70 @@ Gibt &true; zurück, wenn jedes Zeichen in <parameter>text</parameter> eine Ziffer ist, anderenfalls &false;. </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>text</parameter></term> + <listitem> + <para> + The tested string. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Returns &true; if every character in <parameter>text</parameter> is + a decimal digit, &false; otherwise. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>A <function>ctype_digit</function> example</title> + <programlisting role="php"> +<![CDATA[ +<?php +$strings = array('1820.20', '10002', 'wsl!12'); +foreach ($strings as $testcase) { + if (ctype_digit($testcase)) { + echo "The string $testcase consists of all digits.\n"; + } else { + echo "The string $testcase does not consist of all digits.\n"; + } +} +?> +]]> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +The string 1820.20 does not consist of all digits. +The string 10002 consists of all digits. +The string wsl!12 does not consist of all digits. +]]> + </screen> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; <para> - Siehe auch <function>ctype_alnum</function> und <function>ctype_xdigit</function>. + <simplelist> + <member><function>ctype_alnum</function></member> + <member><function>ctype_xdigit</function></member> + </simplelist> </para> </refsect1> </refentry> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/ctype/functions/ctype-graph.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-de/reference/ctype/functions/ctype-graph.xml diff -u phpdoc-de/reference/ctype/functions/ctype-graph.xml:1.4 phpdoc-de/reference/ctype/functions/ctype-graph.xml:1.5 --- phpdoc-de/reference/ctype/functions/ctype-graph.xml:1.4 Tue Jan 16 10:20:03 2007 +++ phpdoc-de/reference/ctype/functions/ctype-graph.xml Tue Jan 16 10:28:47 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- EN-Revision: 1.1 Maintainer: hholzgra Status: working --> <refentry id="function.ctype-graph"> <refnamediv> @@ -18,9 +18,72 @@ druckbar ist und tatsächlich eine sichtbare Ausgabe produziert (kein Leerzeichen), anderenFalls &false;. </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>text</parameter></term> + <listitem> + <para> + The tested string. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Returns &true; if every character in <parameter>text</parameter> is + printable and actually creates visible output (no white space), &false; + otherwise. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>A <function>ctype_graph</function> example</title> + <programlisting role="php"> +<![CDATA[ +<?php +$strings = array('string1' => "asdf\n\r\t", 'string2' => 'arf12', 'string3' => 'LKA#@%.54'); +foreach ($strings as $name => $testcase) { + if (ctype_graph($testcase)) { + echo "The string '$name' consists of all (visibly) printable characters.\n"; + } else { + echo "The string '$name' does not consist of all (visibly) printable characters.\n"; + } +} +?> +]]> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +The string 'string1' does not consist of all (visibly) printable characters. +The string 'string2' consists of all (visibly) printable characters. +The string 'string3' consists of all (visibly) printable characters. +]]> + </screen> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; <para> - Siehe auch <function>ctype_alnum</function>, <function>ctype_print</function>, - und <function>ctype_punct</function>. + <simplelist> + <member><function>ctype_alnum</function></member> + <member><function>ctype_print</function></member> + <member><function>ctype_punct</function></member> + </simplelist> </para> </refsect1> </refentry> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/ctype/functions/ctype-lower.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-de/reference/ctype/functions/ctype-lower.xml diff -u phpdoc-de/reference/ctype/functions/ctype-lower.xml:1.4 phpdoc-de/reference/ctype/functions/ctype-lower.xml:1.5 --- phpdoc-de/reference/ctype/functions/ctype-lower.xml:1.4 Tue Jan 16 10:20:03 2007 +++ phpdoc-de/reference/ctype/functions/ctype-lower.xml Tue Jan 16 10:28:47 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- EN-Revision: 1.1 Maintainer: hholzgra Status: working --> <refentry id="function.ctype-lower"> <refnamediv> @@ -16,8 +16,71 @@ Gibt &true; zurück, wenn jedes Zeichen in <parameter>text</parameter> ein Kleinbuchstabe im Sinne der aktuellen locale-Einstellung ist, anderenfalls &false;. </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>text</parameter></term> + <listitem> + <para> + The tested string. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Returns &true; if every character in <parameter>text</parameter> is + a lowercase letter in the current locale. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>A <function>ctype_lower</function> example (using the default locale)</title> + <programlisting role="php"> +<![CDATA[ +<?php +$strings = array('aac123', 'qiutoas', 'QASsdks'); +foreach ($strings as $testcase) { + if (ctype_lower($testcase)) { + echo "The string $testcase consists of all lowercase letters.\n"; + } else { + echo "The string $testcase does not consist of all lowercase letters.\n"; + } +} +?> +]]> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +The string aac123 does not consist of all lowercase letters. +The string qiutoas consists of all lowercase letters. +The string QASsdks does not consist of all lowercase letters. +]]> + </screen> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; <para> - Siehe auch <function>ctype_alpha</function> und <function>ctype_upper</function>. + <simplelist> + <member><function>ctype_alpha</function></member> + <member><function>ctype_upper</function></member> + <member><function>setlocale</function></member> + </simplelist> </para> </refsect1> </refentry> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/ctype/functions/ctype-print.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-de/reference/ctype/functions/ctype-print.xml diff -u phpdoc-de/reference/ctype/functions/ctype-print.xml:1.4 phpdoc-de/reference/ctype/functions/ctype-print.xml:1.5 --- phpdoc-de/reference/ctype/functions/ctype-print.xml:1.4 Tue Jan 16 10:20:03 2007 +++ phpdoc-de/reference/ctype/functions/ctype-print.xml Tue Jan 16 10:28:47 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- EN-Revision: 1.1 Maintainer: hholzgra Status: working --> <refentry id="function.ctype-print"> <refnamediv> @@ -20,9 +20,73 @@ Ausgabe- oder Steuerungsfunktion haben, enthält, wird &false; zurückgegeben. </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>text</parameter></term> + <listitem> + <para> + The tested string. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Returns &true; if every character in <parameter>text</parameter> + will actually create output (including blanks). Returns &false; if + <parameter>text</parameter> contains control characters or characters + that do not have any output or control function at all. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>A <function>ctype_print</function> example</title> + <programlisting role="php"> +<![CDATA[ +<?php +$strings = array('string1' => "asdf\n\r\t", 'string2' => 'arf12', 'string3' => 'LKA#@%.54'); +foreach ($strings as $name => $testcase) { + if (ctype_print($testcase)) { + echo "The string '$name' consists of all printable characters.\n"; + } else { + echo "The string '$name' does not consist of all printable characters.\n"; + } +} +?> +]]> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +The string 'string1' does not consist of all printable characters. +The string 'string2' consists of all printable characters. +The string 'string3' consists of all printable characters. +]]> + </screen> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; <para> - Siehe auch <function>ctype_cntrl</function>, <function>ctype_graph</function>, - und <function>ctype_punct</function>. + <simplelist> + <member><function>ctype_cntrl</function></member> + <member><function>ctype_graph</function></member> + <member><function>ctype_punct</function></member> + </simplelist> </para> </refsect1> </refentry> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/ctype/functions/ctype-punct.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-de/reference/ctype/functions/ctype-punct.xml diff -u phpdoc-de/reference/ctype/functions/ctype-punct.xml:1.4 phpdoc-de/reference/ctype/functions/ctype-punct.xml:1.5 --- phpdoc-de/reference/ctype/functions/ctype-punct.xml:1.4 Tue Jan 16 10:20:03 2007 +++ phpdoc-de/reference/ctype/functions/ctype-punct.xml Tue Jan 16 10:28:47 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- EN-Revision: 1.1 Maintainer: hholzgra Status: working --> <refentry id="function.ctype-punct"> <refnamediv> @@ -21,9 +21,70 @@ durckbar sind, aber weder Buchstaben, Ziffern oder Leerzeichen. Anderenfalls wird &false; zurückgegeben. </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>text</parameter></term> + <listitem> + <para> + The tested string. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Returns &true; if every character in <parameter>text</parameter> + is printable, but neither letter, digit or blank, &false; otherwise. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>A <function>ctype_punct</function> example</title> + <programlisting role="php"> +<![CDATA[ +<?php +$strings = array('ABasdk!@!$#', '!@ # $', '*&$()'); +foreach ($strings as $testcase) { + if (ctype_punct($testcase)) { + echo "The string $testcase consists of all punctuation.\n"; + } else { + echo "The string $testcase does not consist of all punctuation.\n"; + } +} +?> +]]> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +The string ABasdk!@!$# does not consist of all punctuation. +The string !@ # $ does not consist of all punctuation. +The string *&$() consists of all punctuation. +]]> + </screen> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; <para> - Siehe auch <function>ctype_cntrl</function>, <function>ctype_graph</function>, - und <function>ctype_punct</function>. + <simplelist> + <member><function>ctype_cntrl</function></member> + <member><function>ctype_graph</function></member> + </simplelist> </para> </refsect1> </refentry> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/ctype/functions/ctype-space.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-de/reference/ctype/functions/ctype-space.xml diff -u phpdoc-de/reference/ctype/functions/ctype-space.xml:1.4 phpdoc-de/reference/ctype/functions/ctype-space.xml:1.5 --- phpdoc-de/reference/ctype/functions/ctype-space.xml:1.4 Tue Jan 16 10:20:03 2007 +++ phpdoc-de/reference/ctype/functions/ctype-space.xml Tue Jan 16 10:28:47 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- EN-Revision: 1.1 Maintainer: hholzgra Status: working --> <refentry id="function.ctype-space"> <refnamediv> @@ -20,6 +20,74 @@ Return und Formularvorschub mit ein. </para> </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>text</parameter></term> + <listitem> + <para> + The tested string. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Returns &true; if every character in <parameter>text</parameter> + creates some sort of white space, &false; otherwise. Besides the + blank character this also includes tab, vertical tab, line feed, + carriage return and form feed characters. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>A <function>ctype_space</function> example</title> + <programlisting role="php"> +<![CDATA[ +<?php +$strings = array('string1' => "\n\r\t", 'string2' => "\narf12", 'string3' => '\n\r\t'); +foreach ($strings as $name => $testcase) { + if (ctype_space($testcase)) { + echo "The string '$name' consists of all whitespace characters.\n"; + } else { + echo "The string '$name' does not consist of all whitespace characters.\n"; + } +} +?> +]]> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +The string 'string1' consists of all whitespace characters. +The string 'string2' does not consist of all whitespace characters. +The string 'string3' does not consist of all whitespace characters. +]]> + </screen> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>ctype_cntrl</function></member> + <member><function>ctype_graph</function></member> + <member><function>ctype_punct</function></member> + </simplelist> + </para> + </refsect1> </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/ctype/functions/ctype-upper.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-de/reference/ctype/functions/ctype-upper.xml diff -u phpdoc-de/reference/ctype/functions/ctype-upper.xml:1.4 phpdoc-de/reference/ctype/functions/ctype-upper.xml:1.5 --- phpdoc-de/reference/ctype/functions/ctype-upper.xml:1.4 Tue Jan 16 10:20:03 2007 +++ phpdoc-de/reference/ctype/functions/ctype-upper.xml Tue Jan 16 10:28:47 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- EN-Revision: 1.1 Maintainer: hholzgra Status: working --> <refentry id="function.ctype-upper"> <refnamediv> @@ -18,8 +18,71 @@ Großbuchstabe im Sinne der aktuellen locale-Einstellung ist, anderenfalls &false;. </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>text</parameter></term> + <listitem> + <para> + The tested string. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Returns &true; if every character in <parameter>text</parameter> is + an uppercase letter in the current locale. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>A <function>ctype_upper</function> example (using the default locale)</title> + <programlisting role="php"> +<![CDATA[ +<?php +$strings = array('AKLWC139', 'LMNSDO', 'akwSKWsm'); +foreach ($strings as $testcase) { + if (ctype_upper($testcase)) { + echo "The string $testcase consists of all uppercase letters.\n"; + } else { + echo "The string $testcase does not consist of all uppercase letters.\n"; + } +} +?> +]]> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +The string AKLWC139 does not consist of all uppercase letters. +The string LMNSDO consists of all uppercase letters. +The string akwSKWsm does not consist of all uppercase letters. +]]> + </screen> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; <para> - Siehe auch <function>ctype_alpha</function> und <function>ctype_lower</function>. + <simplelist> + <member><function>ctype_alpha</function></member> + <member><function>ctype_lower</function></member> + <member><function>setlocale</function></member> + </simplelist> </para> </refsect1> </refentry> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/ctype/functions/ctype-xdigit.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-de/reference/ctype/functions/ctype-xdigit.xml diff -u phpdoc-de/reference/ctype/functions/ctype-xdigit.xml:1.4 phpdoc-de/reference/ctype/functions/ctype-xdigit.xml:1.5 --- phpdoc-de/reference/ctype/functions/ctype-xdigit.xml:1.4 Tue Jan 16 10:20:04 2007 +++ phpdoc-de/reference/ctype/functions/ctype-xdigit.xml Tue Jan 16 10:28:47 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- EN-Revision: 1.1 Maintainer: hholzgra Status: working --> <refentry id="function.ctype-xdigit"> <refnamediv> @@ -20,8 +20,70 @@ eine Hexadezimalziffer ist, also eine Dezimalziffer oder ein Zeichen aus <literal>[A-Fa-f]</literal> , anderenfalls &false;. </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>text</parameter></term> + <listitem> + <para> + The tested string. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Returns &true; if every character in <parameter>text</parameter> is + a hexadecimal 'digit', that is a decimal digit or a character from + <literal>[A-Fa-f]</literal> , &false; otherwise. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>A <function>ctype_xdigit</function> example</title> + <programlisting role="php"> +<![CDATA[ +<?php +$strings = array('AB10BC99', 'AR1012', 'ab12bc99'); +foreach ($strings as $testcase) { + if (ctype_xdigit($testcase)) { + echo "The string $testcase consists of all hexadecimal digits.\n"; + } else { + echo "The string $testcase does not consist of all hexadecimal digits.\n"; + } +} +?> +]]> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +The string AB10BC99 consists of all hexadecimal digits. +The string AR1012 does not consist of all hexadecimal digits. +The string ab12bc99 consists of all hexadecimal digits. +]]> + </screen> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; <para> - Siehe auch <function>ctype_digit</function>. + <simplelist> + <member><function>ctype_digit</function></member> + </simplelist> </para> </refsect1> </refentry>
http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/ctype/functions/ctype-digit.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-de/reference/ctype/functions/ctype-digit.xml diff -u phpdoc-de/reference/ctype/functions/ctype-digit.xml:1.4 phpdoc-de/reference/ctype/functions/ctype-digit.xml:1.5 --- phpdoc-de/reference/ctype/functions/ctype-digit.xml:1.4 Tue Jan 16 10:20:03 2007 +++ phpdoc-de/reference/ctype/functions/ctype-digit.xml Tue Jan 16 10:28:47 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- EN-Revision: 1.1 Maintainer: hholzgra Status: working --> <refentry id="function.ctype-digit"> <refnamediv> @@ -17,8 +17,70 @@ Gibt &true; zurück, wenn jedes Zeichen in <parameter>text</parameter> eine Ziffer ist, anderenfalls &false;. </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>text</parameter></term> + <listitem> + <para> + The tested string. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Returns &true; if every character in <parameter>text</parameter> is + a decimal digit, &false; otherwise. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>A <function>ctype_digit</function> example</title> + <programlisting role="php"> +<![CDATA[ +<?php +$strings = array('1820.20', '10002', 'wsl!12'); +foreach ($strings as $testcase) { + if (ctype_digit($testcase)) { + echo "The string $testcase consists of all digits.\n"; + } else { + echo "The string $testcase does not consist of all digits.\n"; + } +} +?> +]]> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +The string 1820.20 does not consist of all digits. +The string 10002 consists of all digits. +The string wsl!12 does not consist of all digits. +]]> + </screen> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; <para> - Siehe auch <function>ctype_alnum</function> und <function>ctype_xdigit</function>. + <simplelist> + <member><function>ctype_alnum</function></member> + <member><function>ctype_xdigit</function></member> + </simplelist> </para> </refsect1> </refentry> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/ctype/functions/ctype-graph.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-de/reference/ctype/functions/ctype-graph.xml diff -u phpdoc-de/reference/ctype/functions/ctype-graph.xml:1.4 phpdoc-de/reference/ctype/functions/ctype-graph.xml:1.5 --- phpdoc-de/reference/ctype/functions/ctype-graph.xml:1.4 Tue Jan 16 10:20:03 2007 +++ phpdoc-de/reference/ctype/functions/ctype-graph.xml Tue Jan 16 10:28:47 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- EN-Revision: 1.1 Maintainer: hholzgra Status: working --> <refentry id="function.ctype-graph"> <refnamediv> @@ -18,9 +18,72 @@ druckbar ist und tatsächlich eine sichtbare Ausgabe produziert (kein Leerzeichen), anderenFalls &false;. </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>text</parameter></term> + <listitem> + <para> + The tested string. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Returns &true; if every character in <parameter>text</parameter> is + printable and actually creates visible output (no white space), &false; + otherwise. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>A <function>ctype_graph</function> example</title> + <programlisting role="php"> +<![CDATA[ +<?php +$strings = array('string1' => "asdf\n\r\t", 'string2' => 'arf12', 'string3' => 'LKA#@%.54'); +foreach ($strings as $name => $testcase) { + if (ctype_graph($testcase)) { + echo "The string '$name' consists of all (visibly) printable characters.\n"; + } else { + echo "The string '$name' does not consist of all (visibly) printable characters.\n"; + } +} +?> +]]> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +The string 'string1' does not consist of all (visibly) printable characters. +The string 'string2' consists of all (visibly) printable characters. +The string 'string3' consists of all (visibly) printable characters. +]]> + </screen> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; <para> - Siehe auch <function>ctype_alnum</function>, <function>ctype_print</function>, - und <function>ctype_punct</function>. + <simplelist> + <member><function>ctype_alnum</function></member> + <member><function>ctype_print</function></member> + <member><function>ctype_punct</function></member> + </simplelist> </para> </refsect1> </refentry> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/ctype/functions/ctype-lower.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-de/reference/ctype/functions/ctype-lower.xml diff -u phpdoc-de/reference/ctype/functions/ctype-lower.xml:1.4 phpdoc-de/reference/ctype/functions/ctype-lower.xml:1.5 --- phpdoc-de/reference/ctype/functions/ctype-lower.xml:1.4 Tue Jan 16 10:20:03 2007 +++ phpdoc-de/reference/ctype/functions/ctype-lower.xml Tue Jan 16 10:28:47 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- EN-Revision: 1.1 Maintainer: hholzgra Status: working --> <refentry id="function.ctype-lower"> <refnamediv> @@ -16,8 +16,71 @@ Gibt &true; zurück, wenn jedes Zeichen in <parameter>text</parameter> ein Kleinbuchstabe im Sinne der aktuellen locale-Einstellung ist, anderenfalls &false;. </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>text</parameter></term> + <listitem> + <para> + The tested string. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Returns &true; if every character in <parameter>text</parameter> is + a lowercase letter in the current locale. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>A <function>ctype_lower</function> example (using the default locale)</title> + <programlisting role="php"> +<![CDATA[ +<?php +$strings = array('aac123', 'qiutoas', 'QASsdks'); +foreach ($strings as $testcase) { + if (ctype_lower($testcase)) { + echo "The string $testcase consists of all lowercase letters.\n"; + } else { + echo "The string $testcase does not consist of all lowercase letters.\n"; + } +} +?> +]]> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +The string aac123 does not consist of all lowercase letters. +The string qiutoas consists of all lowercase letters. +The string QASsdks does not consist of all lowercase letters. +]]> + </screen> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; <para> - Siehe auch <function>ctype_alpha</function> und <function>ctype_upper</function>. + <simplelist> + <member><function>ctype_alpha</function></member> + <member><function>ctype_upper</function></member> + <member><function>setlocale</function></member> + </simplelist> </para> </refsect1> </refentry> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/ctype/functions/ctype-print.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-de/reference/ctype/functions/ctype-print.xml diff -u phpdoc-de/reference/ctype/functions/ctype-print.xml:1.4 phpdoc-de/reference/ctype/functions/ctype-print.xml:1.5 --- phpdoc-de/reference/ctype/functions/ctype-print.xml:1.4 Tue Jan 16 10:20:03 2007 +++ phpdoc-de/reference/ctype/functions/ctype-print.xml Tue Jan 16 10:28:47 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- EN-Revision: 1.1 Maintainer: hholzgra Status: working --> <refentry id="function.ctype-print"> <refnamediv> @@ -20,9 +20,73 @@ Ausgabe- oder Steuerungsfunktion haben, enthält, wird &false; zurückgegeben. </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>text</parameter></term> + <listitem> + <para> + The tested string. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Returns &true; if every character in <parameter>text</parameter> + will actually create output (including blanks). Returns &false; if + <parameter>text</parameter> contains control characters or characters + that do not have any output or control function at all. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>A <function>ctype_print</function> example</title> + <programlisting role="php"> +<![CDATA[ +<?php +$strings = array('string1' => "asdf\n\r\t", 'string2' => 'arf12', 'string3' => 'LKA#@%.54'); +foreach ($strings as $name => $testcase) { + if (ctype_print($testcase)) { + echo "The string '$name' consists of all printable characters.\n"; + } else { + echo "The string '$name' does not consist of all printable characters.\n"; + } +} +?> +]]> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +The string 'string1' does not consist of all printable characters. +The string 'string2' consists of all printable characters. +The string 'string3' consists of all printable characters. +]]> + </screen> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; <para> - Siehe auch <function>ctype_cntrl</function>, <function>ctype_graph</function>, - und <function>ctype_punct</function>. + <simplelist> + <member><function>ctype_cntrl</function></member> + <member><function>ctype_graph</function></member> + <member><function>ctype_punct</function></member> + </simplelist> </para> </refsect1> </refentry> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/ctype/functions/ctype-punct.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-de/reference/ctype/functions/ctype-punct.xml diff -u phpdoc-de/reference/ctype/functions/ctype-punct.xml:1.4 phpdoc-de/reference/ctype/functions/ctype-punct.xml:1.5 --- phpdoc-de/reference/ctype/functions/ctype-punct.xml:1.4 Tue Jan 16 10:20:03 2007 +++ phpdoc-de/reference/ctype/functions/ctype-punct.xml Tue Jan 16 10:28:47 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- EN-Revision: 1.1 Maintainer: hholzgra Status: working --> <refentry id="function.ctype-punct"> <refnamediv> @@ -21,9 +21,70 @@ durckbar sind, aber weder Buchstaben, Ziffern oder Leerzeichen. Anderenfalls wird &false; zurückgegeben. </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>text</parameter></term> + <listitem> + <para> + The tested string. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Returns &true; if every character in <parameter>text</parameter> + is printable, but neither letter, digit or blank, &false; otherwise. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>A <function>ctype_punct</function> example</title> + <programlisting role="php"> +<![CDATA[ +<?php +$strings = array('ABasdk!@!$#', '!@ # $', '*&$()'); +foreach ($strings as $testcase) { + if (ctype_punct($testcase)) { + echo "The string $testcase consists of all punctuation.\n"; + } else { + echo "The string $testcase does not consist of all punctuation.\n"; + } +} +?> +]]> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +The string ABasdk!@!$# does not consist of all punctuation. +The string !@ # $ does not consist of all punctuation. +The string *&$() consists of all punctuation. +]]> + </screen> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; <para> - Siehe auch <function>ctype_cntrl</function>, <function>ctype_graph</function>, - und <function>ctype_punct</function>. + <simplelist> + <member><function>ctype_cntrl</function></member> + <member><function>ctype_graph</function></member> + </simplelist> </para> </refsect1> </refentry> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/ctype/functions/ctype-space.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-de/reference/ctype/functions/ctype-space.xml diff -u phpdoc-de/reference/ctype/functions/ctype-space.xml:1.4 phpdoc-de/reference/ctype/functions/ctype-space.xml:1.5 --- phpdoc-de/reference/ctype/functions/ctype-space.xml:1.4 Tue Jan 16 10:20:03 2007 +++ phpdoc-de/reference/ctype/functions/ctype-space.xml Tue Jan 16 10:28:47 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- EN-Revision: 1.1 Maintainer: hholzgra Status: working --> <refentry id="function.ctype-space"> <refnamediv> @@ -20,6 +20,74 @@ Return und Formularvorschub mit ein. </para> </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>text</parameter></term> + <listitem> + <para> + The tested string. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Returns &true; if every character in <parameter>text</parameter> + creates some sort of white space, &false; otherwise. Besides the + blank character this also includes tab, vertical tab, line feed, + carriage return and form feed characters. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>A <function>ctype_space</function> example</title> + <programlisting role="php"> +<![CDATA[ +<?php +$strings = array('string1' => "\n\r\t", 'string2' => "\narf12", 'string3' => '\n\r\t'); +foreach ($strings as $name => $testcase) { + if (ctype_space($testcase)) { + echo "The string '$name' consists of all whitespace characters.\n"; + } else { + echo "The string '$name' does not consist of all whitespace characters.\n"; + } +} +?> +]]> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +The string 'string1' consists of all whitespace characters. +The string 'string2' does not consist of all whitespace characters. +The string 'string3' does not consist of all whitespace characters. +]]> + </screen> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>ctype_cntrl</function></member> + <member><function>ctype_graph</function></member> + <member><function>ctype_punct</function></member> + </simplelist> + </para> + </refsect1> </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/ctype/functions/ctype-upper.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-de/reference/ctype/functions/ctype-upper.xml diff -u phpdoc-de/reference/ctype/functions/ctype-upper.xml:1.4 phpdoc-de/reference/ctype/functions/ctype-upper.xml:1.5 --- phpdoc-de/reference/ctype/functions/ctype-upper.xml:1.4 Tue Jan 16 10:20:03 2007 +++ phpdoc-de/reference/ctype/functions/ctype-upper.xml Tue Jan 16 10:28:47 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- EN-Revision: 1.1 Maintainer: hholzgra Status: working --> <refentry id="function.ctype-upper"> <refnamediv> @@ -18,8 +18,71 @@ Großbuchstabe im Sinne der aktuellen locale-Einstellung ist, anderenfalls &false;. </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>text</parameter></term> + <listitem> + <para> + The tested string. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Returns &true; if every character in <parameter>text</parameter> is + an uppercase letter in the current locale. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>A <function>ctype_upper</function> example (using the default locale)</title> + <programlisting role="php"> +<![CDATA[ +<?php +$strings = array('AKLWC139', 'LMNSDO', 'akwSKWsm'); +foreach ($strings as $testcase) { + if (ctype_upper($testcase)) { + echo "The string $testcase consists of all uppercase letters.\n"; + } else { + echo "The string $testcase does not consist of all uppercase letters.\n"; + } +} +?> +]]> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +The string AKLWC139 does not consist of all uppercase letters. +The string LMNSDO consists of all uppercase letters. +The string akwSKWsm does not consist of all uppercase letters. +]]> + </screen> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; <para> - Siehe auch <function>ctype_alpha</function> und <function>ctype_lower</function>. + <simplelist> + <member><function>ctype_alpha</function></member> + <member><function>ctype_lower</function></member> + <member><function>setlocale</function></member> + </simplelist> </para> </refsect1> </refentry> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/ctype/functions/ctype-xdigit.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-de/reference/ctype/functions/ctype-xdigit.xml diff -u phpdoc-de/reference/ctype/functions/ctype-xdigit.xml:1.4 phpdoc-de/reference/ctype/functions/ctype-xdigit.xml:1.5 --- phpdoc-de/reference/ctype/functions/ctype-xdigit.xml:1.4 Tue Jan 16 10:20:04 2007 +++ phpdoc-de/reference/ctype/functions/ctype-xdigit.xml Tue Jan 16 10:28:47 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- EN-Revision: 1.1 Maintainer: hholzgra Status: working --> <refentry id="function.ctype-xdigit"> <refnamediv> @@ -20,8 +20,70 @@ eine Hexadezimalziffer ist, also eine Dezimalziffer oder ein Zeichen aus <literal>[A-Fa-f]</literal> , anderenfalls &false;. </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>text</parameter></term> + <listitem> + <para> + The tested string. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Returns &true; if every character in <parameter>text</parameter> is + a hexadecimal 'digit', that is a decimal digit or a character from + <literal>[A-Fa-f]</literal> , &false; otherwise. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>A <function>ctype_xdigit</function> example</title> + <programlisting role="php"> +<![CDATA[ +<?php +$strings = array('AB10BC99', 'AR1012', 'ab12bc99'); +foreach ($strings as $testcase) { + if (ctype_xdigit($testcase)) { + echo "The string $testcase consists of all hexadecimal digits.\n"; + } else { + echo "The string $testcase does not consist of all hexadecimal digits.\n"; + } +} +?> +]]> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +The string AB10BC99 consists of all hexadecimal digits. +The string AR1012 does not consist of all hexadecimal digits. +The string ab12bc99 consists of all hexadecimal digits. +]]> + </screen> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; <para> - Siehe auch <function>ctype_digit</function>. + <simplelist> + <member><function>ctype_digit</function></member> + </simplelist> </para> </refsect1> </refentry>