Skip to content

Commit d174121

Browse files
authored
FILE_BINARY and FILE_TEXT were deprecated in PHP 8.1 (#4003)
1 parent 05bd66d commit d174121

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

reference/filesystem/constants.xml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -307,12 +307,11 @@
307307
<listitem>
308308
<para>
309309
Binary mode.
310-
<note>
311-
<para>
312-
This constant has no effect, and is only available for
313-
<literal>forward compatibility</literal>.
314-
</para>
315-
</note>
310+
<warning>
311+
<simpara>
312+
This constant has no effect, and is deprecated as of PHP 8.1.0.
313+
</simpara>
314+
</warning>
316315
</para>
317316
</listitem>
318317
</varlistentry>
@@ -325,12 +324,11 @@
325324
<listitem>
326325
<para>
327326
Text mode.
328-
<note>
329-
<para>
330-
This constant has no effect, and is only available for
331-
<literal>forward compatibility</literal>.
332-
</para>
333-
</note>
327+
<warning>
328+
<simpara>
329+
This constant has no effect, and is deprecated as of PHP 8.1.0.
330+
</simpara>
331+
</warning>
334332
</para>
335333
</listitem>
336334
</varlistentry>

0 commit comments

Comments
 (0)