Okay, but those effectively don't exist in PHP ;)

Julien

On Tue, Dec 20, 2011 at 11:43 PM, David Muir <davidkm...@gmail.com> wrote:

> On 12/21/2011 03:37 AM, jpauli wrote:
> > I guess constant array would mean that all the variables inside the array
> > dimensions should not change.
> > Just saying that, is a nonsense.
> >
> > If a constant could be an array, then that array could not contain
> > variables, if not it wouldn't be constant any more as a change to one
> > variable inside it would change its own meaning value.
> >
> > Julien.P
> >
> >
>
> A constant can only contain static values. There was no mention of
> variables.
>
> Isn't a "constant" array basically the same as an Enum?
>
> David
>

Reply via email to