Re: PEAR and PHP versions

From: Date: Wed, 15 May 2002 07:54:55 +0000
Subject: Re: PEAR and PHP versions
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-6093@lists.php.net to get a copy of this message
On Tue, 14 May 2002 22:20:51 -0600 (MDT), Eric wrote: >Is there a specific version of PHP with which PEAR modules should try to >be compatible. It should be compatible with the latest stable that is available. >I'm planning on extending Net::Socket a little bit, but i >noticed that some of the PHP functions i'll need are only available in PHP >4.1 or higher. I will certainly wrapper the functions with a call to check >version one way or the other, but I was wondering if there were any set >guidelines in place? If your package requires a certain PHP version, you can indicate, that PHP > 4.x.x is required by using the following tags in your package.xml: <deps> <dep type="php" rel="ge" version="4.x.x" /> </deps> If you want to create wrapper functions, that's nice, but there is no real need for it. - Martin -- Martin Jansen, <mail@martin-jansen.de> http://www.martin-jansen.de/

« previous php.pear.dev (#6093) next »