[dev] Re: [cvs] commit: horde/lib CLI.php

Jan Schneider jan at horde.org
Wed Jul 16 15:09:09 PDT 2003


Zitat von "Marcus I. Ryan" <marcus at horde.org>:

> The original reason I asked about the minimum level required is we
> could easily use a compare_versions check and do it the most reliable
> way if they have a new enough version, and use a less desirable means
> for the old.  Encourage upgrades, but not require them.  Some updates
> that wouldn't make sense for, but this one is used infrequently
> relative to others.  Should we consider that?

I have absolutely no objections in using stuff from newer versions if it is
available. We do lots of function_exists()/extension_loaded() tests in the
code already (and prefer them over compare_versions() for readability's
sake) and fall back to another solution if not.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft


More information about the dev mailing list