Skip to content

Commit b35a226

Browse files
authored
[PHP 8.4] intl changes part 1. (#4160)
1 parent 2474b97 commit b35a226

File tree

3 files changed

+77
-1
lines changed

3 files changed

+77
-1
lines changed

reference/intl/dateformatter/create.xml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,14 @@
144144
</para>
145145
</refsect1>
146146

147+
<refsect1 role="errors">
148+
&reftitle.errors;
149+
<simpara>
150+
A <exceptionname>ValueError</exceptionname> is thrown if
151+
<parameter>locale</parameter> is invalid.
152+
</simpara>
153+
</refsect1>
154+
147155
<refsect1 role="changelog">
148156
&reftitle.changelog;
149157
<para>
@@ -156,6 +164,15 @@
156164
</row>
157165
</thead>
158166
<tbody>
167+
<row>
168+
<entry>8.4.0</entry>
169+
<entry>
170+
<simpara>
171+
A <exceptionname>ValueError</exceptionname> is thrown if
172+
<parameter>locale</parameter> is invalid.
173+
</simpara>
174+
</entry>
175+
</row>
159176
<row>
160177
<entry>8.1.0</entry>
161178
<entry>

reference/intl/numberformatter/create.xml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,14 @@
9292
</para>
9393
</refsect1>
9494

95+
<refsect1 role="errors">
96+
&reftitle.errors;
97+
<simpara>
98+
A <exceptionname>ValueError</exceptionname> is thrown if
99+
<parameter>locale</parameter> is invalid.
100+
</simpara>
101+
</refsect1>
102+
95103
<refsect1 role="changelog">
96104
&reftitle.changelog;
97105
<informaltable>
@@ -103,6 +111,15 @@
103111
</row>
104112
</thead>
105113
<tbody>
114+
<row>
115+
<entry>8.4.0</entry>
116+
<entry>
117+
<simpara>
118+
A <exceptionname>ValueError</exceptionname> is thrown if
119+
<parameter>locale</parameter> is invalid.
120+
</simpara>
121+
</entry>
122+
</row>
106123
<row>
107124
<entry>8.0.0</entry>
108125
<entry>

reference/intl/resourcebundle/get.xml

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@
6363
</para>
6464
</refsect1>
6565

66-
6766
<refsect1 role="returnvalues">
6867
&reftitle.returnvalues;
6968
<para>
@@ -73,6 +72,49 @@
7372
</para>
7473
</refsect1>
7574

75+
<refsect1 role="errors">
76+
&reftitle.errors;
77+
<simpara>
78+
A <exceptionname>TypeError</exceptionname> is thrown if
79+
the offset type is invalid.
80+
</simpara>
81+
<simpara>
82+
A <exceptionname>ValueError</exceptionname> is thrown if
83+
if <parameter>index</parameter> is a <type>string</type>
84+
and is empty or is a <type>int</type> and does not
85+
fit into a 32 bit integer type.
86+
</simpara>
87+
</refsect1>
88+
89+
<refsect1 role="changelog">
90+
&reftitle.changelog;
91+
<informaltable>
92+
<tgroup cols="2">
93+
<thead>
94+
<row>
95+
<entry>&Version;</entry>
96+
<entry>&Description;</entry>
97+
</row>
98+
</thead>
99+
<tbody>
100+
<row>
101+
<entry>8.4.0</entry>
102+
<entry>
103+
<simpara>
104+
A <exceptionname>TypeError</exceptionname> is thrown if
105+
the offset type is invalid.
106+
A <exceptionname>ValueError</exceptionname> is thrown if
107+
if <parameter>index</parameter> is a <type>string</type>
108+
and is empty or is a <type>int</type> and does not
109+
fit into a 32 bit integer type.
110+
</simpara>
111+
</entry>
112+
</row>
113+
</tbody>
114+
</tgroup>
115+
</informaltable>
116+
</refsect1>
117+
76118
<refsect1 role="examples">
77119
&reftitle.examples;
78120
<example>

0 commit comments

Comments
 (0)