PHP 8.6 Deprecates SplFileObject fgetcsv and fputcsv
PHP 8.6 deprecates four SplFileObject CSV methods. The standalone fgetcsv() and fputcsv() functions and the READ_CSV flag are not affected.
Eric L. Barnes
Deprecation notices and the changes behind them. What triggers each one, when it becomes an error, and what to change.
PHP 8.6 deprecates four SplFileObject CSV methods. The standalone fgetcsv() and fputcsv() functions and the READ_CSV flag are not affected.
Eric L. Barnes
PHP 8.6 deprecates return statements inside finally blocks because they can silently replace return values or swallow exceptions.
Eric L. Barnes
PHP 8.6 throws ValueError and TypeError exceptions for invalid arguments that many functions once accepted, truncated, or ignored.
Eric L. Barnes
PHP 8.6 deprecates session handlers missing create_sid() and validateId(), and warns when the class is declared. Laravel's handlers trip it.
Eric L. Barnes
The PHP 8.6 mass deprecation RFC closed with 31 proposals accepted and 4 rejected, including a 23 to 23 tie on list() and a no vote on the dechunk filter.
Eric L. Barnes
Artisan Build's weekly php-internals video covers the 35-ballot PHP 8.6 deprecation vote closing August 10, with list() still short of two-thirds.
Eric L. Barnes