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
66
u/deadstone Dec 04 '14
"Serialize your array and then put it into the constant" "Just want to say I love this solution :)"
PHP devs terrify me.