Re: [PHP] Class constant inconsistency

2009-02-08 Thread Paul M Foster
On Sun, Feb 08, 2009 at 08:04:19PM -0800, leledumbo wrote: > > I've read the docs about class constants and found some inconsistency (at > least according to my knowledge), namely in the following statement: > > "The value must be a constant expression, not (for example) a variable, a > class me

[PHP] Class constant inconsistency

2009-02-08 Thread leledumbo
I've read the docs about class constants and found some inconsistency (at least according to my knowledge), namely in the following statement: "The value must be a constant expression, not (for example) a variable, a class member, result of a mathematical operation or a function call." Questions