ALthough it's still currently 'to do', the following will work as of 0.9
$environment = new Zend_Environment(new Zend_Environment_Core
('framework'));
if ($environment->framework->isVersion('0.9')) {
....
}
- the only method I am not sure about yet is Zend::compareVersion()
but
I bet we will find a solution for this as well
--
Simon Mundy | Director | PEPTOLAB
""" " "" """""" "" "" """"""" " "" """"" " """"" " """""" "" "
202/258 Flinders Lane | Melbourne | Victoria | Australia | 3000
Voice +61 (0) 3 9654 4324 | Mobile 0438 046 061 | Fax +61 (0) 3 9654
4124
http://www.peptolab.com