• If you do configuration right, it's better in XML. Configuration should be declarative rather than imperative; the example given is better in PHP than in XML, but that's because it's a terrible thing to put into a configuration file. If we're talking about release automation look at maven, which uses XML and does it a million times better than everything else I've seen.