This shouldn't be demeaning of PHP, I use it myself for hobby backend stuff.
Just know what you're in for.
Of course there's no generally "good" language, but each has its strengths and weaknesses and thus applications it is more or less suited for.
I think Python is a decent start to get the...