On Wed Nov 9 10:01 PM, [email protected] wrote:
>
> Some would simply say "he only did that because he got 3 proposals
> rejected". Others would say "he is pressuring A to be in PHP". But not.
> I learned the hard way and multiple times to hear a big NO. But at the
> same time, I earn my salary from a language that is lead by people
> that do only what they want, not what the language really needs. PHP
> is a mess, everyone knows it. You have the power to change that, to
> make it right.
spl_autoload_register('SplAutoLoader');
class_exists('Foo'); // Fatal error
is_a('Foo', 'Bar', true); // Fatal error
is_subclass_of('Foo', 'Bar'); // Fatal error
How exactly is PSR-0 making the language better? It's inconsistent with what's
in core.
That said, I don't think there's anything wrong with bringing the className =>
fileMapping convention of PSR-0 in core.
Small political note: I trust decision making in php to people who understand
the internals of the language (on a majority that's the core devs).
Other political note: PSR-0 seems to imply that your 'standard project' should
have a particular directory structure:
https://github.com/lapistano/fig-standards/tree/compatibilityTests/
Is this right, wrong, for the better good?
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php