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

Re: PHP 4 and PHP 5 80 80
Re: PHP 4 and PHP 5 80 80

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.