reference/ctype/functions/ctype-alpha.xml
e20e74073379710a4f6316734c42996c8fbf9beb
...
...
@@ -11,10 +11,10 @@
11
11
&reftitle.description;
12
12
<methodsynopsis>
13
13
<type>bool</type><methodname>ctype_alpha</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,
17
+
Checks if all of the characters in the provided <type>string</type>,
18
18
<parameter>text</parameter>, are alphabetic.
19
19
In the standard <literal>C</literal> locale letters are just
20
20
<literal>[A-Za-z]</literal> and <function>ctype_alpha</function> is
...
...
@@ -33,6 +33,8 @@
33
33
<listitem>
34
34
<para>
35
35
The tested string.
36
+
&note.ctype.parameter.integer;
37
+
&note.ctype.parameter.non-string;
36
38
</para>
37
39
</listitem>
38
40
</varlistentry>
...
...
@@ -45,6 +47,7 @@
45
47
<para>
46
48
Returns &true; if every character in <parameter>text</parameter> is
47
49
a letter from the current locale, &false; otherwise.
50
+
&ctype.result.empty-string;
48
51
</para>
49
52
</refsect1>
50
53

...
...
@@ -85,6 +88,7 @@ The string arf12 does not consist of all letters.
85
88
<member><function>ctype_upper</function></member>
86
89
<member><function>ctype_lower</function></member>
87
90
<member><function>setlocale</function></member>
91
+
<member><function>IntlChar::isalpha</function></member>
88
92
</simplelist>
89
93
</para>
90
94
</refsect1>
91
95