Re: PEAR and PHP 5

From: Date: Tue, 08 Apr 2003 15:48:24 +0000
Subject: Re: PEAR and PHP 5
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-15041@lists.php.net to get a copy of this message
If this has been previously discussed please excuse me. What things can I be doing to my PHP4 apps to make the jump to PHP5 as painless as possible? Admittedly I'm out of the PHP5 loop right now. --Tony On 8 Apr 2003, Martin Jansen wrote: > On Tue, 2003-04-08 at 11:04, Stig S. Bakken wrote: > > IMHO, the most difficult issue we're facing here is how to migrate from > > PHP 4 to PHP 5 gracefully. I believe that forking everything will cause > > havoc. That would be basically splitting the community in two, where > > the "PHP 5 guys" would fork packages working in PHP 4 and add all kinds > > of ZE2 candy without caring about the PHP 4 users. It would suck if PHP > > 5 users could not use PHP 4 PEAR packages out of the box (it would most > > likely work, but any changes that we do in the standards could break > > it), because that _will_ lead to forking. And since I've convinced you > > all that forking is evil by now, you should all buy this idea: > > > > What we could do is to always bundle ext/tokenizer in PHP 5 and > > re-format symbols in PHP 4 PEAR code during install. The purpose of > > this is to provide forward compatibility, so PHP 5 users can use PEAR > > packages written for PHP 4, without having to worry about re-writing any > > code when the package finally "goes 5". > > Sounds like good stuff. Just one question: How do you want to let the > code look like, if ZE2 does not come with the syntactic sugar in form of > a single colon in namespaces? Use underscores instead? > > - Martin > > -- Tony Bibbs "I guess you have to remember that those who don't tony@tonybibbs.com hunt or fish often see those of us who do as harmlessly strange and sort of amusing. When you think about it, that might be a fair assessment." --Unknown

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