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

...
...
@@ -77,17 +80,13 @@ The string *&$() consists of all punctuation.
77
80
</para>
78
81
</refsect1>
79
82

80
-
<refsect1 role="notes">
81
-
&reftitle.notes;
82
-
&note.ctype.parameter.integer;
83
-
</refsect1>
84
-

85
83
<refsect1 role="seealso">
86
84
&reftitle.seealso;
87
85
<para>
88
86
<simplelist>
89
87
<member><function>ctype_cntrl</function></member>
90
88
<member><function>ctype_graph</function></member>
89
+
<member><function>IntlChar::ispunct</function></member>
91
90
</simplelist>
92
91
</para>
93
92
</refsect1>
94
93