Should I be able to do this:
class X
{
const FOO = 'foo';
const FOOBAR = X::FOO . 'bar';... } ? Because I can't. I get "syntax error, unexpected '.', expecting ',' or ';'". I assume this is because the constants are like statics which can't be initialised by functions etc. but is there really any logic behind this? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

