Reply to Re: Best way of calling multiple classes?

Your name:

Reply:


Posted by Michael Fesser on 08/29/07 09:25

..oO(Phil Latio)

>I had heard of __autoload before but never realised what it did. I did a
>Google after getting the other reply and came across
>http://tobias-demuth.de/en/index.htm which looks interesting. Bit
>frustrating that the author hasn't included some examples and a bit more
>documentation because I don't fully understand how it supposed to work.

I had a look at the code - I wouldn't use it. The code is ugly and has a
really big bug: The function that searches the class tree is called on
every __autoload() call, which pretty much defeats the purpose of having
a cache file. It's easy to fix (just a missing 'else'), but nevertheless
that shouldn't happen.

Micha

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация