RE: [PEAR-DEV] php5 compatibility
| From: | Stefan Neufeind | Date: | Mon, 12 Jan 2004 14:48:44 +0000 |
| Subject: | RE: [PEAR-DEV] php5 compatibility | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-25005@lists.php.net to get a copy of this message | ||
On Mon, 12 Jan 2004 at 10:51:58, Lukas Smith wrote:
> > From: Stefan Neufeind [mailto:stefan@neufeind.net]
> > Sent: Monday, January 12, 2004 10:49 AM
>
> > On Mon, 12 Jan 2004 at 10:38:53, Lukas Smith wrote:
> >
> > > I would like to ask every maintainer to test their package with php5.
> > > This is important for 2 reasons:
> > >
> > > 1) our user base will start using php5
> > > 2) we can help find compatibility issues in php5 before they bite our
> > asses
> > >
> > > One of the more annoying BC breaks was apparently fixed:
> > > http://bugs.php.net/bug.php?id=24687
> > >
> > > See this mail for reference:
> > >
> > > http://marc.theaimsgroup.com/?l=php-dev&m=107384634108877&w=2
> >
> > For sure it would be great to test every package with php5. However, is
> > there
> > something in the works so packages can be marked:
> > - php4-only
> > - php4/php5 (both)
> > - php5-only
> > ? This has been mentioned before on the list. But I wonder if the core-
> > team /
> > website-team has yet agreed on a common way to do this.
>
> Well this is already there. You simply have to make the necessary
> dependencies. However the information would also be nice to have as a filter
> in the browser/search.
>
> > Also, will the installer take care of this (e.g. test "I'm running on php5
> > - so
> > I won't install php4-only-packages without forcing")?
>
> Dependencies
>
> > And while we're at it:
>
> <snip>
>
> Dependencies
I know that "deps" is a good default-answer :-) But in connection with
php4/php5-compatibility I have a problem with this. For all packages which
currently have a problem with php5 do you want to demand a new release which
has deps:
php ge 4.0
php lt 5.0
(meaning php with any version 4.x)? Do you want to demand such a "cosmetic"-
release for all current packages? Otherwise the installer would have no chance
to see which packages have been tested (and been approved working) with php 5.x
or not.
Stefan