what is difference between static and final in php?
final is not for class properties, only classes and methods. ... final static declares a method which is static (can be called without an instance of the class) and final (can't be overridden by subclasses). static alone can be used to define a class-scoped variable, which isn't constant (but variables can't be final ).