Projects Directory : code understanding in C++ - Code upgrade to PHP 5.4 - Depreciated