reference/ctype/functions/ctype-cntrl.xml
e20e74073379710a4f6316734c42996c8fbf9beb
...
...
@@ -11,7 +11,7 @@
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
17
Checks if all of the characters in the provided <type>string</type>,
...
...
@@ -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

...
...
@@ -74,16 +77,12 @@ The string 'string2' does not consist of all control characters.
74
77
</para>
75
78
</refsect1>
76
79

77
-
<refsect1 role="notes">
78
-
&reftitle.notes;
79
-
&note.ctype.parameter.integer;
80
-
</refsect1>
81
-

82
80
<refsect1 role="seealso">
83
81
&reftitle.seealso;
84
82
<para>
85
83
<simplelist>
86
84
<member><function>ctype_print</function></member>
85
+
<member><function>IntlChar::iscntrl</function></member>
87
86
</simplelist>
88
87
</para>
89
88
</refsect1>
90
89