I think connection_test.rar should probably be connection_test.tar.
In any event, understand that PEAR:😃B is really just a factory class. It creates other classes when connect is called. Each database type (mysql, pgsql etc) has it's own class. If you wanted to add functionality then you would have to override each of these classes.
If you already understand all this and you really do just want to tweak the connect method a bit then repost the code as a tar file and I'll take a look.