reference/intl/intlchar/chr.xml
1976eae0d815797af97a1e16c5cd90ffc2868395
...
...
@@ -1,6 +1,5 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-

4
3
<refentry xml:id="intlchar.chr" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>IntlChar::chr</refname>
...
...
@@ -9,15 +8,15 @@
9
8

10
9
<refsect1 role="description">
11
10
&reftitle.description;
12
-
<methodsynopsis>
13
-
<modifier>public</modifier> <modifier>static</modifier> <type>string</type><methodname>IntlChar::chr</methodname>
14
-
<methodparam><type>mixed</type><parameter>codepoint</parameter></methodparam>
11
+
<methodsynopsis role="IntlChar">
12
+
<modifier>public</modifier> <modifier>static</modifier> <type class="union"><type>string</type><type>null</type></type><methodname>IntlChar::chr</methodname>
13
+
<methodparam><type class="union"><type>int</type><type>string</type></type><parameter>codepoint</parameter></methodparam>
15
14
</methodsynopsis>
16
15
<para>
17
16
Returns a string containing the character specified by the Unicode code point value.
18
17
</para>
19
18
<para>
20
-
This function compliments <function>IntlChar::ord</function>.
19
+
This function complements <function>IntlChar::ord</function>.
21
20
</para>
22
21
</refsect1>
23
22

...
...
@@ -36,7 +35,7 @@
36
35
<refsect1 role="returnvalues">
37
36
&reftitle.returnvalues;
38
37
<para>
39
-
A string containing the single character specified by the Unicode code point value.
38
+
A string containing the single character specified by the Unicode code point value, or &null; on failure.
40
39
</para>
41
40
</refsect1>
42
41

...
...
@@ -58,7 +57,7 @@ foreach ($values as $value) {
58
57
<screen>
59
58
<![CDATA[
60
59
string(1) "A"
61
-
string(1) "A"
60
+
string(1) "?"
62
61
string(1) "{"
63
62
string(3) "☃"
64
63
]]>
...
...
@@ -71,13 +70,13 @@ string(3) "☃"
71
70
<para>
72
71
<simplelist>
73
72
<member><function>IntlChar::ord</function></member>
73
+
<member><function>mb_chr</function></member>
74
74
<member><function>chr</function></member>
75
75
</simplelist>
76
76
</para>
77
77
</refsect1>
78
78

79
79
</refentry>
80
-

81
80
<!-- Keep this comment at the end of the file
82
81
Local variables:
83
82
mode: sgml
84
83