What is the main difference between PHP 4 and PHP 5?

The main important difference between PHP4 and PHP5 is that, in PHP4 everything was passed by value, including objects. But in PHP5 all objects are passed by reference