Re: [RFC] Function Autoloading (mark 5)
| From: | Tim Düsterhus | Date: | Sat, 20 Jun 2026 13:14:06 +0000 |
| Subject: | Re: [RFC] Function Autoloading (mark 5) | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-131426@lists.php.net to get a copy of this message | ||
Hi
Am 2026-06-17 16:47, schrieb Rowan Tommins [IMSoP]:
The concern that occurred to me is similar: if I rely on function autoloading, but forget to fully-qualify a name in the current namespace, it would accidentally work as long as some other code triggered loading of that function first. Then some small refactoring - or even a different path through the code at runtime - and it will silently fall back to a function in the global namespace instead.Agreed on this being a non-starter for the proposal for me. Best regards Tim Düsterhus