ADnoctum wrote:
Hello to everyone. First time here and already I have a question: PHP
has static classes?.
[..]
Test.hello();
Now I have a variable "Test" wich is a class that canot be
instantiated nor inherited. Can I do that in PHP?.
PHP has static method calls with class::method()
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
2 matches
Mail list logo