Re: solving the namespace conflict issues between function/static method class constant/ns constant

From: Date: Sun, 21 Sep 2008 00:25:27 +0000
Subject: Re: solving the namespace conflict issues between function/static method class constant/ns constant
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-40586@lists.php.net to get a copy of this message
Steph Fox schreef:
Seems like a winner. Just a whole ton of BC though for those using # for comments.
Yep, so forget it. Or were you doing a Jani? ;)
It seems to hav escaped everyone that Greg's latest proposal doesn't change the namespace seperator token, instead it comes with a new concept of namespace member [token]. ambiguity related to the 'use' statements remains regardless of what the namespace seperator is ... therefore the proposal for a new operator that allows to explicitly reference namespace members: <?php use my#funky#namespace#strlen; // is this aliasing a class, function or namespace? strlen(); // is this interal strlen() or namespaced function? ?> and obviously BC dictates that '#' cannot be considered, but that's moot anyhow.
- Steph


« previous php.internals (#40586) next »