Re: Re: [PHP-DEV] 6.0 And Moving Forward
| From: | Sherif Ramadan | Date: | Mon, 16 Jul 2012 06:13:40 +0000 |
| Subject: | Re: Re: [PHP-DEV] 6.0 And Moving Forward | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-61274@lists.php.net to get a copy of this message | ||
> When Adobe moved from Actionscript 2 to Actionscript 3 they placed all
> existing functions into a legacy namespace. Similarly, I believe that
> may be PHP's best shot for smoothing out the API.
>
> Basically, the current function library is moved to the legacy
> namespace. The default setting is import the functions of the legacy
> namespace into the root namespace for BC. But with that setting
> turned off all the existing functions go away to be replaced with a
> designed API, instead of a grown one, correcting the mistakes that
> have accumulated over the years.
>
I could get behind this actually. Not a bad idea.