RE: [PHP] extending a class
| From: | luis | Date: | Thu, 10 Apr 2003 19:39:33 +0000 |
| Subject: | RE: [PHP] extending a class | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-143392@lists.php.net to get a copy of this message | ||
I hope the answer is no.
I wouldn't like to read a piece of code with such a construction :-)
-----Original Message-----
From: Dennis Gearon [mailto:gearond@cvc.net]
Sent: Thursday, April 10, 2003 3:00 PM
To: php-general@lists.php.net
Subject: [PHP] extending a class
Is it possible to extend a class using a variable for the base class?
I.E.
$base_class = 'base';
class new_class extends $base_class{
stuff
}
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php