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 …

PHP HashMap Implementation

A few days ago I have started working on a PHP library for algorithms and data structures. PHPAlgorithms is still in progress and thus has a early beta status. But today, I have pushed the first data structure which is nearly full done: PHP HashMap Implementation. A HashMap is characterized among others by its key-value … read more …