diff --git a/reference/filesystem/functions/fgetcsv.xml b/reference/filesystem/functions/fgetcsv.xml
index 7e1ba4046dc9..856f305b70db 100644
--- a/reference/filesystem/functions/fgetcsv.xml
+++ b/reference/filesystem/functions/fgetcsv.xml
@@ -88,18 +88,17 @@
It must be a single byte character or the empty string.
The empty string ("") disables the proprietary escape mechanism.
-
+
- Usually an enclosure character is escaped inside
- a field by doubling it; however, the escape
- character can be used as an alternative. So for the default parameter
- values "" and \" have the same
- meaning. Other than allowing to escape the
- enclosure character the
- escape character has no special meaning; it isn't
- even meant to escape itself.
+ Inside an enclosure, the enclosure character can always be escaped by doubling it,
+ resulting in a single enclosure character in the parsed result.
+ The escaped character works differently:
+ If it is followed by an enclosure character then that enclosure character will not be treated as one,
+ however the escaped character itself remains. So for the default parameters, ""
+ inside an enclosure will be parsed into ", while \" inside an
+ enclosure will be parsed into \".
-
+
As of PHP 8.4.0, depending on the default value of
diff --git a/reference/spl/splfileobject/fgetcsv.xml b/reference/spl/splfileobject/fgetcsv.xml
index 7d36981e754f..f149533eb638 100644
--- a/reference/spl/splfileobject/fgetcsv.xml
+++ b/reference/spl/splfileobject/fgetcsv.xml
@@ -55,18 +55,17 @@
SplFileObject::setCsvControl.
An empty string ("") disables the proprietary escape mechanism.
-
+
- Usually an enclosure character is escaped inside
- a field by doubling it; however, the escape
- character can be used as an alternative. So for the default parameter
- values "" and \" have the same
- meaning. Other than allowing to escape the
- enclosure character the
- escape character has no special meaning; it isn't
- even meant to escape itself.
+ Inside an enclosure, the enclosure character can always be escaped by doubling it,
+ resulting in a single enclosure character in the parsed result.
+ The escaped character works differently:
+ If it is followed by an enclosure character then that enclosure character will not be treated as one,
+ however the escaped character itself remains. So for the default parameters, ""
+ inside an enclosure will be parsed into ", while \" inside an
+ enclosure will be parsed into \".
-
+
As of PHP 8.4.0, depending on the default value of