"Arjen Brouwer" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
> Should'nt this work? Currently it reports an error about a undefined
constant.
>
> <?
> class Test {
>     const FOO = 100;
>     var $bar = FOO;
> }
>
> $Test = new Test;
> echo $Test->bar;
> ?>
>
> Ciao,
> Arjen
>

IMHO it should.

Cristiano Duarte.



-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to