4 ms·
PHP is an unusual situation; for PHP, I would recommend reading bug reports and learning what has not been fixed for years that will bite you badly. Lots more i
by exikyut 9y ago
PHP is an unusual situation; for PHP, I would recommend reading bug reports and learning what has not been fixed for years that will bite you badly. Lots more info here: https://news.ycombinator.com/item?id=15815830 https://news.ycombinator.com/item?id=15815830
If you want an honest appraisal of PHP, you'll find it in the above link.
- lakechfoma 9y agoHa yeah that's been my experience at a smaller scale so far. Why are "arrays" actually key value sets? Not at all intuitive. I figured that out when I used array_unique() only to discover that some index values had gone missing. Of course that function provides no option to "treat $array like an actual array". I found a solution of array_keys(array_flip()) which I read also happens to be faster than array_unique(). Wat.