Re: oldest supported PHP version?
| From: | Tomas V.V.Cox | Date: | Mon, 09 Jun 2003 15:16:44 +0000 |
| Subject: | Re: oldest supported PHP version? | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-17203@lists.php.net to get a copy of this message | ||
----- Original Message -----
From: "Lukas Smith" <smith@backendmedia.com>
To: "'Roman Neuhauser'" <neuhauser@bellavista.cz>;
"'pear-dev'"
<pear-dev@lists.php.net>
Sent: Friday, June 06, 2003 11:07 PM
Subject: RE: [PEAR-DEV] oldest supported PHP version?
> > From: Roman Neuhauser [mailto:neuhauser@bellavista.cz]
> > Sent: Friday, June 06, 2003 11:01 PM
> >
> > What is the oldest version of PHP is PEAR (I'm esp. interested in
> > PEAR::DB) required to run with?
> >
> > I've looked in the PEAR manual, but didn't spot anything relevant.
>
> You should be able to find this information in the package.xml file of
> each package. This file is in the package root in CVS.
>
> It should also be listed on the package homepage. However there were
> some errors in the past, which might result in this listing to be
> incomplete? (dunno if this was fixed actually)
>
> However this information seems to be missing in both PEAR and DB :-/
>
> I think php 4.0.4pl1 would be a good assumption iirc.
>
From go-pear:
// Check if PHP version is sufficient
if (!function_exists("version_compare")) {
die("Sorry! Your PHP version is too old. PEAR and this script requires
at
least PHP 4.1.0 for stable operation.
so I would say that this release is the minimal one that has to be
supported. Anyway, new or missing features could be emulated with if
(!function_exists()), version_compare(), etc.
Tomas V.V.Cox