Implementation of algorithms in PHP and C++.