[php-src] master: Update NEWS/UPGRADING for SplFileObject deprecations

Gina Peter Banyard <[email protected]>
Newsgroups gmane.comp.php.cvs.general
Message-ID <[email protected]>
Author: Gina Peter Banyard (Girgias)
Date: 2026-08-25T11:10:06+01:00

Commit: https://github.com/php/php-src/commit/ccb6c5f9882f485587df55669dff03ae8beba9da
Raw diff: https://github.com/php/php-src/commit/ccb6c5f9882f485587df55669dff03ae8beba9da.diff

Update NEWS/UPGRADING for SplFileObject deprecations

Changed paths:
  M  NEWS
  M  UPGRADING


Diff:

diff --git a/NEWS b/NEWS
index 497293d89e33..5ca72be50643 100644
--- a/NEWS
+++ b/NEWS
@@ -112,6 +112,12 @@ PHP                                                                        NEWS
   . Fixed incorrect parameter name in sodium_add(), sodium_memcmp(), and
     sodium_compare() length-mismatch error messages. (lacatoire)
 
+- SPL:
+  . The following SplFileObject methods have been deprecated
+    SplFileObject::fgetcsv(), SplFileObject::fputcsv(),
+    SplFileObject::setCsvControl(), and SplFileObject::getCsvControl().
+    (Girgias)
+
 - Standard:
   . Fixed incorrect parameter name in convert_uudecode() warning. (lacatoire)
   . Added support for the "<" and ">" endianness modifiers in pack() and
diff --git a/UPGRADING b/UPGRADING
index ad76c2c2e294..cecec6dbe8d3 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -566,6 +566,12 @@ PHP 8.6 UPGRADE NOTES
     * ArrayIterator::unserialize()
     * ArrayIterator::serialize()
     RFC: https://wiki.php.net/rfc/deprecations_php_8_6#deprecate_arrayiterator_methods_that_inherit_arrayobject_implementation
+  . The following SplFileObject methods are now deprecated
+    * SplFileObject::fgetcsv()
+    * SplFileObject::fputcsv()
+    * SplFileObject::setCsvControl()
+    * SplFileObject::getCsvControl()
+    RFC: https://wiki.php.net/rfc/deprecations_php_8_6#deprecate_splfileobject_csv_methods
 
 - Standard:
   . metaphone() is deprecated.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.