Re: namespaces and alpha3
| From: | Stefan Walk | Date: | Mon, 13 Oct 2008 09:37:02 +0000 |
| Subject: | Re: namespaces and alpha3 | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-40949@lists.php.net to get a copy of this message | ||
On Friday 10 October 2008 19:02:25 Stanislav Malyshev wrote:
> Hi!
>
> > 3) Stas proposal
>
> I have two proposals, actually.
[snip]
> 2. Leave functions/constants as they are now, and add the following syntax:
> Class::Name->method()
> for calling static methods (and referring to class constants), so that
> there would be a way to disambiguate calls in (rare, IMHO) situations
> where ambiguity may arise.
This certainly seems like the best proposal.
Regards,
Stefan