The Daily Commit · Section Edition Front Page PHP AI Dev EN DE FR ES

The Php Times

RFC Watch — Ecosystem

Voting opens on PHP's fifth function autoloading RFC


Paul M.

PHP INTERNALS ([RFC]/[VOTE]), July 30, 2026 curated by Sönke

Jones has opened the vote on the Function Autoloading (mark 5) RFC for PHP. Voting runs two weeks and closes automatically at 14:45 UTC on Thursday, 13 August 2026. The proposal addresses concerns about shadowed global functions, noting they are rare in practice and easily mitigated.

Paul M. Jones has opened the voting phase for the Function Autoloading (mark 5) RFC, as announced on the PHP internals mailing list. The proposal is documented on the PHP wiki under the name function-autoloading-five-oh and represents the fifth attempt at introducing an autoloading mechanism for functions, analogous to the class autoloading PHP has long supported.

The vote runs for two weeks and closes automatically at 14:45 UTC on Thursday, 13 August 2026.

Jones directly addresses a recurring objection: the case of shadowed global functions, where a namespaced function call could unexpectedly resolve to a global function. According to the RFC, such cases exist in principle but are extremely rare in practice, and the few affected codebases can be mitigated easily. A dedicated section of the wiki page covers how common the shadowed-global case actually is.

Read the original source ↗

Rate this article: 0

Readers’ Forum

No contributions yet — open the debate.

← Ecosystem — Page B1

"All the Code That's Fit to Ship" · The Daily Commit · Screen edition · Imprint · Privacy Policy