Hacker News new | ask | show | jobs
by Will_Parker 3117 days ago
The lack of distinction between array vs hashtable isn't a big deal. Array as a map from integers to items works fine in practice. Even speaking of algorithm performance, it's fine for the uses you have on a web server. (Any other use of PHP is clearly insane. :) )

You speak like someone who hasn't worked much in PHP. When you do, a lot of quirks and flaws really bother you and slow down during everyday tasks, but the ones you mentioned aren't they.

1 comments

> a lot of quirks and flaws really bother you and slow down during everyday tasks

Would you mind sharing a few that bother you? q

The fact that `false` isn't always false. Or that '0' or 0 or null are all 'false'.

There's a bunch more quirks in Zend Framework that I use every day that are much worse than all the rest of PHP though.