Re: Re: Channels

From: Date: Sat, 19 Jun 2004 00:47:48 +0000
Subject: Re: Re: Channels
References: 1 2 3 4  Groups: php.pear.qa 
Request: Send a blank email to pear-qa+get-1505@lists.php.net to get a copy of this message
Are you talking about having the same tree for many (major) php versions? well in 10 years, phasing out PHP4 code may be realisitic.. I would prehaps consider it more like debian sources, stable (PHP4), unstable (PHP5) -
Do we have to support every upcoming php releases? Or are you thinking about some realtime dependencies? Like I cannot load or run a php5 script using a php4 install?
This may be a reality at a 5 year release cycle, this may not be a big issue. PHP5, if used properly, really looks like another language, trying to kludge it into a PHP4 box may prove futile in the long run.
Then they do not install php5 packages. They cannot even do it using the normal way (only with --force, for now). That doesnt stop my system getting in a mess if I install PHP5, install a few packages then downgrade to PHP4 if things dont work out..) - yes I know doing things sensibly, would prevent issues, but how many end users do you think would make a mess....
if .php5 & .php4 are not going to be to popular (although I think it makes the distinction alot clearer), perhaps /usr/lib/pear5 (default folder for a PHP5 channel) One of the many things that comes across when researching Error returns vs Exceptions (Which is really the key technical difference in PHP5, the rest is really syntactic fluff), is that very few languages implement both.. - If you have exceptions, you use them, if you dont, you use something else. Imagine someone implementing a PEAR_Error type object in C# or Java? - they would get very strange looks.. That said, I've not seen any smart way to deal with Warnings or Soft errors in PHP5+Exceptions yet..
--Pierre


« previous php.pear.qa (#1505) next »