reference/ctype/functions/ctype-alnum.xml
e20e74073379710a4f6316734c42996c8fbf9beb
...
...
@@ -11,12 +11,11 @@
11
11
&reftitle.description;
12
12
<methodsynopsis>
13
13
<type>bool</type><methodname>ctype_alnum</methodname>
14
-
<methodparam><type>string</type><parameter>text</parameter></methodparam>
14
+
<methodparam><type>mixed</type><parameter>text</parameter></methodparam>
15
15
</methodsynopsis>
16
16
<para>
17
-
Checks if all of the characters in the provided string,
18
-
<parameter>text</parameter>, are alphanumeric. In the standard
19
-
<literal>C</literal> locale letters are just <literal>[A-Za-z]</literal>.
17
+
Checks if all of the characters in the provided <type>string</type>,
18
+
<parameter>text</parameter>, are alphanumeric.
20
19
</para>
21
20
</refsect1>
22
21

...
...
@@ -29,6 +28,8 @@
29
28
<listitem>
30
29
<para>
31
30
The tested string.
31
+
&note.ctype.parameter.integer;
32
+
&note.ctype.parameter.non-string;
32
33
</para>
33
34
</listitem>
34
35
</varlistentry>
...
...
@@ -41,6 +42,7 @@
41
42
<para>
42
43
Returns &true; if every character in <parameter>text</parameter> is either
43
44
a letter or a digit, &false; otherwise.
45
+
&ctype.result.empty-string;
44
46
</para>
45
47
</refsect1>
46
48

...
...
@@ -81,6 +83,7 @@ The string foo!#$bar does not consist of all letters or digits.
81
83
<member><function>ctype_alpha</function></member>
82
84
<member><function>ctype_digit</function></member>
83
85
<member><function>setlocale</function></member>
86
+
<member><function>IntlChar::isalnum</function></member>
84
87
</simplelist>
85
88
</para>
86
89
</refsect1>
87
90