Just like in C++ is it possible to initialize class constant in the constructor?
Similar to C++ it'd look like:
class Abc
{
const WIDTH;
public __constructor($width):WIDTH($width) //WIDTH gets assigned here and is immutable
{
//I know syntax may not be ok but is anything similar possible in PHP?
}
}