Hi,
I’d like to have something like
but that’s not allowed, so my question is, should I use a standard or static property instead?
I’d like to have something like
Code:
class MyClass
{
const HASH = array(…);
}
Code:
class MyClass
{
private static $HASH = array(…);
// or
private $HASH = array(…);
}
Comment