irchtml Mon Mar 7 15:16:42 2005 EDT
Modified files:
/phpdoc/en/reference/ctype/functions ctype-alnum.xml
ctype-alpha.xml
ctype-cntrl.xml
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:
WS fix (start at col 0)
http://cvs.php.net/diff.php/phpdoc/en/reference/ctype/functions/ctype-alnum.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/reference/ctype/functions/ctype-alnum.xml
diff -u phpdoc/en/reference/ctype/functions/ctype-alnum.xml:1.5
phpdoc/en/reference/ctype/functions/ctype-alnum.xml:1.6
--- phpdoc/en/reference/ctype/functions/ctype-alnum.xml:1.5 Mon Nov 1
08:39:10 2004
+++ phpdoc/en/reference/ctype/functions/ctype-alnum.xml Mon Mar 7 15:16:41 2005
@@ -1,27 +1,27 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<!-- splitted from ./en/functions/ctype.xml, last change in rev 1.1 -->
- <refentry id="function.ctype-alnum">
- <refnamediv>
- <refname>ctype_alnum</refname>
- <refpurpose>Check for alphanumeric character(s)</refpurpose>
- </refnamediv>
- <refsect1>
- <title>Description</title>
- <methodsynopsis>
- <type>bool</type><methodname>ctype_alnum</methodname>
- <methodparam><type>string</type><parameter>text</parameter></methodparam>
- </methodsynopsis>
- <para>
- Returns &true; if every character in <parameter>text</parameter> is either
- a letter or a digit, &false; otherwise. In the standard
<literal>C</literal>
- locale letters are just <literal>[A-Za-z]</literal> and the function is
- equivalent to <literal>preg_match('/^[a-z0-9]*$/i', $text)</literal>.
- </para>
- <para>
- <example>
- <title>A <function>ctype_alnum</function> example (using the default
locale)</title>
- <programlisting role="php">
+<refentry id="function.ctype-alnum">
+ <refnamediv>
+ <refname>ctype_alnum</refname>
+ <refpurpose>Check for alphanumeric character(s)</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <methodsynopsis>
+ <type>bool</type><methodname>ctype_alnum</methodname>
+ <methodparam><type>string</type><parameter>text</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ Returns &true; if every character in <parameter>text</parameter> is either
+ a letter or a digit, &false; otherwise. In the standard
<literal>C</literal>
+ locale letters are just <literal>[A-Za-z]</literal> and the function is
+ equivalent to <literal>preg_match('/^[a-z0-9]*$/i', $text)</literal>.
+ </para>
+ <para>
+ <example>
+ <title>A <function>ctype_alnum</function> example (using the default
locale)</title>
+ <programlisting role="php">
<![CDATA[
<?php
$strings = array('AbCd1zyZ9', 'foo!#$bar');
@@ -34,22 +34,22 @@
}
?>
]]>
- </programlisting>
- &example.outputs;
- <screen>
+ </programlisting>
+ &example.outputs;
+ <screen>
<![CDATA[
The string AbCd1zyZ9 consists of all letters or digits.
The string foo!#$bar does not consists of all letters or digits.
]]>
- </screen>
- </example>
- </para>
- <para>
- See also <function>ctype_alpha</function>,
<function>ctype_digit</function>,
- and <function>setlocale</function>.
- </para>
- </refsect1>
- </refentry>
+ </screen>
+ </example>
+ </para>
+ <para>
+ See also <function>ctype_alpha</function>,
<function>ctype_digit</function>,
+ and <function>setlocale</function>.
+ </para>
+ </refsect1>
+</refentry>
<!-- Keep this comment at the end of the file
Local variables:
http://cvs.php.net/diff.php/phpdoc/en/reference/ctype/functions/ctype-alpha.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/reference/ctype/functions/ctype-alpha.xml
diff -u phpdoc/en/reference/ctype/functions/ctype-alpha.xml:1.5
phpdoc/en/reference/ctype/functions/ctype-alpha.xml:1.6
--- phpdoc/en/reference/ctype/functions/ctype-alpha.xml:1.5 Mon Nov 1
08:39:11 2004
+++ phpdoc/en/reference/ctype/functions/ctype-alpha.xml Mon Mar 7 15:16:41 2005
@@ -1,30 +1,30 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<!-- splitted from ./en/functions/ctype.xml, last change in rev 1.1 -->
- <refentry id="function.ctype-alpha">
- <refnamediv>
- <refname>ctype_alpha</refname>
- <refpurpose>Check for alphabetic character(s)</refpurpose>
- </refnamediv>
- <refsect1>
- <title>Description</title>
- <methodsynopsis>
- <type>bool</type><methodname>ctype_alpha</methodname>
- <methodparam><type>string</type><parameter>text</parameter></methodparam>
- </methodsynopsis>
- <para>
- Returns &true; if every character in <parameter>text</parameter> is
- a letter from the current locale, &false; otherwise.
- In the standard <literal>C</literal> locale letters are just
- <literal>[A-Za-z]</literal> and <function>ctype_alpha</function> is
- equivalent to <literal>(ctype_upper($text) ||
ctype_lower($text))</literal>
- if $text is just a single character, but other languages have letters
that
- are considered neither upper nor lower case.
- </para>
- <para>
- <example>
- <title>A <function>ctype_alpha</function> example (using the default
locale)</title>
- <programlisting role="php">
+<refentry id="function.ctype-alpha">
+ <refnamediv>
+ <refname>ctype_alpha</refname>
+ <refpurpose>Check for alphabetic character(s)</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <methodsynopsis>
+ <type>bool</type><methodname>ctype_alpha</methodname>
+ <methodparam><type>string</type><parameter>text</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ Returns &true; if every character in <parameter>text</parameter> is
+ a letter from the current locale, &false; otherwise.
+ In the standard <literal>C</literal> locale letters are just
+ <literal>[A-Za-z]</literal> and <function>ctype_alpha</function> is
+ equivalent to <literal>(ctype_upper($text) || ctype_lower($text))</literal>
+ if $text is just a single character, but other languages have letters that
+ are considered neither upper nor lower case.
+ </para>
+ <para>
+ <example>
+ <title>A <function>ctype_alpha</function> example (using the default
locale)</title>
+ <programlisting role="php">
<![CDATA[
<?php
$strings = array('KjgWZC', 'arf12');
@@ -37,23 +37,23 @@
}
?>
]]>
- </programlisting>
- &example.outputs;
- <screen>
+ </programlisting>
+ &example.outputs;
+ <screen>
<![CDATA[
The string KjgWZC consists of all letters.
The string arf12 does not consists of all letters.
]]>
- </screen>
- </example>
- </para>
- <para>
- See also <function>ctype_upper</function>,
- <function>ctype_lower</function>, and
- <function>setlocale</function>.
- </para>
- </refsect1>
- </refentry>
+ </screen>
+ </example>
+ </para>
+ <para>
+ See also <function>ctype_upper</function>,
+ <function>ctype_lower</function>, and
+ <function>setlocale</function>.
+ </para>
+ </refsect1>
+</refentry>
<!-- Keep this comment at the end of the file
Local variables:
http://cvs.php.net/diff.php/phpdoc/en/reference/ctype/functions/ctype-cntrl.xml?r1=1.4&r2=1.5&ty=u
Index: phpdoc/en/reference/ctype/functions/ctype-cntrl.xml
diff -u phpdoc/en/reference/ctype/functions/ctype-cntrl.xml:1.4
phpdoc/en/reference/ctype/functions/ctype-cntrl.xml:1.5
--- phpdoc/en/reference/ctype/functions/ctype-cntrl.xml:1.4 Mon Nov 1
08:39:11 2004
+++ phpdoc/en/reference/ctype/functions/ctype-cntrl.xml Mon Mar 7 15:16:41 2005
@@ -1,26 +1,26 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/ctype.xml, last change in rev 1.1 -->
- <refentry id="function.ctype-cntrl">
- <refnamediv>
- <refname>ctype_cntrl</refname>
- <refpurpose>Check for control character(s)</refpurpose>
- </refnamediv>
- <refsect1>
- <title>Description</title>
- <methodsynopsis>
- <type>bool</type><methodname>ctype_cntrl</methodname>
- <methodparam><type>string</type><parameter>text</parameter></methodparam>
- </methodsynopsis>
- <para>
- Returns &true; if every character in <parameter>text</parameter> has
- a special control function, &false; otherwise. Control characters are
- e.g. line feed, tab, esc.
- </para>
- <para>
- <example>
- <title>A <function>ctype_cntrl</function> example</title>
- <programlisting role="php">
+<refentry id="function.ctype-cntrl">
+ <refnamediv>
+ <refname>ctype_cntrl</refname>
+ <refpurpose>Check for control character(s)</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <methodsynopsis>
+ <type>bool</type><methodname>ctype_cntrl</methodname>
+ <methodparam><type>string</type><parameter>text</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ Returns &true; if every character in <parameter>text</parameter> has
+ a special control function, &false; otherwise. Control characters are
+ e.g. line feed, tab, esc.
+ </para>
+ <para>
+ <example>
+ <title>A <function>ctype_cntrl</function> example</title>
+ <programlisting role="php">
<![CDATA[
<?php
$strings = array('string1' => "\n\r\t", 'string2' => 'arf12');
@@ -33,18 +33,18 @@
}
?>
]]>
- </programlisting>
- &example.outputs;
- <screen>
+ </programlisting>
+ &example.outputs;
+ <screen>
<![CDATA[
The string 'string1' consists of all control characters.
The string 'string2' does not consists of all control characters.
]]>
- </screen>
- </example>
- </para>
- </refsect1>
- </refentry>
+ </screen>
+ </example>
+ </para>
+ </refsect1>
+</refentry>
<!-- Keep this comment at the end of the file
Local variables:
http://cvs.php.net/diff.php/phpdoc/en/reference/ctype/functions/ctype-digit.xml?r1=1.4&r2=1.5&ty=u
Index: phpdoc/en/reference/ctype/functions/ctype-digit.xml
diff -u phpdoc/en/reference/ctype/functions/ctype-digit.xml:1.4
phpdoc/en/reference/ctype/functions/ctype-digit.xml:1.5
--- phpdoc/en/reference/ctype/functions/ctype-digit.xml:1.4 Mon Nov 1
08:39:11 2004
+++ phpdoc/en/reference/ctype/functions/ctype-digit.xml Mon Mar 7 15:16:41 2005
@@ -1,25 +1,25 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/ctype.xml, last change in rev 1.1 -->
- <refentry id="function.ctype-digit">
- <refnamediv>
- <refname>ctype_digit</refname>
- <refpurpose>Check for numeric character(s)</refpurpose>
- </refnamediv>
- <refsect1>
- <title>Description</title>
- <methodsynopsis>
- <type>bool</type><methodname>ctype_digit</methodname>
- <methodparam><type>string</type><parameter>text</parameter></methodparam>
- </methodsynopsis>
- <para>
- Returns &true; if every character in <parameter>text</parameter> is
- a decimal digit, &false; otherwise.
- </para>
- <para>
- <example>
- <title>A <function>ctype_digit</function> example</title>
- <programlisting role="php">
+<refentry id="function.ctype-digit">
+ <refnamediv>
+ <refname>ctype_digit</refname>
+ <refpurpose>Check for numeric character(s)</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <methodsynopsis>
+ <type>bool</type><methodname>ctype_digit</methodname>
+ <methodparam><type>string</type><parameter>text</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ Returns &true; if every character in <parameter>text</parameter> is
+ a decimal digit, &false; otherwise.
+ </para>
+ <para>
+ <example>
+ <title>A <function>ctype_digit</function> example</title>
+ <programlisting role="php">
<![CDATA[
<?php
$strings = array('1820.20', '10002', 'wsl!12');
@@ -32,22 +32,22 @@
}
?>
]]>
- </programlisting>
- &example.outputs;
- <screen>
+ </programlisting>
+ &example.outputs;
+ <screen>
<![CDATA[
The string 1820.20 does not consists of all digits.
The string 10002 consists of all digits.
The string wsl!12 does not consists of all digits.
]]>
- </screen>
- </example>
- </para>
- <para>
- See also <function>ctype_alnum</function> and
<function>ctype_xdigit</function>.
- </para>
- </refsect1>
- </refentry>
+ </screen>
+ </example>
+ </para>
+ <para>
+ See also <function>ctype_alnum</function> and
<function>ctype_xdigit</function>.
+ </para>
+ </refsect1>
+</refentry>
<!-- Keep this comment at the end of the file
Local variables:
http://cvs.php.net/diff.php/phpdoc/en/reference/ctype/functions/ctype-graph.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/reference/ctype/functions/ctype-graph.xml
diff -u phpdoc/en/reference/ctype/functions/ctype-graph.xml:1.5
phpdoc/en/reference/ctype/functions/ctype-graph.xml:1.6
--- phpdoc/en/reference/ctype/functions/ctype-graph.xml:1.5 Mon Nov 1
08:39:11 2004
+++ phpdoc/en/reference/ctype/functions/ctype-graph.xml Mon Mar 7 15:16:41 2005
@@ -1,26 +1,26 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<!-- splitted from ./en/functions/ctype.xml, last change in rev 1.1 -->
- <refentry id="function.ctype-graph">
- <refnamediv>
- <refname>ctype_graph</refname>
- <refpurpose>Check for any printable character(s) except space</refpurpose>
- </refnamediv>
- <refsect1>
- <title>Description</title>
- <methodsynopsis>
- <type>bool</type><methodname>ctype_graph</methodname>
- <methodparam><type>string</type><parameter>text</parameter></methodparam>
- </methodsynopsis>
- <para>
- Returns &true; if every character in <parameter>text</parameter> is
- printable and actually creates visible output (no white space), &false;
- otherwise.
- </para>
- <para>
- <example>
- <title>A <function>ctype_graph</function> example</title>
- <programlisting role="php">
+<refentry id="function.ctype-graph">
+ <refnamediv>
+ <refname>ctype_graph</refname>
+ <refpurpose>Check for any printable character(s) except space</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <methodsynopsis>
+ <type>bool</type><methodname>ctype_graph</methodname>
+ <methodparam><type>string</type><parameter>text</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ Returns &true; if every character in <parameter>text</parameter> is
+ printable and actually creates visible output (no white space), &false;
+ otherwise.
+ </para>
+ <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' =>
'[EMAIL PROTECTED]');
@@ -33,23 +33,23 @@
}
?>
]]>
- </programlisting>
- &example.outputs;
- <screen>
+ </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>
- <para>
- See also <function>ctype_alnum</function>,
<function>ctype_print</function>,
- and <function>ctype_punct</function>.
- </para>
- </refsect1>
- </refentry>
+ </screen>
+ </example>
+ </para>
+ <para>
+ See also <function>ctype_alnum</function>, <function>ctype_print</function>,
+ and <function>ctype_punct</function>.
+ </para>
+ </refsect1>
+</refentry>
<!-- Keep this comment at the end of the file
Local variables:
http://cvs.php.net/diff.php/phpdoc/en/reference/ctype/functions/ctype-lower.xml?r1=1.4&r2=1.5&ty=u
Index: phpdoc/en/reference/ctype/functions/ctype-lower.xml
diff -u phpdoc/en/reference/ctype/functions/ctype-lower.xml:1.4
phpdoc/en/reference/ctype/functions/ctype-lower.xml:1.5
--- phpdoc/en/reference/ctype/functions/ctype-lower.xml:1.4 Mon Nov 1
08:39:11 2004
+++ phpdoc/en/reference/ctype/functions/ctype-lower.xml Mon Mar 7 15:16:41 2005
@@ -1,25 +1,25 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/ctype.xml, last change in rev 1.1 -->
- <refentry id="function.ctype-lower">
- <refnamediv>
- <refname>ctype_lower</refname>
- <refpurpose>Check for lowercase character(s)</refpurpose>
- </refnamediv>
- <refsect1>
- <title>Description</title>
- <methodsynopsis>
- <type>bool</type><methodname>ctype_lower</methodname>
- <methodparam><type>string</type><parameter>text</parameter></methodparam>
- </methodsynopsis>
- <para>
- Returns &true; if every character in <parameter>text</parameter> is
- a lowercase letter in the current locale.
- </para>
- <para>
- <example>
- <title>A <function>ctype_lower</function> example (using the default
locale)</title>
- <programlisting role="php">
+<refentry id="function.ctype-lower">
+ <refnamediv>
+ <refname>ctype_lower</refname>
+ <refpurpose>Check for lowercase character(s)</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <methodsynopsis>
+ <type>bool</type><methodname>ctype_lower</methodname>
+ <methodparam><type>string</type><parameter>text</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ Returns &true; if every character in <parameter>text</parameter> is
+ a lowercase letter in the current locale.
+ </para>
+ <para>
+ <example>
+ <title>A <function>ctype_lower</function> example (using the default
locale)</title>
+ <programlisting role="php">
<![CDATA[
<?php
$strings = array('aac123', 'qiutoas', 'QASsdks');
@@ -32,23 +32,23 @@
}
?>
]]>
- </programlisting>
- &example.outputs;
- <screen>
+ </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>
- <para>
- See also <function>ctype_alpha</function>,
<function>ctype_upper</function>,
- and <function>setlocale</function>.
- </para>
- </refsect1>
- </refentry>
+ </screen>
+ </example>
+ </para>
+ <para>
+ See also <function>ctype_alpha</function>, <function>ctype_upper</function>,
+ and <function>setlocale</function>.
+ </para>
+ </refsect1>
+</refentry>
<!-- Keep this comment at the end of the file
Local variables:
http://cvs.php.net/diff.php/phpdoc/en/reference/ctype/functions/ctype-print.xml?r1=1.4&r2=1.5&ty=u
Index: phpdoc/en/reference/ctype/functions/ctype-print.xml
diff -u phpdoc/en/reference/ctype/functions/ctype-print.xml:1.4
phpdoc/en/reference/ctype/functions/ctype-print.xml:1.5
--- phpdoc/en/reference/ctype/functions/ctype-print.xml:1.4 Mon Nov 1
08:39:11 2004
+++ phpdoc/en/reference/ctype/functions/ctype-print.xml Mon Mar 7 15:16:41 2005
@@ -1,27 +1,27 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/ctype.xml, last change in rev 1.1 -->
- <refentry id="function.ctype-print">
- <refnamediv>
- <refname>ctype_print</refname>
- <refpurpose>Check for printable character(s)</refpurpose>
- </refnamediv>
- <refsect1>
- <title>Description</title>
- <methodsynopsis>
- <type>bool</type><methodname>ctype_print</methodname>
- <methodparam><type>string</type><parameter>text</parameter></methodparam>
- </methodsynopsis>
- <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>
- <para>
- <example>
- <title>A <function>ctype_print</function> example</title>
- <programlisting role="php">
+<refentry id="function.ctype-print">
+ <refnamediv>
+ <refname>ctype_print</refname>
+ <refpurpose>Check for printable character(s)</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <methodsynopsis>
+ <type>bool</type><methodname>ctype_print</methodname>
+ <methodparam><type>string</type><parameter>text</parameter></methodparam>
+ </methodsynopsis>
+ <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>
+ <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' =>
'[EMAIL PROTECTED]');
@@ -34,23 +34,23 @@
}
?>
]]>
- </programlisting>
- &example.outputs;
- <screen>
+ </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>
- <para>
- See also <function>ctype_cntrl</function>,
<function>ctype_graph</function>,
- and <function>ctype_punct</function>.
- </para>
- </refsect1>
- </refentry>
+ </screen>
+ </example>
+ </para>
+ <para>
+ See also <function>ctype_cntrl</function>, <function>ctype_graph</function>,
+ and <function>ctype_punct</function>.
+ </para>
+ </refsect1>
+</refentry>
<!-- Keep this comment at the end of the file
Local variables:
http://cvs.php.net/diff.php/phpdoc/en/reference/ctype/functions/ctype-punct.xml?r1=1.4&r2=1.5&ty=u
Index: phpdoc/en/reference/ctype/functions/ctype-punct.xml
diff -u phpdoc/en/reference/ctype/functions/ctype-punct.xml:1.4
phpdoc/en/reference/ctype/functions/ctype-punct.xml:1.5
--- phpdoc/en/reference/ctype/functions/ctype-punct.xml:1.4 Mon Nov 1
08:39:12 2004
+++ phpdoc/en/reference/ctype/functions/ctype-punct.xml Mon Mar 7 15:16:41 2005
@@ -1,28 +1,28 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/ctype.xml, last change in rev 1.1 -->
- <refentry id="function.ctype-punct">
- <refnamediv>
- <refname>ctype_punct</refname>
- <refpurpose>
- Check for any printable character which is not whitespace or an
- alphanumeric character
- </refpurpose>
- </refnamediv>
- <refsect1>
- <title>Description</title>
- <methodsynopsis>
- <type>bool</type><methodname>ctype_punct</methodname>
- <methodparam><type>string</type><parameter>text</parameter></methodparam>
- </methodsynopsis>
- <para>
- Returns &true; if every character in <parameter>text</parameter>
- is printable, but neither letter, digit or blank, &false; otherwise.
- </para>
- <para>
- <example>
- <title>A <function>ctype_punct</function> example</title>
- <programlisting role="php">
+<refentry id="function.ctype-punct">
+ <refnamediv>
+ <refname>ctype_punct</refname>
+ <refpurpose>
+ Check for any printable character which is not whitespace or an
+ alphanumeric character
+ </refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <methodsynopsis>
+ <type>bool</type><methodname>ctype_punct</methodname>
+ <methodparam><type>string</type><parameter>text</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ Returns &true; if every character in <parameter>text</parameter>
+ is printable, but neither letter, digit or blank, &false; otherwise.
+ </para>
+ <para>
+ <example>
+ <title>A <function>ctype_punct</function> example</title>
+ <programlisting role="php">
<![CDATA[
<?php
$strings = array('[EMAIL PROTECTED]', '!@ # $', '*&$()');
@@ -35,22 +35,22 @@
}
?>
]]>
- </programlisting>
- &example.outputs;
- <screen>
+ </programlisting>
+ &example.outputs;
+ <screen>
<![CDATA[
The string [EMAIL PROTECTED] does not consist of all punctuation.
The string !@ # $ does not consist of all punctuation.
The string *&$() consists of all punctuation.
]]>
- </screen>
- </example>
- </para>
- <para>
- See also <function>ctype_cntrl</function> and
<function>ctype_graph</function>.
- </para>
- </refsect1>
- </refentry>
+ </screen>
+ </example>
+ </para>
+ <para>
+ See also <function>ctype_cntrl</function> and
<function>ctype_graph</function>.
+ </para>
+ </refsect1>
+</refentry>
<!-- Keep this comment at the end of the file
Local variables:
http://cvs.php.net/diff.php/phpdoc/en/reference/ctype/functions/ctype-space.xml?r1=1.4&r2=1.5&ty=u
Index: phpdoc/en/reference/ctype/functions/ctype-space.xml
diff -u phpdoc/en/reference/ctype/functions/ctype-space.xml:1.4
phpdoc/en/reference/ctype/functions/ctype-space.xml:1.5
--- phpdoc/en/reference/ctype/functions/ctype-space.xml:1.4 Mon Nov 1
08:39:12 2004
+++ phpdoc/en/reference/ctype/functions/ctype-space.xml Mon Mar 7 15:16:41 2005
@@ -1,27 +1,27 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/ctype.xml, last change in rev 1.1 -->
- <refentry id="function.ctype-space">
- <refnamediv>
- <refname>ctype_space</refname>
- <refpurpose>Check for whitespace character(s)</refpurpose>
- </refnamediv>
- <refsect1>
- <title>Description</title>
- <methodsynopsis>
- <type>bool</type><methodname>ctype_space</methodname>
- <methodparam><type>string</type><parameter>text</parameter></methodparam>
- </methodsynopsis>
- <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>
- <para>
- <example>
- <title>A <function>ctype_space</function> example</title>
- <programlisting role="php">
+<refentry id="function.ctype-space">
+ <refnamediv>
+ <refname>ctype_space</refname>
+ <refpurpose>Check for whitespace character(s)</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <methodsynopsis>
+ <type>bool</type><methodname>ctype_space</methodname>
+ <methodparam><type>string</type><parameter>text</parameter></methodparam>
+ </methodsynopsis>
+ <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>
+ <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');
@@ -34,23 +34,23 @@
}
?>
]]>
- </programlisting>
- &example.outputs;
- <screen>
+ </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>
- <para>
- See also <function>ctype_cntrl</function>,
<function>ctype_graph</function>,
- and <function>ctype_punct</function>.
- </para>
- </refsect1>
- </refentry>
+ </screen>
+ </example>
+ </para>
+ <para>
+ See also <function>ctype_cntrl</function>, <function>ctype_graph</function>,
+ and <function>ctype_punct</function>.
+ </para>
+ </refsect1>
+</refentry>
<!-- Keep this comment at the end of the file
Local variables:
http://cvs.php.net/diff.php/phpdoc/en/reference/ctype/functions/ctype-upper.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/reference/ctype/functions/ctype-upper.xml
diff -u phpdoc/en/reference/ctype/functions/ctype-upper.xml:1.5
phpdoc/en/reference/ctype/functions/ctype-upper.xml:1.6
--- phpdoc/en/reference/ctype/functions/ctype-upper.xml:1.5 Mon Nov 1
08:39:12 2004
+++ phpdoc/en/reference/ctype/functions/ctype-upper.xml Mon Mar 7 15:16:41 2005
@@ -1,25 +1,25 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<!-- splitted from ./en/functions/ctype.xml, last change in rev 1.1 -->
- <refentry id="function.ctype-upper">
- <refnamediv>
- <refname>ctype_upper</refname>
- <refpurpose>Check for uppercase character(s)</refpurpose>
- </refnamediv>
- <refsect1>
- <title>Description</title>
- <methodsynopsis>
- <type>bool</type><methodname>ctype_upper</methodname>
- <methodparam><type>string</type><parameter>text</parameter></methodparam>
- </methodsynopsis>
- <para>
- Returns &true; if every character in <parameter>text</parameter> is
- an uppercase letter in the current locale.
- </para>
- <para>
- <example>
- <title>A <function>ctype_upper</function> example (using the default
locale)</title>
- <programlisting role="php">
+<refentry id="function.ctype-upper">
+ <refnamediv>
+ <refname>ctype_upper</refname>
+ <refpurpose>Check for uppercase character(s)</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <methodsynopsis>
+ <type>bool</type><methodname>ctype_upper</methodname>
+ <methodparam><type>string</type><parameter>text</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ Returns &true; if every character in <parameter>text</parameter> is
+ an uppercase letter in the current locale.
+ </para>
+ <para>
+ <example>
+ <title>A <function>ctype_upper</function> example (using the default
locale)</title>
+ <programlisting role="php">
<![CDATA[
<?php
$strings = array('AKLWC139', 'LMNSDO', 'akwSKWsm');
@@ -32,23 +32,23 @@
}
?>
]]>
- </programlisting>
- &example.outputs;
- <screen>
+ </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>
- <para>
- See also <function>ctype_alpha</function>,
<function>ctype_lower</function>,
- and <function>setlocale</function>.
- </para>
- </refsect1>
- </refentry>
+ </screen>
+ </example>
+ </para>
+ <para>
+ See also <function>ctype_alpha</function>, <function>ctype_lower</function>,
+ and <function>setlocale</function>.
+ </para>
+ </refsect1>
+</refentry>
<!-- Keep this comment at the end of the file
Local variables:
http://cvs.php.net/diff.php/phpdoc/en/reference/ctype/functions/ctype-xdigit.xml?r1=1.4&r2=1.5&ty=u
Index: phpdoc/en/reference/ctype/functions/ctype-xdigit.xml
diff -u phpdoc/en/reference/ctype/functions/ctype-xdigit.xml:1.4
phpdoc/en/reference/ctype/functions/ctype-xdigit.xml:1.5
--- phpdoc/en/reference/ctype/functions/ctype-xdigit.xml:1.4 Mon Nov 1
08:39:12 2004
+++ phpdoc/en/reference/ctype/functions/ctype-xdigit.xml Mon Mar 7
15:16:41 2005
@@ -1,28 +1,28 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/ctype.xml, last change in rev 1.1 -->
- <refentry id="function.ctype-xdigit">
- <refnamediv>
- <refname>ctype_xdigit</refname>
- <refpurpose>
- Check for character(s) representing a hexadecimal digit
- </refpurpose>
- </refnamediv>
- <refsect1>
- <title>Description</title>
- <methodsynopsis>
- <type>bool</type><methodname>ctype_xdigit</methodname>
- <methodparam><type>string</type><parameter>text</parameter></methodparam>
- </methodsynopsis>
- <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>
- <para>
- <example>
- <title>A <function>ctype_xdigit</function> example</title>
- <programlisting role="php">
+<refentry id="function.ctype-xdigit">
+ <refnamediv>
+ <refname>ctype_xdigit</refname>
+ <refpurpose>
+ Check for character(s) representing a hexadecimal digit
+ </refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <methodsynopsis>
+ <type>bool</type><methodname>ctype_xdigit</methodname>
+ <methodparam><type>string</type><parameter>text</parameter></methodparam>
+ </methodsynopsis>
+ <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>
+ <para>
+ <example>
+ <title>A <function>ctype_xdigit</function> example</title>
+ <programlisting role="php">
<![CDATA[
<?php
$strings = array('AB10BC99', 'AR1012', 'ab12bc99');
@@ -35,22 +35,22 @@
}
?>
]]>
- </programlisting>
- &example.outputs;
- <screen>
+ </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>
- <para>
- See also <function>ctype_digit</function>.
- </para>
- </refsect1>
- </refentry>
+ </screen>
+ </example>
+ </para>
+ <para>
+ See also <function>ctype_digit</function>.
+ </para>
+ </refsect1>
+</refentry>
<!-- Keep this comment at the end of the file
Local variables: