Re: REPOST: Class Autoloading [PATCH]
| From: | Ivan Ristic | Date: | Sun, 09 Jun 2002 20:45:33 +0000 |
| Subject: | Re: REPOST: Class Autoloading [PATCH] | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-85073@lists.php.net to get a copy of this message | ||
> I believe this has been discussed in the past and not ack'd, please read
> the php-dev archives...
I tried and I tried but I couldn't find a discussion on anything
similar on the mailing list.
The code I sent is *already* in use, and has been in
use for some time now. Take a look at this message from
November 2001:
http://marc.theaimsgroup.com/?l=php-dev&m=100687224711738&w=2
I didn't introduce anything new, so if it was OK then it should be
OK now. Also, the code cannot affect the people that are not using
the feature so I do not think that there will be any kind of impact
on the existing user base.
This feature makes it possible to have one class per file and not
to worry about inclusion at all. It becomes especially useful when
used together with products such as Zend Accelerator, where files
are cached (and you do not have to worry about a large number of
small files).
--
Ivan Ristic, ivanr@webkreator.com
[ Weblog on PHP, Software development, Intranets,
and Knowledge Management: http://www.webkreator.com ]