Re: [RFC] Deprecations for PHP 8.6
| From: | Gina P. Banyard | Date: | Tue, 23 Jun 2026 11:18:59 +0000 |
| Subject: | Re: [RFC] Deprecations for PHP 8.6 | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-131500@lists.php.net to get a copy of this message | ||
On Tuesday, 23 June 2026 at 08:53, Muhammed Arshid KV <arshidkv12@gmail.com> wrote:
> 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
If you provide me with text proposal (ideally in DokuWiki format, but markdown is fine) I'm
happy to include it in the bulk RFC.
I will however not be writing it myself.
Best regards,
Gina P. Banyard