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 On Tue, Dec 20, 2011 at 1:28 AM, Qiang Guo <q...@ualberta.ca> wrote: > > Yes, I am wondering too. For mechanism you can refer to the source code, > and can someone explain why we cannot have constant arrays ? > > Qiang > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >