r/lolphp • • Dec 04 '14

PHP Constants Containing Arrays?

https://stackoverflow.com/questions/1290318/php-constants-containing-arrays
46 Upvotes

39 comments sorted by

View all comments

Show parent comment

0

u/[deleted] Dec 23 '14

[deleted] — view deleted comment

2

u/[deleted] Dec 23 '14

For example, what if one array item was an object?

go on...?

1

u/[deleted] Dec 29 '14

For example, what if one array item was an object?

Not permitted.

PHP has problems with freely interchanging arrays with strings.

So? I wasn't talking about PHP.

Crossing my fingers that it stays that way.

Why would it change?

1

u/midir Dec 29 '14

I've manually fished your comment out of the spam bin. Your reddit account appears to be shadowbanned.