Hi,

I've already opened a feature request (#43048) but I feel, that there
need to be a discussion on that topic. The problem is, that the current
pseudo-namespacing used by a huge number of projects (PEAR-style, with
underscores and the related file organisation), could not be easily
ported to namespaces, as the name "Interface" and "Abstract" is not a
valid classname. So something like ...

namespace Zend::Db;
class Abstract {...}

... will not work. Same for ... 

namespace Zend::Db::Adapter;
interface Interface {...}

Nevertheless it would break some syntax highlighting libraries or maybe
the tokenizer extension, I would propose to allow at least "Abstract"
and "Interface" as a class/interface name. This would make porting to
the namespace methodology much easier (I see it quite plainly, a lot of
people would develop cripple names like Intrfce or Abstrct just to make
the PHP parser happy).

cu, Lars

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Reply via email to