ID:               43048
 User updated by:  lars at strojny dot net
 Reported By:      lars at strojny dot net
 Status:           Open
 Bug Type:         Feature/Change Request
 Operating System: Gentoo Linux
 PHP Version:      5.3CVS-2007-10-19 (snap)
 New Comment:

Same goes for Abstract, btw. Because something like
MyCompany::Component::Abstract should be possible.


Previous Comments:
------------------------------------------------------------------------

[2007-10-19 22:54:17] lars at strojny dot net

Description:
------------
When an application, which uses Company_Component_Interface as a
current naming scheme, is ported to the new namespace support, it would
not be possible to use the following:
<?php
namespace Company::Component;
interface Interface
{
...
}
This is because interface (or Interface) is a reserved keyword. It
would be really helpful, if Interface would be an allowed class name.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=43048&edit=1

Reply via email to