One core element of an extension are functions which are exported to the PHP userland Even when you're planning to write object-oriented extensions you are advised to read this chapter as most of the information is valid for methods  too