[Docs] Added one PHP and a few XML examples

Proving XML and PHP configuration examples makes sense at all. What do you think about changing the sentence before the code blocks to something like "This is equivalent to the following configuration".

However, these code blocks should then be wrapped inside a ``configuration-block`` to be rendered more nicely (and this should probably also be done with the examples below).