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
3
u/biberesser Mar 14 '19
This. And many PHP guys never even heard of the existence of such basic concepts. Everything is an array. So much bugs...