I'm developing an online game (NOT a flash game) and obviously, when a player wants to fight or whatever with another person, but alas that person is offline, I need him to be able to fight the player still, against the code, so to speak. Not really sure which language I would program this is in, so if it's not PHP, please state which it is, if you know.
Probably not enough information yet to say that any one language would definitely be better.
As long as a language can express the necessary algorithm that determines the result and process it quickly enough, then that language is "good enough." However, no one but you right now has any idea what that algorithm is. ;)