Re: array_key_exists BC break
| From: | Stanislav Malyshev | Date: | Fri, 21 Nov 2008 08:54:53 +0000 |
| Subject: | Re: array_key_exists BC break | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-42004@lists.php.net to get a copy of this message | ||
Hi!
Hmm, I really think we should simply maintain BC 100% but using the newBC 100% makes little sense - why usort can accept object but sort can't? And functions like next/prev are useless with many types of objects. Especialy think this through for the next
bigger release (presumably PHP 6.0) and come up with a set of interfaces for objects that allow them to more sensibly work with functions.We already have set of interfaces. They aren't just used consistently. And that's a bug. We shouldn't let BC to prevent us from fixing bugs. Especially BC with things that were never documented to work at the first place and are working in half of functions and don't work in others without any logical order. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com