Welcome! Log In Create A New Profile


Re: [PHP-DEV] namespaces and alpha3

Posted by Stefan Walk 
Stefan Walk
Re: [PHP-DEV] namespaces and alpha3
October 13, 2008 11:40AM
On Friday 10 October 2008 19:02:25 Stanislav Malyshev wrote:
> Hi!
> > 3) Stas proposal
> I have two proposals, actually.


> 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.


PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Sorry, only registered users may post in this forum.

Click here to login