Fixed PHP-858: Crash when extending Mongo and MongoClient classes and not calling its constructor