What is the difference between XML and PHP?

They have practically nothing in common.

XML is a generic markup language, used to make specific markup languages which describe parts of documents.

PHP is a programming language, used to express logic and process data.
 
Back
Top