Re: [RFC] Deprecations for PHP 8.6
| From: | Muhammed Arshid KV | Date: | Tue, 23 Jun 2026 07:44:24 +0000 |
| Subject: | Re: [RFC] Deprecations for PHP 8.6 | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-131496@lists.php.net to get a copy of this message | ||
Hi,
I propose deprecating SplFileObject CSV methods like fputcsv, fgetcsv,
setCsvControl, and getCsvControl.
These APIs are complex and hard to maintain, and named arguments expose
design inconsistencies, causing long-standing issues.
We should consider replacing them with a dedicated ext/csv that provides a
cleaner, stream-friendly CSV API.
https://github.com/php/php-src/pull/22160
Regards.
Arshid