PHP OOP Static Methods.

In PHP, static methods are used so that the developer can use the properties and attributes of a static class in the program anywhere needed.

Code :