[PHP-DOC] cvs: 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
irchtml Mon Mar 7 15:16:42 2005 EDT Modified files: /phpdoc/en/reference/ctype/functionsctype-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.5r2=1.6ty=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 -refnamectype_alnum/refname -refpurposeCheck for alphanumeric character(s)/refpurpose - /refnamediv - refsect1 -titleDescription/title -methodsynopsis - typebool/typemethodnamectype_alnum/methodname - methodparamtypestring/typeparametertext/parameter/methodparam -/methodsynopsis -para - Returns true; if every character in parametertext/parameter is either - a letter or a digit, false; otherwise. In the standard literalC/literal - locale letters are just literal[A-Za-z]/literal and the function is - equivalent to literalpreg_match('/^[a-z0-9]*$/i', $text)/literal. -/para -para - example - titleA functionctype_alnum/function example (using the default locale)/title - programlisting role=php +refentry id=function.ctype-alnum + refnamediv + refnamectype_alnum/refname + refpurposeCheck for alphanumeric character(s)/refpurpose + /refnamediv + refsect1 + titleDescription/title + methodsynopsis + typebool/typemethodnamectype_alnum/methodname + methodparamtypestring/typeparametertext/parameter/methodparam + /methodsynopsis + para + Returns true; if every character in parametertext/parameter is either + a letter or a digit, false; otherwise. In the standard literalC/literal + locale letters are just literal[A-Za-z]/literal and the function is + equivalent to literalpreg_match('/^[a-z0-9]*$/i', $text)/literal. + /para + para + example +titleA functionctype_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 functionctype_alpha/function, functionctype_digit/function, - and functionsetlocale/function. -/para - /refsect1 - /refentry +/screen + /example + /para + para + See also functionctype_alpha/function, functionctype_digit/function, + and functionsetlocale/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.5r2=1.6ty=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 -refnamectype_alpha/refname -refpurposeCheck for alphabetic character(s)/refpurpose - /refnamediv - refsect1 -titleDescription/title -methodsynopsis - typebool/typemethodnamectype_alpha/methodname - methodparamtypestring/typeparametertext/parameter/methodparam -/methodsynopsis -para - Returns true; if every character in parametertext/parameter is - a letter from the current locale, false; otherwise. -
[PHP-DOC] cvs: 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
irchtml Mon Mar 7 15:55:40 2005 EDT Modified files: /phpdoc/en/reference/ctype/functionsctype-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: switch to new structure http://cvs.php.net/diff.php/phpdoc/en/reference/ctype/functions/ctype-alnum.xml?r1=1.6r2=1.7ty=u Index: phpdoc/en/reference/ctype/functions/ctype-alnum.xml diff -u phpdoc/en/reference/ctype/functions/ctype-alnum.xml:1.6 phpdoc/en/reference/ctype/functions/ctype-alnum.xml:1.7 --- phpdoc/en/reference/ctype/functions/ctype-alnum.xml:1.6 Mon Mar 7 15:16:41 2005 +++ phpdoc/en/reference/ctype/functions/ctype-alnum.xml Mon Mar 7 15:55:39 2005 @@ -1,23 +1,53 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.6 $ -- +!-- $Revision: 1.7 $ -- !-- splitted from ./en/functions/ctype.xml, last change in rev 1.1 -- refentry id=function.ctype-alnum refnamediv refnamectype_alnum/refname refpurposeCheck for alphanumeric character(s)/refpurpose /refnamediv - refsect1 - titleDescription/title + + refsect1 role=description + reftitle.description; methodsynopsis typebool/typemethodnamectype_alnum/methodname methodparamtypestring/typeparametertext/parameter/methodparam /methodsynopsis para + Checks if all of the characters in the provided string, + parametertext/parameter, are alphanumeric. In the standard + literalC/literal locale letters are just literal[A-Za-z]/literal + and the function is equivalent to + literalpreg_match('/^[a-z0-9]*$/i', $text)/literal. + /para + /refsect1 + + refsect1 role=parameters + reftitle.parameters; + para + variablelist +varlistentry + termparametertext/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 parametertext/parameter is either - a letter or a digit, false; otherwise. In the standard literalC/literal - locale letters are just literal[A-Za-z]/literal and the function is - equivalent to literalpreg_match('/^[a-z0-9]*$/i', $text)/literal. + a letter or a digit, false; otherwise. /para + /refsect1 + + refsect1 role=examples + reftitle.examples; para example titleA functionctype_alnum/function example (using the default locale)/title @@ -44,9 +74,16 @@ /screen /example /para + /refsect1 + + refsect1 role=seealso + reftitle.seealso; para - See also functionctype_alpha/function, functionctype_digit/function, - and functionsetlocale/function. + simplelist +memberfunctionctype_alpha/function/member +memberfunctionctype_digit/function/member +memberfunctionsetlocale/function/member + /simplelist /para /refsect1 /refentry http://cvs.php.net/diff.php/phpdoc/en/reference/ctype/functions/ctype-alpha.xml?r1=1.6r2=1.7ty=u Index: phpdoc/en/reference/ctype/functions/ctype-alpha.xml diff -u phpdoc/en/reference/ctype/functions/ctype-alpha.xml:1.6 phpdoc/en/reference/ctype/functions/ctype-alpha.xml:1.7 --- phpdoc/en/reference/ctype/functions/ctype-alpha.xml:1.6 Mon Mar 7 15:16:41 2005 +++ phpdoc/en/reference/ctype/functions/ctype-alpha.xml Mon Mar 7 15:55:39 2005 @@ -1,26 +1,55 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.6 $ -- +!-- $Revision: 1.7 $ -- !-- splitted from ./en/functions/ctype.xml, last change in rev 1.1 -- refentry id=function.ctype-alpha refnamediv refnamectype_alpha/refname refpurposeCheck for alphabetic character(s)/refpurpose /refnamediv - refsect1 - titleDescription/title + + refsect1 role=description + reftitle.description; methodsynopsis typebool/typemethodnamectype_alpha/methodname methodparamtypestring/typeparametertext/parameter/methodparam /methodsynopsis para - Returns true; if every character in parametertext/parameter is - a letter from the current locale, false; otherwise. + Checks if all of the characters in the provided string, + parametertext/parameter, are alphabetic. In the standard literalC/literal locale letters are just literal[A-Za-z]/literal and functionctype_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
[PHP-DOC] cvs: 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 /en/reference/datetime/functions checkdate.xml getdate.xml gettimeofday.xml
yannick Mon Nov 1 08:39:16 2004 EDT Modified files: /phpdoc/en/reference/ctype/functionsctype-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 /phpdoc/en/reference/datetime/functions checkdate.xml getdate.xml gettimeofday.xml Log: use more entities http://cvs.php.net/diff.php/phpdoc/en/reference/ctype/functions/ctype-alnum.xml?r1=1.4r2=1.5ty=u Index: phpdoc/en/reference/ctype/functions/ctype-alnum.xml diff -u phpdoc/en/reference/ctype/functions/ctype-alnum.xml:1.4 phpdoc/en/reference/ctype/functions/ctype-alnum.xml:1.5 --- phpdoc/en/reference/ctype/functions/ctype-alnum.xml:1.4 Wed Feb 25 05:19:05 2004 +++ phpdoc/en/reference/ctype/functions/ctype-alnum.xml Mon Nov 1 08:39:10 2004 @@ -1,5 +1,5 @@ ?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-alnum refnamediv @@ -35,9 +35,7 @@ ? ]] /programlisting - para - This example will output : - /para + example.outputs; screen ![CDATA[ The string AbCd1zyZ9 consists of all letters or digits. http://cvs.php.net/diff.php/phpdoc/en/reference/ctype/functions/ctype-alpha.xml?r1=1.4r2=1.5ty=u Index: phpdoc/en/reference/ctype/functions/ctype-alpha.xml diff -u phpdoc/en/reference/ctype/functions/ctype-alpha.xml:1.4 phpdoc/en/reference/ctype/functions/ctype-alpha.xml:1.5 --- phpdoc/en/reference/ctype/functions/ctype-alpha.xml:1.4 Wed Feb 25 05:19:05 2004 +++ phpdoc/en/reference/ctype/functions/ctype-alpha.xml Mon Nov 1 08:39:11 2004 @@ -1,5 +1,5 @@ ?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-alpha refnamediv @@ -38,9 +38,7 @@ ? ]] /programlisting - para - This example will output : - /para + example.outputs; screen ![CDATA[ The string KjgWZC consists of all letters. http://cvs.php.net/diff.php/phpdoc/en/reference/ctype/functions/ctype-cntrl.xml?r1=1.3r2=1.4ty=u Index: phpdoc/en/reference/ctype/functions/ctype-cntrl.xml diff -u phpdoc/en/reference/ctype/functions/ctype-cntrl.xml:1.3 phpdoc/en/reference/ctype/functions/ctype-cntrl.xml:1.4 --- phpdoc/en/reference/ctype/functions/ctype-cntrl.xml:1.3 Wed Feb 25 05:19:05 2004 +++ phpdoc/en/reference/ctype/functions/ctype-cntrl.xml Mon Nov 1 08:39:11 2004 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.3 $ -- +!-- $Revision: 1.4 $ -- !-- splitted from ./en/functions/ctype.xml, last change in rev 1.1 -- refentry id=function.ctype-cntrl refnamediv @@ -34,9 +34,7 @@ ? ]] /programlisting - para - This example will output : - /para + example.outputs; screen ![CDATA[ The string 'string1' consists of all control characters. http://cvs.php.net/diff.php/phpdoc/en/reference/ctype/functions/ctype-digit.xml?r1=1.3r2=1.4ty=u Index: phpdoc/en/reference/ctype/functions/ctype-digit.xml diff -u phpdoc/en/reference/ctype/functions/ctype-digit.xml:1.3 phpdoc/en/reference/ctype/functions/ctype-digit.xml:1.4 --- phpdoc/en/reference/ctype/functions/ctype-digit.xml:1.3 Wed Feb 25 05:19:05 2004 +++ phpdoc/en/reference/ctype/functions/ctype-digit.xml Mon Nov 1 08:39:11 2004 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.3 $ -- +!-- $Revision: 1.4 $ -- !-- splitted from ./en/functions/ctype.xml, last change in rev 1.1 -- refentry id=function.ctype-digit refnamediv @@ -33,9 +33,7 @@ ? ]] /programlisting - para - This example will output : - /para + example.outputs; screen ![CDATA[ The string 1820.20 does not consists of all digits. http://cvs.php.net/diff.php/phpdoc/en/reference/ctype/functions/ctype-graph.xml?r1=1.4r2=1.5ty=u Index: phpdoc/en/reference/ctype/functions/ctype-graph.xml diff -u phpdoc/en/reference/ctype/functions/ctype-graph.xml:1.4 phpdoc/en/reference/ctype/functions/ctype-graph.xml:1.5 --- phpdoc/en/reference/ctype/functions/ctype-graph.xml:1.4 Tue May 18 10:07:01 2004 +++ phpdoc/en/reference/ctype/functions/ctype-graph.xml Mon Nov 1 08:39:11 2004 @@ -1,5 +1,5 @@ ?xml version=1.0
[PHP-DOC] cvs: 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
irchtml Wed Feb 25 05:19:06 2004 EDT Modified files: /phpdoc/en/reference/ctype/functionsctype-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: Added ctype examples http://cvs.php.net/diff.php/phpdoc/en/reference/ctype/functions/ctype-alnum.xml?r1=1.3r2=1.4ty=u Index: phpdoc/en/reference/ctype/functions/ctype-alnum.xml diff -u phpdoc/en/reference/ctype/functions/ctype-alnum.xml:1.3 phpdoc/en/reference/ctype/functions/ctype-alnum.xml:1.4 --- phpdoc/en/reference/ctype/functions/ctype-alnum.xml:1.3 Tue Oct 21 04:40:23 2003 +++ phpdoc/en/reference/ctype/functions/ctype-alnum.xml Wed Feb 25 05:19:05 2004 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.3 $ -- +!-- $Revision: 1.4 $ -- !-- splitted from ./en/functions/ctype.xml, last change in rev 1.1 -- refentry id=function.ctype-alnum refnamediv @@ -19,6 +19,34 @@ equivalent to literalpreg_match('/^[a-z0-9]*$/i', $text)/literal. /para para + example + titleA functionctype_alnum/function example (using the default locale)/title + programlisting role=php +![CDATA[ +?php +$strings = array('AbCd1zyZ9', 'foo!#$bar'); +foreach ($strings as $testcase) { +if (ctype_alnum($testcase)) { +echo The string $testcase consists of all letters or digits.\n; +} else { +echo The string $testcase does not consist of all letters or digits.\n; +} +} +? +]] + /programlisting + para + This example will output : + /para + 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 functionctype_alpha/function, functionctype_digit/function, and functionsetlocale/function. /para http://cvs.php.net/diff.php/phpdoc/en/reference/ctype/functions/ctype-alpha.xml?r1=1.3r2=1.4ty=u Index: phpdoc/en/reference/ctype/functions/ctype-alpha.xml diff -u phpdoc/en/reference/ctype/functions/ctype-alpha.xml:1.3 phpdoc/en/reference/ctype/functions/ctype-alpha.xml:1.4 --- phpdoc/en/reference/ctype/functions/ctype-alpha.xml:1.3 Mon Oct 27 13:37:35 2003 +++ phpdoc/en/reference/ctype/functions/ctype-alpha.xml Wed Feb 25 05:19:05 2004 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.3 $ -- +!-- $Revision: 1.4 $ -- !-- splitted from ./en/functions/ctype.xml, last change in rev 1.1 -- refentry id=function.ctype-alpha refnamediv @@ -22,6 +22,34 @@ are considered neither upper nor lower case. /para para + example + titleA functionctype_alpha/function example (using the default locale)/title + programlisting role=php +![CDATA[ +?php +$strings = array('KjgWZC', 'arf12'); +foreach ($strings as $testcase) { +if (ctype_alpha($testcase)) { +echo The string $testcase consists of all letters.\n; +} else { +echo The string $testcase does not consist of all letters.\n; +} +} +? +]] + /programlisting + para + This example will output : + /para + screen +![CDATA[ +The string KjgWZC consists of all letters. +The string arf12 does not consists of all letters. +]] + /screen + /example +/para +para See also functionctype_upper/function, functionctype_lower/function, and functionsetlocale/function. http://cvs.php.net/diff.php/phpdoc/en/reference/ctype/functions/ctype-cntrl.xml?r1=1.2r2=1.3ty=u Index: phpdoc/en/reference/ctype/functions/ctype-cntrl.xml diff -u phpdoc/en/reference/ctype/functions/ctype-cntrl.xml:1.2 phpdoc/en/reference/ctype/functions/ctype-cntrl.xml:1.3 --- phpdoc/en/reference/ctype/functions/ctype-cntrl.xml:1.2 Wed Apr 17 02:37:03 2002 +++ phpdoc/en/reference/ctype/functions/ctype-cntrl.xml Wed Feb 25 05:19:05 2004 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- !-- splitted from ./en/functions/ctype.xml, last change in rev 1.1 -- refentry id=function.ctype-cntrl refnamediv @@ -17,6 +17,34 @@ a special control function, false; otherwise. Control characters are e.g. line feed, tab, esc. /para +para + example + titleA functionctype_cntrl/function example/title + programlisting role=php +![CDATA[ +?php +$strings = array('string1'