Jun 22, 2019 in PHP
Q:

How is the comparison of objects done in PHP?

1 Answer

0 votes
Jun 22, 2019

We use the operator '==' to test is two objects are instanced from the same class and have same attributes and equal values. We can test if two objects are referring to the same instance of the same class by the use of the identity operator '==='.

Click here to read more about Loan/Mortgage
Click here to read more about Insurance
...