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

Recommended Answers

All 4 Replies

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 developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.