Commit ccb6c5f9882 for php.net

commit ccb6c5f9882f485587df55669dff03ae8beba9da
Author: Gina Peter Banyard <girgias@php.net>
Date:   Tue Aug 25 11:10:06 2026 +0100

    Update NEWS/UPGRADING for SplFileObject deprecations

diff --git a/NEWS b/NEWS
index 497293d89e3..5ca72be5064 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 ad76c2c2e29..cecec6dbe8d 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.