Re: Function autoloading
| From: | Ilya Sher | Date: | Sun, 18 Apr 2004 10:59:06 +0000 |
| Subject: | Re: Function autoloading | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-9337@lists.php.net to get a copy of this message | ||
Luna Kid wrote:
[snip]
(I bet anyone a dead rat that *lots* of authors of simple plugin-based designs (not needing real OOP stuff) would welcome function autoloading. In fact, many of us, I'm sure, had wondered cluelessly about how to do it with __autoload, before wondering cluelessly about why was that support omitted after all...) Thanks again, Sz.I've actually impemented something very similar in PHP. Thereis list of funcs with the filenames they reside. (List is compacted.) The limitation if my implementation is that each func. may only have one argument so i just pass a hash and use extract().