Re: cvs: php4 /pear PEAR.php

From: Date: Sun, 08 Jul 2001 06:48:31 +0000
Subject: Re: cvs: php4 /pear PEAR.php
References: 1  Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-229@lists.php.net to get a copy of this message
On Sat, 7 Jul 2001, Alexander Skwar wrote: > So sprach Tomas V.V.Cox am Sat, Jul 07, 2001 at 02:53:32PM +0200: > > Hey, isn't this defined by the PHP engine itself? > > So, using CVS PEAR with an old version of PHP is not supported? If it > is, the define of the constant should be conditionalized, like so: > > if (!defined("DIRECTORY_SEPERATOR")){ > define("DIRECTORY_SEPERATOR", <whatever>); > } the PEAR.php file is a bit special, I expect that it will be using recent php features most of the time, so using it with older php versions is not supported. it usually works, but it's not how you want to set up your production environment. - Stig > This would allow the use of this module even with older versions of PHP > > Alexander Skwar > -- > How to quote: http://learn.to/quote (german) > http://quote.6x.to (english) > Homepage: http://www.digitalprojects.com | > http://www.iso-top.de > iso-top.de - Die günstige Art an Linux Distributionen zu kommen > Uptime: 1 day 3 hours 30 minutes > > -- > PEAR CVS Mailing List (http://pear.php.net/) > To unsubscribe, e-mail: pear-cvs-unsubscribe@lists.php.net > For additional commands, e-mail: pear-cvs-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.pear.cvs (#229) next »