com doc/fr: Apply commit ef88bff8ae0e1c35d577aaca6f812ca06b6f26d3: reference/filesystem/functions/file-get-contents.xml
| From: | George Peter Banyard | Date: | Tue, 26 Jan 2021 17:49:29 +0000 |
| Subject: | com doc/fr: Apply commit ef88bff8ae0e1c35d577aaca6f812ca06b6f26d3: reference/filesystem/functions/file-get-contents.xml | ||
| Groups: | php.doc.fr | ||
| Request: | Send a blank email to doc-fr+get-13537@lists.php.net to get a copy of this message | ||
Commit: 0ffe814268aeabc8aaddf2ac41d7ed516e0f9542
Author: George Peter Banyard <girgias@php.net> Tue, 26 Jan 2021 17:49:29 +0000
Parents: 2909062cad4e7bc11f235b5654ca5ef6cb386f03
Branches: master
Link: http://git.php.net/?p=doc/fr.git;a=commitdiff;h=0ffe814268aeabc8aaddf2ac41d7ed516e0f9542
Log:
Apply commit ef88bff8ae0e1c35d577aaca6f812ca06b6f26d3
file_get_contents() raises warning for directories
Changed paths:
M reference/filesystem/functions/file-get-contents.xml
Diff:
diff --git a/reference/filesystem/functions/file-get-contents.xml
b/reference/filesystem/functions/file-get-contents.xml
index f655b8201c..f705a306be 100644
--- a/reference/filesystem/functions/file-get-contents.xml
+++ b/reference/filesystem/functions/file-get-contents.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: a9a6224ca97531df0a4e4b9b16b59c3f2baf1b09 Maintainer: yannick Status: ready
-->
-<!-- Reviewed: yes -->
+<!-- EN-Revision: ef88bff8ae0e1c35d577aaca6f812ca06b6f26d3 Maintainer: yannick Status: ready
-->
+<!-- Reviewed: no -->
<refentry xmlns="http://docbook.org/ns/docbook"
xml:id="function.file-get-contents" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
@@ -128,6 +128,11 @@
ou si le déplacement à la position <parameter>offset</parameter>
spécifié dans le flux échoue.
</para>
+ <para>
+ Quand <function>file_get_contents</function> est appelé sur un dossier,
+ une erreur de niveau <constant>E_WARNING</constant> est généré sur Windows,
+ et à partir de PHP 7.4 sur les autres systèmes d'exploitation aussi.
+ </para>
</refsect1>
<refsect1 role="examples">