As far as web programming goes, avoid PHP like a disease it is about to go extinct, research Javascript and Node.js and learn that. This is somewhat new, and it runs Javascript on both the server side and the browser/client side. The exact same Javascript engine as runs within Chrome (Google "v8" Javascript engine) runs on the server side, everything is just as event-oriented and asynchronous as it is in a browser, which is a HUGE plus. That way, you don't have to "switch gears" like you would with PHP on the server side, and Javascript (the only REAL choice) on browser-side. Everything connects up much more predictably and there are no issues with data types being different, and they even have this thing called Angular which lets you 'bind' data on both sides, so you almost don't even have to do any of what I'd call "heavy lifting" (wiring up the XHR/Ajax requests, getting PHP to output some sort of structure that Javascript will consume without indigestion, debugging both sides, usually simultaneously and awkwardly... stuff that just wastes your time when you could be actually creating something). Node.js is as close to Legos as anything I've ever used, and I've been wishing for something really viable like that forever. My company discovered it and finally took it seriously about 2 months ago and we have ended all future developments using PHP, and even are porting all our current systems and code over to Node.js... yes it is THAT good.
Previous to now, you could have called me a PHP evangelist, but no longer. Previous to PHP my favorite was Perl, and my least favorite language is Python. I have been coding professionally for around 18 years, and as a hobby previous to that since I can remember (maybe 27 years total? since I was 10 years old or so, BASIC and then later on 6502 assembly, on a Commodore 64). Just so you know I'm not just hating on PHP on an ill-informed whim.