Tuesday, May 15, 2007

2 Things I Don't Like About PHP

1. Not native support for Set.
You'll have to create customized class to support Set.
2. Associative array doesn't always behave like a HashMap.
If you use integers as keys in an associative array, you will get an index not found exception if you try to look up an invalid key.