Buy a PS3 if you have spare cash, it has built a solid library over the years, plus youll get some "free" games with your PSN Plus subscription, and the games they offer on PS3 have been pretty stellar.
and hence it has less developer side as compared to xbox 360 or one hence, it supports large number of game as compared to ps3.
but Its still worth buying the PlayStation 3 even though its almost eight years old in its life cycle, and there are still games available to purchase both physically and digitally.but personally I would rather prefer xbox other than ps3.