Re: [RFC] New core autoloading mechanism with support for function autoloading

From: Date: Wed, 12 Apr 2023 16:24:57 +0000
Subject: Re: [RFC] New core autoloading mechanism with support for function autoloading
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-119976@lists.php.net to get a copy of this message
On Tue, 2023-04-11 at 11:57 +0100, G. P. B. wrote: > No, array_map will trigger the autoloader (actually strlen() will > trigger it once first) and the autoloader should then load the > array_map function from the My namespace. > However, if the autoloader does not correctly load the My\array_map() > function then it will be bound to the global function. Thanks for the clarification, my scenario falls apart now :D LGTM. I hope it will be approved. -- Anton

« previous php.internals (#119976) next »