From: [EMAIL PROTECTED]
Operating system: any
PHP version: 4.0.6
PHP Bug Type: Feature/Change Request
Bug description: variables and constants in classnames
it would be nice to have the possibility to create classes with variable or
constants in 'classname' and 'extends'.
eg:
define $myauth="myAuth";
define ("_BASE_AUTH_CLASS", "Base_Auth");
class {$myauth} extends {_BASE_AUTH_CLASS}
{...
etc
This way package delivery and integration would be a lot easier, as they
can presume the existance of already defined classes, and adopt them.
Giancarlo
--
Edit bug report at: http://bugs.php.net/?id=12819&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]