|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-05-31 10:46 UTC] andrey@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 20:00:01 2025 UTC |
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