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 this

Which "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
[EMAIL PROTECTED]   http://www.zend.com/
(408)253-8829   MSN: [EMAIL PROTECTED]

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to