Re: alternative to the fopen() hack in autoloaders
| From: | Stanislav Malyshev | Date: | Tue, 10 Nov 2009 20:31:17 +0000 |
| Subject: | Re: alternative to the fopen() hack in autoloaders | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-46011@lists.php.net to get a copy of this message | ||
Hi!
ok .. so your objection to the RFC is solely because it introduces a new language construct?No, my objection is that it is not necessary to introduce a language construct, and the construct introduced is not the right one. If frameworks want to find out if file exists or get its name - we should give them API to do that. If they want just to silence the errors - they already have the construct to do that. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com