Re: PEAR and PHP 5
| From: | Martin Jansen | Date: | Tue, 08 Apr 2003 15:02:45 +0000 |
| Subject: | Re: PEAR and PHP 5 | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-15036@lists.php.net to get a copy of this message | ||
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