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            | [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]


Reply via email to