string operators for assigning class constants
| From: | Sebastian | Date: | Wed, 20 Feb 2008 22:08:58 +0000 |
| Subject: | string operators for assigning class constants | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-35667@lists.php.net to get a copy of this message | ||
hi,
why isn't it possible to assign class constants like this:
class test
{
const
DIR='dirname'.DIRECTORY_SEPARATOR.'anotherdirname'.DIRECTORY_SEPARATOR;
}
is there some performance issue?
anyone ever tried this or was there a discussion about it? i would find this
very useful.....
greetings