var; } } //A::displayVar(); /*I want this*/ $A = new A(); /*and not like this */ $A->displayVar(); ?>