For a beginner PHP is simple and logical.
We'll have to agree to disagree, because that is not a statement I can accept.
I think you are looking purely at the language itself when what you need to look at is everything from getting started to actually seing it in reality in your browser.
What language is easier?
Yes indeed, PHP is objectively a complete mess of inconsistencies piled atop hacks and seemingly random behaviors.
> What language is easier?
That is a very, very different issue than the original subject.
For a beginner PHP is simple and logical.