Now days, whenever I want to find out how to code something in one language or another, I just google it. I don't get documentation from anywhere else.
I'm pretty sure that the only reason PHP made it was because the online documentation was so high quality, so accessible, an so searchable.
Whatever language will be popular next better have really good, very googable documentation.