Re: __autoload alternative

From: Date: Mon, 22 Sep 2008 15:46:10 +0000
Subject: Re: __autoload alternative
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-280696@lists.php.net to get a copy of this message
On Mon, Sep 22, 2008 at 3:09 AM, Aschwin Wesselius <aschwin@illuminated.nl>wrote: > Shelley wrote: > >> Hi all, >> >> Is there any way to auto load a class without using __autoload() function? >> >> As I want to load some classes under different paths, and that caused >> redeclare of __autoload function. >> >> Any suggestions appreciated. >> > > Hi Shelley, > > I believe the PECL automap extension does what you want. wow this is pretty cool, nice tip ;) -nathan

« previous php.general (#280696) next »