Re: Hi

From: Date: Mon, 29 Nov 2010 09:54:27 +0000
Subject: Re: Hi
References: 1 2  Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-9550@lists.php.net to get a copy of this message
On Mon, Nov 29, 2010 at 10:31 AM, Hannes Magnússon < hannes.magnusson@gmail.com> wrote: > On Mon, Nov 29, 2010 at 00:51, Loon, Reinier van > <reinier.van.loon@gmail.com> wrote: > > Hello, > > > > I am the lead developer on www.projectpier.org. > > > > Our software makes heavy use of __autoload. I was missing the ability > > to autoload functions in PHP. > > I think the function __autocall would be an asset as well as __include. > > __autocall would be called when a function is called which does not > > exist yet, enabling the developer to write code to dynamically load > > the code. > > __include would be called when an include is requested, enabling the > > developer to write code to dynamically load the file. > > > > I searched the lists.php.net for 'include' to see if such a function > > was requested before. > > I did not find any, so basically I want to write an RFC. > > > > Can you tell me what the proper procedure is for writing an RFC? > > During the namespace discussions, the subject of autoloading functions > came up quite often. > You should check out the namespace docs first, and if that doesn't > have what you want, check the internals@lists.php.net archives. > > If you then end up writing an RFC, let us know which username you used > to register on the wiki and we'll update your karma there. > Creating a new page in the RFC namespace will automatically bring up > the RFC template. > > Larry Garfield submitted a patch for supporting autoloading functions: http://www.mail-archive.com/internals@lists.php.net/msg43992.html Tyrael

« previous php.webmaster (#9550) next »