Hi,
on the last week's iSeminar Zeev said that in ZE2(php5) there will be new
interesting function
for implementing in userland. Its name will be __autoload(). It will be
called in case the code
wants to instantiate a class that is unknown. The function should
require/include the file where
the im
On Mon, 13 Jan 2003, Brian T. Allen wrote:
> If a hash file were used it would only have to "search" for the function
> once, and even then only in the functions directory (like the include
> directory, but specifically for functions). After that the order would
> be:
>
> 1) Execute the function
onday, January 13, 2003 2:16 PM
> > Subject: Re: [PHP-DEV] Feature Request: Auto Include a Function
> >
> >
> > I'm not a PHP Developer but I see a few problems with this.
>
> I'm not a PHP Developer either, but I use it 12 hours a day in my work.
>
> From: Andrew Brampton [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 13, 2003 2:16 PM
> Subject: Re: [PHP-DEV] Feature Request: Auto Include a Function
>
>
> I'm not a PHP Developer but I see a few problems with this.
I'm not a PHP Developer either, but I
I'm not a PHP Developer but I see a few problems with this.
Since a PHP script is re-evaluated/"compiled" on each execution it would
mean PHP would have to look through all your .php files for this file. This
could be very time consuming, espically since it has to do it every
execution.
Also what