Updated to allow implementation as as singleton instance
You can now instantiate DBPDO as a singleton for memory & performance across your implementation using the following:
$db = DBPDO::getInstance(DB_HOST, DB_NAME, DB_USER, DB_PASS);
You can now instantiate DBPDO as a singleton for memory & performance across your implementation using the following:
$db = DBPDO::getInstance(DB_HOST, DB_NAME, DB_USER, DB_PASS);