Re: Inconsistencies in 5.3
| From: | Stanislav Malyshev | Date: | Wed, 13 Aug 2008 22:30:56 +0000 |
| Subject: | Re: Inconsistencies in 5.3 | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-39938@lists.php.net to get a copy of this message | ||
Hi!
So one more thing. If people either explicitly require all their files up front or make use of a properly designed autoload scheme, they will side step this problem. So maybe the solution indeed is to have thisWhich "this problem"? There's no problem there!
warning with a link to guidelines on how to do this properly. With explicit "upfront" requires and autoload, there is no need to have includes inside classes, except for the scenario of a template engine. Not sure about that one ..Include inside classes work just fine. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com