I'm discovering a few really neat things about PHP5 today. Some of these things are really logical, and makes you wonder why it wasn't there in the first place, e.g. consider the following
In PHP5 that works perfectly, but not in PHP4. No, in PHP4 you have to do this
I'm doing exactly the same thing, except it took me two lines. Crazy!