|
Posted by turnitup on 10/18/07 09:20
Rik Wasmus wrote:
> On Tue, 16 Oct 2007 21:12:05 +0200, turnitup <same@same> wrote:
>> Any idea why this fails in a class declaration?
>
> RTFM
>
> http://www.php.net/manual/en/language.oop5.basic.php
> "The default value must be a constant expression, not (for example) a
> variable, a class member or a function call."
> --Rik Wasmus
Thank you Rik. I knew it could not accept functions, I did not know
about session vars.
Navigation:
[Reply to this message]
|