On Thu, 2014-11-20 at 09:11 -0700, Levi Morrison wrote:
> > So I'm -1 on this.
> 
> I just want to make sure I understand you correctly: you are saying
> you are voting no on this RFC because a tool, which is not part of
> this RFC but we kindly provide, doesn't detect when a certain thing is
> called?

It is a non-trivial change. Fixing this is not always as some people
might suggest. If we like it or not there is tons of code out there
depending on this feature. Breaking code, which worked for 15 years,
where we even distribute such code in our main distribution (pear.phar
is full of it) is not an option.

And it is not only PHP - just looked at wordpress and there are quite a
few classes in there where PHP 4 style ctors are used.and which aren't
marked final/public and as such are part of the API, meaning that WP
modules might depend on that. Consequence there is that once the feature
is removed WP users need a new major WP version and new versions of
modules before they can upgrade. This will lead to very slow adoption of
a new PHP version.

We can deprecate it in 7 (and fix code in our distribution) and then
take a next step in a later version, though. This gives folks like WP
time to update their codebase and be ready when our larer version comes
out.

johannes



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

Reply via email to