You need to call "new" operator to create the object.

Thank you,

RAY HUNTER



-----Original Message-----
From: Jay [mailto:[EMAIL PROTECTED]]
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

Reply via email to