php/php-src — pull request #179 by reeze (2012-08-30 17:58:03+00:00)
Title: Fixed bug #62976 (Notice: could not be converted to int when comparing s...

Hi, this is a proposal patch for bug #62976 https://bugs.php.net/bug.php?id=62976

It's really surprised to get a true when two different classes's instances was equal,
even they can't be cast.

If both of the objects can't be casted to compare, they are not equal.
Maybe this could be thought as a request :)