In Jave you can define a public static final
variable in a class. Is there an equivalent to this in PHP?
I'd like to do the following:
<?php
class MyClass{
public final static $finalVariable = "something";
}
MyClass::$finalVariable
and not ever have to worry about $finalVariable
changing and not having a new instance for every instantiation of MyClass