Why can I assign
$tmpPath = DIRECTORY_SEPARATOR . 'tmp' . DIRECTORY_SEPARATOR;
within a class method but get an PHP Parse error when I trie to assign it to a protected class variable like this:
protected $_tmpPath = DIRECTORY_SEPARATOR . 'tmp' . DIRECTORY_SEPARATOR;
Here is the error log:
PHP Parse error: syntax error, unexpected '.', expecting ',' or ';' in ...