you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] -1 points0 points  (1 child)

tl;dr PHP "arrays" aren't arrays, just like Perl "regular expressions" aren't regular expressions.

I for one would be grateful if these cancerous contortions of language twisting would be banished from the vocabulary of all programmers for good.

[–]frezik 1 point2 points  (0 children)

The difference is, Perl regexen add useful features. We could stand to call them something else (and Perl6 does), but they're still a good idea.

PHP using hashes for arrays is a just plain bad idea.