RE: [PHP] Quick Question about Classes
| From: | Ray Hunter | Date: | Thu, 06 Jun 2002 20:24:36 +0000 |
| Subject: | RE: [PHP] Quick Question about Classes | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-101018@lists.php.net to get a copy of this message | ||
You need to call "new" operator to create the object.
Thank you,
RAY HUNTER
-----Original Message-----
From: Jay [mailto:jay@dvdfuture.com]
Sent: Thursday, June 06, 2002 2:22 PM
To: Php-General (E-mail)
Subject: [PHP] Quick Question about Classes
When you define a new class can you do the following?
$className = "Parent";
class $className {
};
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php