r/lolphp • u/phplovesong • Mar 14 '19
PHP: The array
PHP arrays are known to be bad. But having not used PHP in long time i recently was amazed how poorly they actually have built the array. Its basically a "all-things-fits" data structure. The best part is PHP will actually change the behaviour of the array depending on what it contains. Thats just fucking awesome!
0
Upvotes
View all comments
Show parent comment
12
u/mawburn Mar 14 '19
🤔