I access my MySQL database via PDO. I\'m setting up access to the database, and my first attempt was to use the following:
The first thing I thought of is glob
I don't see any point to this at all. If you implemented the class in such a way that the connection string was taken as a parameter to the constructor and maintained a list of PDO objects (one for each unique connection string) then maybe there would be some benefit, but the implementation of singleton in this instance seems like a pointless exercise.