what is the diff. between constant and final keyword in php?
const is the PHP equivalent to a Java final variable. They don't have anything at all in common, and they create completely different kinds of things. const declares a constant. 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).