---
title: "[RFC] Function Autoloading (mark 5)"
url: https://daily.dev/posts/rfc-function-autoloading-mark-5--6pgfvjdjo
source_url: https://externals.io/message/131399
type: article
source: "externals.io"
published: 2026-06-19T04:12:47.753Z
updated: 2026-06-19T04:13:08.273Z
tags: ["php"]
reading_time: 5
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# [RFC] Function Autoloading (mark 5)

**[externals.io](https://daily.dev/sources/externals)** · 5 min read · 0 upvotes · 0 comments

## Summary

Paul M. Jones has submitted a 5th RFC attempt to add function autoloading to PHP (RFC: function-autoloading-five-oh, PR #22337). The mailing list discussion raises key design concerns: whether the autoloader should make a second call with the global namespace when a namespaced function isn't found, potential for namespace hijacking (e.g., a global function silently overriding a library's unqualified function call), and whether a `declare()` directive at the file level should be required to explicitly control how unqualified function names are resolved. Jones has shared a draft PR exploring the `declare()` approach and is soliciting community feedback.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://externals.io/message/131399>

## Similar posts on daily.dev

- [\[RFC\] Function Autoloading \(mark 5\)](https://daily.dev/posts/rfc-function-autoloading-mark-5--vw10c8q5g) · externals.io · 0 upvotes · 0 comments
- [\[RFC\] Function Autoloading \(mark 5\)](https://daily.dev/posts/rfc-function-autoloading-mark-5--3yqzlnae0) · externals.io · 0 upvotes · 0 comments
- [\[RFC\] Function Autoloading \(mark 5\)](https://daily.dev/posts/rfc-function-autoloading-mark-5--yrl7xo56t) · externals.io · 0 upvotes · 0 comments
- [\[RFC\] Function Autoloading \(mark 5\)](https://daily.dev/posts/rfc-function-autoloading-mark-5--zegwyms1l) · externals.io · 0 upvotes · 0 comments
- [\[RFC\] Function Autoloading \(mark 5\)](https://daily.dev/posts/rfc-function-autoloading-mark-5--6wd0w4fa1) · externals.io · 0 upvotes · 0 comments

---

Tags: [#php](https://daily.dev/tags/php)

[View this post on daily.dev](https://daily.dev/posts/rfc-function-autoloading-mark-5--6pgfvjdjo)
