Notifications
Clear all
Topic starter 27/10/2024 6:07 pm
What is static class and method in PHP?
Topic starter 27/10/2024 6:07 pm
What is static class and method in PHP?Definition and Usage
The static keyword is used to declare properties and methods of a class as static. Static properties and methods can be used without creating an instance of the class. The static keyword is also used to declare variables in a function which keep their value after the function has ended.