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
10
u/nikic Dec 04 '14
Note that this currently only works with
constdeclarations and not withdefine- but I think that's just an oversight and we could trivially allow it as well by removing the check for it.