Comparing Objects with PHP

I was working on PHPAlgorithms (again). When trying to implement Graphs (Directed and Undirected), I found out that a node could not be found in the graph although I was sure it was there. After a lot of debugging and reverse engineering, I found out that it is related to how PHP is Comparing Objects: … read more …