reference/ctype/functions/ctype-cntrl.xml
e20e74073379710a4f6316734c42996c8fbf9beb
...
...
@@ -11,10 +11,10 @@
11
11
&reftitle.description;
12
12
<methodsynopsis>
13
13
<type>bool</type><methodname>ctype_cntrl</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 control characters.
19
19
Control characters are e.g. line feed, tab, escape.
20
20
</para>
...
...
@@ -29,6 +29,8 @@
29
29
<listitem>
30
30
<para>
31
31
The tested string.
32
+
&note.ctype.parameter.integer;
33
+
&note.ctype.parameter.non-string;
32
34
</para>
33
35
</listitem>
34
36
</varlistentry>
...
...
@@ -41,6 +43,7 @@
41
43
<para>
42
44
Returns &true; if every character in <parameter>text</parameter> is
43
45
a control character from the current locale, &false; otherwise.
46
+
&ctype.result.empty-string;
44
47
</para>
45
48
</refsect1>
46
49

...
...
@@ -79,6 +82,7 @@ The string 'string2' does not consist of all control characters.
79
82
<para>
80
83
<simplelist>
81
84
<member><function>ctype_print</function></member>
85
+
<member><function>IntlChar::iscntrl</function></member>
82
86
</simplelist>
83
87
</para>
84
88
</refsect1>
85
89