What are the differences between calling a method statically and non-statically in PHP?

When calling a method statically in PHP, you are accessing the method without needing an instance of the class. This means you can call the method using the class name directly. On the other hand, when calling a method non-statically, you need to create an instance of the class and then call the method using that instance.

// Static method call
ClassName::staticMethod();

// Non-static method call
$obj = new ClassName();
$obj->nonStaticMethod();