ASPit - Totally ASP JSit - Totally JavaScript
Search PHPit

Use this textbox to search for articles on PHPit. Seperate keywords with a space.


If only PHP5 was more wide spread

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

get_obj ('my_obj')->do_something();

In PHP5 that works perfectly, but not in PHP4. No, in PHP4 you have to do this

$my_obj = get_obj ('my_obj');

I'm doing exactly the same thing, except it took me two lines. Crazy!

Leave a Reply