Re: PHP 6.0 Wishlist

From: Date: Sat, 13 Aug 2005 06:25:41 +0000
Subject: Re: PHP 6.0 Wishlist
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-17942@lists.php.net to get a copy of this message
Why would I need name spaces for basic functions, just so that I need to
rename all my code to use str:replace rather then str_replace and
perform 2 hash table lookups?

Ilia

Marco Tabini wrote:
> Hey Ilia,
> 
> On 8/12/05 3:03 PM, "Ilia Alshanetsky" <ilia@prohost.org> wrote:
> 
>>-1 to namespaces. As for modifying functions that would require a fair
>>number of function aliases for BC as untold number of scripts will
>>break. That is something we are trying to eliminate in the first place.
>>
> 
> 
> 
> With namespaces, wouldn't the problem go away altogether? Old function names
> can be deprecated and E_STRICT'ed and a new, uniform naming convention and
> parameter order be enforced for the future. I hate namespaces but this
> sounds like a good solution to me.
> 
> 
> Mt.
> 
> 
> 
> 


Thread (327 messages)

« previous php.internals (#17942) next »