I would like to use this line of code:
$this->ClassInstance::$StaticVariable;
Where this is the basic setup:
Class foo{
public static $StaticVariable;
}
$this->ClassInstance = new foo();
What is the reasoning behind this being a parse error?
When this:
$ClassInstance = $this->ClassInstance;
$ClassInstance::$StaticVariable;
Is perfectly valid.