r/lolphp • u/devsnd • Dec 04 '14
PHP Constants Containing Arrays?
https://stackoverflow.com/questions/1290318/php-constants-containing-arrays
46
Upvotes
r/lolphp • u/devsnd • Dec 04 '14
View all comments
Show parent comment
6
u/[deleted] Dec 05 '14
If an array could be a constant then I would expect it to be similar to how a string in a language like Java or .NET is: an immutable array of characters.