Hey Paul,

On 17.6.2026 00:09:18, Paul M. Jones wrote:
Hi all,

This is (by my count) a 5th attempt at adding function autoloading to PHP.

- RFC: https://wiki.php.net/rfc/function-autoloading-five-oh
- PR:  https://github.com/php/php-src/pull/22337

Looking forward to the discussion around this one!


-- pmj


What is the motivation to not do a second call to the function autoloaders with "bar" (global namespace) when "bar()" is being called in the Foo namespace and the initial call with "Foo\bar" doesn't resolve to anything?

That would probably have much less rough edges, completely sidestepping the issue here with Foo\bar() not being found.


Thanks,
Bob

Reply via email to