Javascript is too “general”. I want to learn new classes inside javascript, and create it in a new way and not with old methods such as “timout”.
Regards unity3d - it sounds very nice but it looks very limiting. I’m more interested in web platform (browser based game) and not in a huge 3D game available only in English.
As Scott says, JavaScript is the way to go (seriously, forget PHP for this). I would recommend looking at something like meteor.js
Not only is Meteor entirely real-time (meaning any change to your database is automatically reflected live in the browser), but it uses JavaScript on both the client and server which means that you won’t have to juggle multiple languages and environments.