I am from Java background and sort of new to PHP.
I am wondering whether there is a PHP equivalent to Java's "==" operation which basically checks whether two references are referring to the exact same underlying object. (PHP's == and === are more like Java's equals method, which is checking whether both underlying objects have the same value)
Clarification: My question is not about the differences between == and === in PHP nor how to compare values in PHP. I am looking for a way to see whether 2 variables are referring to the same object/memory address. The same object/memory address means that when I update variable $a, $b also needs to be updated and vice versa because $a and $b are referring to the same thing.