What framework is used in Magento?

What framework is used in Magento?