[Docs] Added one PHP and a few XML examples

Not sure it makes sense. Here, we are just explaining how the annotation works by giving its YAML equivalent. And the sentence just before explicitly says so.