On Sat, 2005-11-26 at 13:38 +0100, Marcus Boerger wrote:
> Hello Christian,
> 
> Saturday, November 26, 2005, 1:42:07 AM, you wrote:
> > PS: I'd rather have : for namespaces with the whitespace restriction for 
> > ? a:x : b:y than the confusing (escaping characters outside of a 
> > string?) backslash.
> 
> And kill trillions of php scripts, how funny. Think before writing.

It may well be impractical to code for all I know, but surely this is
not technically impossible? As of now I really don't think ? a:x:b:y
works anyway, so what is going to be broken by requiring ? a:x : b:y
when the ternary operator is used with namespaced expressions?

I do think just about anything is preferable to \ as namespace
separator. Be imaginative; it can be two characters, like :>. Unless
that has some collision with the > operator that I cannot see, or there
is no two character separator that is less generally undesirable than \.
I think three character separators would be taking the search too far,
though :)

Matt

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to