As mentioned before, the php.net site have a great content. All the functions is well documented, and with a lot of examples, and with comments from users with code snippets, and others ways to use that function. I like it a lot. Best way to learn how to use a function.
I particulary don't know anything like that in any other language.