Andi Gutmans wrote:
> Regarding BC breakage. I'm not saying we shouldn't break BC in some
> cases, but in many cases, there's no big advantage (except for some
> people's warm and fuzzy feelings), and it can cause a lot of heart aches
> and disruption in PHP use. 

It's always a tricky balance and I agree with Andi and Dmitry on this
particular one.  There are plenty of places where a BC break might be
warranted, but we really have to pick our spots very carefully,
communicate the change and provide clear and simple examples showing
people how their code should be fixed.  The number of times we can do
this is limited and the number of areas we can touch is limited.

People seem to have latched onto this $ref =& $this issue for some
reason.  Is this really a place where you want to use up some of our BC
breaking karma points?  I really don't see this particular point as
being much of a problem.  It's somewhat dangerous code in PHP5, but
certainly not illegal in itself.  And while much PHP 4 OOP code will
need to be fixed to run in PHP 5 that is a different issue from the
ability to write OOP code that has a chance of working in both.  For
dangerous, but technically legal code, throwing a warning seems like the
best option to me.

So, let's pick our battles in a sane and organized manner and give
people a feasible migration path.

-Rasmus

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

Reply via email to