Re: [RFC] Function Autoloading (mark 5)

From: Date: Tue, 16 Jun 2026 22:22:46 +0000
Subject: Re: [RFC] Function Autoloading (mark 5)
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-131334@lists.php.net to get a copy of this message
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

« previous php.internals (#131334) next »