appendices/migration74/incompatible.xml
c308ed37a98decb1959ed47dc149a43d6c71ec60
...
...
@@ -83,7 +83,7 @@
83
83
<itemizedlist>
84
84
<listitem>
85
85
<simpara>
86
-
<constant>PASSWORD_DEFAULT</constant> was int 1; now is &null;
86
+
<constant>PASSWORD_DEFAULT</constant> was int 1; now is string '2y' (in PHP 7.4.0, 7.4.1, and 7.4.2 it was &null;)
87
87
</simpara>
88
88
</listitem>
89
89
<listitem>
...
...
@@ -213,7 +213,7 @@
213
213
In particular, an <classname>Error</classname> is thrown if the number of
214
214
requested bytes is less than or equal to zero, and an <classname>Exception</classname>
215
215
is thrown if sufficient randomness cannot be gathered.
216
-
The <literal>$crypto_strong output</literal> argument is guaranteed to always
216
+
The <literal>$crypto_strong</literal> output argument is guaranteed to always
217
217
be &true; if the function does not throw, so explicitly checking it is not necessary.
218
218
</para>
219
219
</sect2>
...
...
@@ -249,6 +249,12 @@
249
249
supported and resulted in corrupted reflection objects. It has been
250
250
explicitly prohibited now.
251
251
</para>
252
+

253
+
<para>
254
+
The values of the class constant of <classname>ReflectionClassConstant</classname>,
255
+
<classname>ReflectionMethod</classname> and <classname>ReflectionProperty</classname>
256
+
have changed.
257
+
</para>
252
258
</sect2>
253
259

254
260
<sect2 xml:id="migration74.incompatible.spl">
...
...
@@ -278,7 +284,8 @@
278
284
</listitem>
279
285
<listitem>
280
286
<simpara>
281
-
Potentially others working on object properties as a list.
287
+
Potentially others working on object properties as a list,
288
+
e.g. <function>array_walk</function>.
282
289
</simpara>
283
290
</listitem>
284
291
</itemizedlist>
285
292