reference/ctype/functions/ctype-punct.xml
e20e74073379710a4f6316734c42996c8fbf9beb
...
...
@@ -14,10 +14,10 @@
14
14
&reftitle.description;
15
15
<methodsynopsis>
16
16
<type>bool</type><methodname>ctype_punct</methodname>
17
-
<methodparam><type>string</type><parameter>text</parameter></methodparam>
17
+
<methodparam><type>mixed</type><parameter>text</parameter></methodparam>
18
18
</methodsynopsis>
19
19
<para>
20
-
Checks if all of the characters in the provided string,
20
+
Checks if all of the characters in the provided <type>string</type>,
21
21
<parameter>text</parameter>, are punctuation character.
22
22
</para>
23
23
</refsect1>
...
...
@@ -31,6 +31,8 @@
31
31
<listitem>
32
32
<para>
33
33
The tested string.
34
+
&note.ctype.parameter.integer;
35
+
&note.ctype.parameter.non-string;
34
36
</para>
35
37
</listitem>
36
38
</varlistentry>
...
...
@@ -43,6 +45,7 @@
43
45
<para>
44
46
Returns &true; if every character in <parameter>text</parameter>
45
47
is printable, but neither letter, digit or blank, &false; otherwise.
48
+
&ctype.result.empty-string;
46
49
</para>
47
50
</refsect1>
48
51

...
...
@@ -83,6 +86,7 @@ The string *&$() consists of all punctuation.
83
86
<simplelist>
84
87
<member><function>ctype_cntrl</function></member>
85
88
<member><function>ctype_graph</function></member>
89
+
<member><function>IntlChar::ispunct</function></member>
86
90
</simplelist>
87
91
</para>
88
92
</refsect1>
89
93