PHP 8.6 Internals Debate: Deprecations, Primary Constructors, and Time API Updates
The PHP internals community spent the week of July 1, 2026, debating Gina P. Banyard's omnibus deprecations RFC for PHP 8.6, with its first alpha build underway. A central dispute emerged over whether each proposed deprecation requires an impact analysis before voting, with contributors Tim Düsterhus, Rowan Tommins, and Larry Garfield clashing on the issue. Proposals within the RFC included retiring list(), array(), gettype(), open_basedir, and the dechunk filter, each drawing varying levels of support and opposition. Work also continued on the Time\Duration class, with changes to method naming, support for negative durations, and a possible slimmed-down feature set for 8.6. Separately, Rob Landers formally proposed Primary Constructors, citing that up to 40 percent of PHP constructors are empty and that the feature could simplify code in major frameworks like Laravel and Symfony.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in