reference/ctype/functions/ctype-xdigit.xml
e20e74073379710a4f6316734c42996c8fbf9beb
...
...
@@ -13,10 +13,10 @@
13
13
&reftitle.description;
14
14
<methodsynopsis>
15
15
<type>bool</type><methodname>ctype_xdigit</methodname>
16
-
<methodparam><type>string</type><parameter>text</parameter></methodparam>
16
+
<methodparam><type>mixed</type><parameter>text</parameter></methodparam>
17
17
</methodsynopsis>
18
18
<para>
19
-
Checks if all of the characters in the provided string,
19
+
Checks if all of the characters in the provided <type>string</type>,
20
20
<parameter>text</parameter>, are hexadecimal 'digits'.
21
21
</para>
22
22
</refsect1>
...
...
@@ -30,6 +30,8 @@
30
30
<listitem>
31
31
<para>
32
32
The tested string.
33
+
&note.ctype.parameter.integer;
34
+
&note.ctype.parameter.non-string;
33
35
</para>
34
36
</listitem>
35
37
</varlistentry>
...
...
@@ -43,6 +45,7 @@
43
45
Returns &true; if every character in <parameter>text</parameter> is
44
46
a hexadecimal 'digit', that is a decimal digit or a character from
45
47
<literal>[A-Fa-f]</literal> , &false; otherwise.
48
+
&ctype.result.empty-string;
46
49
</para>
47
50
</refsect1>
48
51

...
...
@@ -82,6 +85,7 @@ The string ab12bc99 consists of all hexadecimal digits.
82
85
<para>
83
86
<simplelist>
84
87
<member><function>ctype_digit</function></member>
88
+
<member><function>IntlChar::isxdigit</function></member>
85
89
</simplelist>
86
90
</para>
87
91
</refsect1>
88
92