-- Adam Lundrigan <[email protected]> wrote (on Friday, 16 March 2012, 01:24 PM -0230): > On Thu, Mar 15, 2012 at 6:59 PM, Kevin Schroeder <[email protected]> wrote: > I would go with Wil on this one. We specifically state that 5.2 is the > minimum version and we shouldn’t introduce features that break that, > IMHO. > A minimum version is a minimum version. > > Agreed. We shouldn't provide components that don't match up with ZF's > established minimum requirements. IMO, consistency trumps performance in this > case, so I am in favour of having a userland implementation of > SplPriorityQueue > to fall back on for PHP <5.3
It's pretty clear from the responses so far that this is the direction to take. I've written the implementation at this point, and am working out a few kinks in sorting, but it should "just work" for folks. > One additional Q: will we be able to use anonymous functions with the > EM, as we do in ZF2? I assume that as long as one is running ZF1 on > 5.3+ that will be possible, but I just want to make sure :) Yes -- it simply tests for is_callable(), and Closures and Functors pass that test fine. :) -- Matthew Weier O'Phinney Project Lead | [email protected] Zend Framework | http://framework.zend.com/ PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc -- List: [email protected] Info: http://framework.zend.com/archives Unsubscribe: [email protected]
