Sourabh wrote:I am still 22 so do have a long period to go, will PHP give me a sound future.
PHP will
not give you a sound future.
PHP is going to continue to be a useful language well into the future. There's no risk of it vanishing over night or anything. But relying on it to remain dominant forever is stupid and will give you problems at some stage in your career. There
will be a time where PHP is not the right language for what you want to create.
Regardless of what you choose to do, if you want to work in software development for a long time you absolutely
must learn other languages as well.
So, to build on my opening line - PHP
alone will
not give you a sound future; knowing a selection of languages will.
Which languages you choose to learn as well is completely up to you. Whichever ones best suit the sort of software that interests you I guess.