cvs: phpdoc /en/reference/ctype/functions ctype-alnum.xml

From: Date: Tue, 21 Oct 2003 08:40:23 +0000
Subject: cvs: phpdoc /en/reference/ctype/functions ctype-alnum.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969356675@lists.php.net to get a copy of this message
et Tue Oct 21 04:40:23 2003 EDT Modified files: /phpdoc/en/reference/ctype/functions ctype-alnum.xml Log: Changed the wrong statement about function equivalence. Index: phpdoc/en/reference/ctype/functions/ctype-alnum.xml diff -u phpdoc/en/reference/ctype/functions/ctype-alnum.xml:1.2 phpdoc/en/reference/ctype/functions/ctype-alnum.xml:1.3 --- phpdoc/en/reference/ctype/functions/ctype-alnum.xml:1.2 Wed Apr 17 02:37:02 2002 +++ phpdoc/en/reference/ctype/functions/ctype-alnum.xml Tue Oct 21 04:40:23 2003 @@ -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-alnum"> <refnamediv> @@ -15,8 +15,8 @@ <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>. The function is equivalent - to <literal>(ctype_alpha($text) || ctype_digit($text))</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> See also <function>ctype_alpha</function>, <function>ctype_digit</function>,

« previous php.doc (#969356675) next »