In Short we can access only static method like :
MyClass::mystatic();
$obj->mystatic();
if we not declare mystatic() method as static and call it, then it generates error….
In Short we can access only static method like :
MyClass::mystatic();
$obj->mystatic();
if we not declare mystatic() method as static and call it, then it generates error….