I feel that if it's going to be backported, it needs to be 5.2.4 compatible.
-H On Mar 15, 2012, at 3:19 PM, Matthew Weier O'Phinney wrote: > Hey, all -- > > As part of the work for 1.12, I'm backporting the EventManager component > from ZF2 to ZF1. In working on it, I realized something: > SplPriorityQueue was not introduced until 5.3.0. > > Since ZF 1.X has a minimum version requirement of 5.2.4, This raises a > question: > > * Do I sniff for 5.3, and, if not present, raise an exception? > (Note: this would mean that we have an exception to the minimum > required PHP version for this particular component.) > > * Or do I create a userland implementation of SplPriorityQueue in PHP > 5.2, and consume this if 5.3 is unavailable? (note: introduces new > code, and will also be less performant) > > Opinions? > > -- > Matthew Weier O'Phinney > Project Lead | matt...@zend.com > Zend Framework | http://framework.zend.com/ > PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc -- List: fw-general@lists.zend.com Info: http://framework.zend.com/archives Unsubscribe: fw-general-unsubscr...@lists.zend.com