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

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

Reply via email to