Hello Rasmus, Friday, November 25, 2005, 11:15:36 PM, you wrote:
> Jessie Hernandez wrote: >> Hi Marcus, >> >> Marcus Boerger wrote: >>> Hello Jessie, >>> >>> that's only one case,go with consts. now try >>> $x = $y ? foo:bar:baz:stupid; >>> >>> now what? >>> >>> best regards >>> marcus >>> >> >> Here it'll fail. My patch is basically allowing colons inside the >> class/function/constant name, so whitespace here is _crucial_, i.e., the >> following example WOULD work: >> >> $x = $y ? foo:bar : baz:stupid; > Forcing whitespace here isn't an option. It is completely inconsistent > with the rest of PHP. And it is the main reason we dropped namespaces last time. Best regards, Marcus -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php