PHP Eyes Swift-Style Class Extensions as Deprecation RFC Heads to Vote
At PHP Internals this week, developer Holly Schilling introduced working prototypes for Swift-style class extensions, allowing methods to be added to classes one does not own, sparking the week's most active thread with 26 messages. Inspired partly by a Discord conversation, she published three draft RFCs with implementations, then rewrote all of them within a day after adopting a C#14-style syntax she found more defensible. Meanwhile, Gina P. Banyard locked the deprecations list for PHP 8.6, announcing a vote would begin July 20 with results expected by August 10 to align with the 8.6.0 beta 1 release. A process concern was also raised by Pierre Joye, who noted that proposals frequently cite Discord discussions as their origin despite no accessible php.net Discord reference for those following only official channels. Separately, Paul M. Jones's function autoloading proposal resurfaced for a fifth attempt, while a minor editorial debate emerged over punctuation style in deprecation notices.
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