Re: [RFC] Function autoloading through spl_autoload*
| From: | Stas Malyshev | Date: | Mon, 15 Aug 2011 07:20:46 +0000 |
| Subject: | Re: [RFC] Function autoloading through spl_autoload* | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-54615@lists.php.net to get a copy of this message | ||
Hi!
On 8/15/11 12:15 AM, Sebastian Krebs wrote:
Imo overriding built-in functions is a WTF... Confusing others by changing the behaviour of well-known functions just sounds scary.So you want also to change namespace semantics...
However, when you really want to do this, than you can load your functions like beforeSo to make your scheme work properly, you need to preload... As I said, not a very good idea. I'm definitely against it. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227