Re: Re: __autoloading and functions
| From: | Stanislav Malyshev | Date: | Mon, 11 Sep 2006 20:42:20 +0000 |
| Subject: | Re: Re: __autoloading and functions | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-25619@lists.php.net to get a copy of this message | ||
> In either of the above cases, you specify where a function belongs, both
> where it's defined, and where it's used (either through full qualification,
> or a shorter one, using "import"). I'm not arguing for a function to
> "magically" become a part of a class/module/whatever, if you thought so
>
Then the question is how do you think this function would be used?
Because it seems to me it might promote writing very strange code with
too much
magic in it.
--
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/