Re: Re: Conflicting function IDs
| From: | Hannes Magnusson | Date: | Fri, 23 Nov 2007 19:29:33 +0000 |
| Subject: | Re: Re: Conflicting function IDs | ||
| References: | 1 2 3 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969378361@lists.php.net to get a copy of this message | ||
On Nov 23, 2007 8:09 PM, Philip Olson <philip@roshambo.org> wrote:
>
> On Nov 23, 2007, at 8:01 AM, Edward Z. Yang wrote:
>
> > Hannes Magnusson wrote:
> >> In PHP6 we have a function (in ext/unicode) named
> >> locale_get_default()
> >> In PHP5 we have a function (in pecl/intl) also named
> >> locale_get_default() (compatibility layer (I guess) for ext/unicode).
> >
> > Wouldn't that cause problems for people wanting to use intl and PHP6?
No. That function only exists in the 5_x branches of pecl/intl, not HEAD/6
I however learned that pecl/intl will probably be bundled with 5_3, so
I assume it'll be in HEAD too and ext/unicode removed.
> > (or do namespaces also work on built-in functions?)
AFAIK it should, yes. But I don't know if anyone has tried yet.
> Are there official rules for this topic in pecl+php-src land?
No. But there are few street-rules where "stop releasing pecl packages
when my extension gets bundled" is at the top *sigh* :)
-Hannes