Hello to everyone. First time here and already I have a question: PHP has
static classes?. In C++ I could write:

class {
    void hello(void) {
        cout << "Hello, world!";
    }
} Test;

Test.hello();

Now I have a variable "Test" wich is a class that canot be instantiated nor
inherited. Can I do that in PHP?.

Thanks



-- 
PHP General 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]

Reply via email to